Skip to content

Commit 791cd2e

Browse files
committed
MPAE-19362, ELMCU_TEJ-640: Fixes from Tech Review
1 parent 5ff134f commit 791cd2e

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

README.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
# ATmega4809 Xplained Pro ADC Basics
1212

13-
MegaAVR® 0-series devices feature a 10-bit Successive Approximation register (SAR) Analog-to-Digital Converter (ADC) capable of conversion rates up to 115 ksps. It features a flexible multiplexer, which allows the ADC to measure the voltage at multiple single-ended input pins.
13+
MegaAVR® 0-series devices feature a 10-bit Successive Approximation Register (SAR) Analog-to-Digital Converter (ADC) capable of conversion rates up to 115 ksps. It features a flexible multiplexer, which allows the ADC to measure the voltage at multiple single-ended input pins.
1414

1515
There are four modes we will explore in this example:
1616
* ADC Free-Running mode
@@ -30,7 +30,7 @@ This is an example of how to get started with the ADC on the ATmega4809. This is
3030
- [MPLAB® X IDE v6.25 or later](https://www.microchip.com/mplab/mplab-x-ide)
3131
- [MPLAB® Data Visualizer](https://gallery.microchip.com/packages/MPLAB-Data-Visualizer-Standalone(Windows)/)
3232
- [Studio Data Visualizer](https://www.microchip.com/mplab/avr-support/data-visualizer)
33-
- [XC8 (v3.00)](https://www.microchip.com/mplab/compilers) alternatively [AVR/GNU C Compiler 5.4.0](https://www.microchip.com/mplab/avr-support/avr-and-arm-toolchains-c-compilers) can be used
33+
- [MPLAB® XC8 (v3.00)](https://www.microchip.com/mplab/compilers) alternatively [AVR/GNU C Compiler 5.4.0](https://www.microchip.com/mplab/avr-support/avr-and-arm-toolchains-c-compilers) can be used
3434
- ATmega_DFP 3.3.279 or later
3535

3636
## Hardware Used
@@ -39,21 +39,22 @@ This is an example of how to get started with the ADC on the ATmega4809. This is
3939

4040
## Setup
4141

42-
* Port `PD6` is the ADC channel input, connect a cable here to interract with the ADC
42+
* Port PD6 is the ADC channel input. Connect a cable here to interact with the ADC.
43+
44+
<br><img src="images/atmega4809_xplained_pro.png" width="600">
4345

4446
## Operation
4547

4648
1. Download the zip file or clone the example to get the source code.
4749
2. Open `atmega4809-adc-basics-mplab.X` in MPLAB.
4850
3. Connect the ATmega4809 Xplained Pro to the computer with a micro USB cable.
4951
4. Make sure the kit is selected as the tool to be programmed under project settings.
50-
<br><img src="images/atmega4809_xplained_pro.png" width="600">
51-
5. Press the make and program button to program the device.
52-
6. Open the desired terminal application or Data visualizer and open the serial port associated with the Xplained Pro.
52+
5. Press the **Make and Program** button to program the device.
53+
6. Open the desired terminal application or Data visualizer and access the serial port associated with the Xplained Pro.
5354
<br><img src="images/data_visualizer.png" width="600">
5455

55-
As mentioned in the appnote [AN2573](https://www.microchip.com/en-us/application-notes/an2573) you can change the voltage level of the adc input port and the approximated value will be shown over UART through data visualizer.
56+
The [AN2573](https://www.microchip.com/en-us/application-notes/an2573) application note shows how to adjust the voltage level of the ADC input port, and the corresponding approximated value will be displayed via UART using the Data Visualizer.
5657

5758
## Conclusion
5859

59-
We have here shown how to setup and get started with the ADC basics project. For more details about this example and how the ADC works please see the [AN2573](https://www.microchip.com/en-us/application-notes/an2573) Application Note.
60+
We have here shown how to setup and get started with the ADC basics project. For further information about this example and the functionality of the ADC, refer to the [AN2573](https://www.microchip.com/en-us/application-notes/an2573) application note.

0 commit comments

Comments
 (0)