|
2 | 2 |
|
3 | 3 | # ATMEGA4809 Noise Countermeasures for ADC Applications |
4 | 4 |
|
5 | | -This is an example for noise countermeasures for ADC applications on the ATMEGA4809, this is a general example which is applicable to the whole megaAVR 0-series. |
| 5 | +This is an example for noise countermeasures for ADC applications on the ATMEGA4809, this is a general example which is applicable to the whole megaAVR 0-series. The example code is based on the application note [AN2551](#Related-Documentation) |
6 | 6 |
|
7 | 7 | ## Related Documentation |
8 | 8 |
|
9 | 9 | - [AN2551 - Noise Countermeasures for ADC Applications ](https://www.microchip.com/wwwAppNotes/AppNotes.aspx?appnote=en600674) |
10 | | -- [ATmega4809 Family Product Page](https://www.microchip.com/design-centers/8-bit/avr-mcus/device-selection/atmega4809) |
| 10 | +- [ATmega4809 Device Page](https://www.microchip.com/wwwproducts/en/ATMEGA4809) |
11 | 11 |
|
12 | 12 | ## Software Used |
13 | 13 |
|
14 | | -- [MPLAB X IDE or v5.40 newer](https://www.microchip.com/mplab/mplab-x-ide) |
| 14 | +- [MPLAB X IDE v5.40 or later](https://www.microchip.com/mplab/mplab-x-ide) |
15 | 15 | - [Data Visualizer](https://www.microchip.com/mplab/avr-support/data-visualizer) |
16 | | -- ATmega_DFP 1.4.351 or newer |
| 16 | +- ATmega_DFP 1.4.351 or later |
17 | 17 |
|
18 | 18 | ## Hardware Used |
19 | 19 |
|
20 | | -- ATmega4809 Xplained Pro [(ATMEGA4809-XPRO)](https://www.microchip.com/developmenttools/ProductDetails/ATMEGA4809-XPRO) |
| 20 | +- [ATmega4809 Xplained Pro](https://www.microchip.com/developmenttools/ProductDetails/ATMEGA4809-XPRO) |
21 | 21 |
|
22 | 22 | ## Setup |
23 | 23 |
|
| 24 | +* Connect the ATmega4809 Xplained Pro to your computer with a micro usb cable. |
| 25 | +* The ADC input is mapped to `PD5` and will change the ADC values being sent over UART depending on the voltage applied. |
| 26 | + |
| 27 | +## Operation |
| 28 | + |
24 | 29 | 1. Open `NoiseCountermeasuresforADCApplicationswithmegaAVR0-series.X` in MPLAB |
25 | 30 | 2. Connect the ATmega4809 Xplained Pro to your computer with a micro usb cable. |
26 | 31 | 3. Make sure the kit is selected as the tool to be programmed under project settings |
27 | 32 | 4. Press the make and program button to program the device. |
28 | 33 | 5. Open data visualizer to interact with the virtual comport over UART on the devkit. The baud rate is `19200` |
29 | 34 | 6. Follow Appendix A in [AN2551](#Related-Documentation) for step by step instructions on how to graph the samples |
30 | 35 |
|
31 | | -## Operation |
32 | | - |
33 | 36 | Filtered ADC values will be passed over the UART port, these can be parsed or graphed for a visual understanding of ADC value. |
34 | | -The ADC input is mapped to `PD5` and will change the ADC values being sent over UART depending on the voltage applied. |
35 | 37 |
|
36 | | -## Summary |
| 38 | +## Conclusion |
37 | 39 |
|
38 | | -We have here shown how to get started with the [AN2551 - Noise Countermeasures for ADC Applications](#Related-Documentation) appnote. For more details about the code and theory of operation please inspect the appnote itself. |
| 40 | +We have here shown how to get started with the [AN2551](#Related-Documentation) appnote. For more details about the code and theory of operation please inspect the appnote itself. |
0 commit comments