You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,7 +49,7 @@ To program the Curiosity Nano board with this MPLAB X project, follow the steps
49
49
50
50
## Concept
51
51
52
-
This application showcases the capabilities of the CLB peripheral by creating a logic circuit that decodes the waveforms from a rotary encoder. Each time a clockwise or counterclockwise condition is detected, one clock cycle pulse is generated on the corresponding output line (clockwise or counterclockwise). The output signals are routed as clock sources for TMR0 and TMR1, the timers being used to count the ticks. The total numbers of encoder increments is obtained by subtracting the values read from timers.
52
+
This application showcases the capabilities of the CLB peripheral by creating a logic circuit that decodes the waveforms from a rotary encoder. Each time a clockwise or counterclockwise condition is detected, one clock cycle pulse is generated on the corresponding output line (clockwise or counterclockwise). The output signals are routed as clock sources for TMR0 and TMR1, the timers being used to count the ticks. The total numbers of encoder increments is obtained by subtracting the values read from timers. By using timers as counters to store the rotation information, the CPU does not need to monitor the decoder signal and can simply calculate the total rotation since its last check when a new rotation value is needed.
53
53
The decoder circuit implementation is figured in the picture below:
@@ -180,13 +180,13 @@ Below is presented a logic analyzer capture that contains the waveforms correspo
180
180
181
181
<br><imgsrc="./images/demo.png"width="800">
182
182
183
-
**Note:** Follow the steps in the [How to use MPLAB® Data Visualizer](#how-to-use-mplab®-data-visualizer-tbd) section to set up the Data Visualizer so that it can correctly show the text messages through UART1.
183
+
**Note:** Follow the steps in the [How to use MPLAB® Data Visualizer](#how-to-use-mplab®-data-visualizer) section to set up the Data Visualizer so that it can correctly show the text messages through UART1.
184
184
185
185
## Summary
186
186
187
187
This application showcases how to create a quadrature decoder circuit that can detect and count clockwise and counterclockwise pulses on rising and falling edges of the quadrature signals using the CLB peripheral.
188
188
189
-
## How to use MPLAB® Data Visualizer[#TBD]
189
+
## How to use MPLAB® Data Visualizer
190
190
191
191
This section illustrates how to use the MPLAB® X Data Visualizer. This can be applied to any other projects.
192
192
@@ -204,7 +204,7 @@ This section illustrates how to use the MPLAB® X Data Visualizer. This can be a
204
204
5. Press **Start streaming COMx button**. The text messages will appear in the **Terminal** tab.
0 commit comments