Microchip AVR64DD14 Handleiding


Lees hieronder de 📖 handleiding in het Nederlandse voor Microchip AVR64DD14 (22 pagina's) in de categorie Niet gecategoriseerd. Deze handleiding was nuttig voor 27 personen en werd door 2 gebruikers gemiddeld met 4.5 sterren beoordeeld

Pagina 1/22
TB3234
Internal High-Frequency Oscillator Calibration Using the
Auto-Tune Feature
Introduction
Author: Ioan Pop, Microchip Technology Inc.
The purpose of this document is to provide more details on the internal high-frequency oscillator (OSCHF) auto-tune
feature of the AVR® DA MCU (AVR DA) family and how to activate it. The auto-tune feature allows OSCHF to adjust
its frequency, comparing it to an external 32.768 kHz crystal oscillator to better match the desired value.
This document describes four use cases in which the internal high-frequency oscillator will be used to drive the main
clock, each use case containing two scenarios. For the first three use cases the two scenarios are: with auto-tune
feature activated and deactivated. The purpose of the last use case is to check the auto-tune feature against an
incorrect tuning value provided by the user, therefore the two scenarios for the last use case are: incorrect tune value
setting and auto-tune enabled. The switch between the two scenarios is made using the PC7 pin (the on-board SW0
button of the AVR128DA48 Curiosity Nano board). Additionally, the main clock will be output to the CLKOUT pin
(PA7) in order to showcase the auto-tune feature improvement on the OSCHF output frequency precision. The use
cases described in this technical brief are:
•Configure OSCHF to run at 1 MHz and activate/deactivate the auto-tune feature:
The purpose of this use case is to configure the OSCHF to run at 1 MHz and drive the main clock, and enable
frequency output on the CLKOUT pin. Two frequency measurements on the CLKOUT pin will be made using an
oscilloscope - with auto-tune feature activated and deactivated.
•Configure OSCHF to run at 4 MHz and activate/deactivate the auto-tune feature:
The purpose of this use case is to configure the OSCHF to run at 4 MHz and drive the main clock, and enable
frequency output on the CLKOUT pin. Two frequency measurements on the CLKOUT pin will be made using an
oscilloscope - with auto-tune feature activated and deactivated.
•Configure OSCHF to run at 24 MHz and activate/deactivate the auto-tune feature:
The purpose of this use case is to configure the OSCHF to run at 24 MHz and drive the main clock, and enable
frequency output on the CLKOUT pin. Two frequency measurements on the CLKOUT pin will be made using an
oscilloscope - with auto-tune feature activated and deactivated.
•Configure OSCHF to run at 4 MHz with incorrect tuning value:
The purpose of this use case is to configure the OSCHF to run at 4 MHz and drive the main clock, and enable
frequency output on the CLKOUT pin. An error injection will be made to the tune register to check if the auto-
tune mechanism will be able to correct it. Two frequency measurements on the CLKOUT pin will be made using
an oscilloscope - with the incorrect frequency tune input and with auto-tune feature activated
Note:  The AVR128DA48 Curiosity Nano was used for the tests performed and described in this document.
© 2020 Microchip Technology Inc. Technical Brief DS90003234C-page 1
Table of Contents
Introduction ....................................................................................................................................................1
1. Relevant Devices.................................................................................................................................... 3
1.1. AVR® DA Family Overview.......................................................................................................... 3
2. Overview................................................................................................................................................. 4
3. Activating and Testing the Auto-Tune Feature........................................................................................ 5
4. Configure OSCHF to Run at 1 MHz and Activate/Deactivate the Auto-Tune Feature............................ 7
5. Configure OSCHF to Run at 4 MHz and Activate/Deactivate the Auto-Tune Feature.......................... 10
6. Configure OSCHF to Run at 24 MHz and Activate/Deactivate the Auto-Tune Feature........................ 12
7. Configure OSCHF to Run at 4 MHz with Incorrect Tuning Value..........................................................14
8. Conclusion............................................................................................................................................ 16
9. References............................................................................................................................................17
10. Appendix............................................................................................................................................... 18
11. Revision History.................................................................................................................................... 19
The Microchip Website.................................................................................................................................20
Product Change Notification Service............................................................................................................20
Customer Support........................................................................................................................................ 20
Microchip Devices Code Protection Feature................................................................................................ 20
Legal Notice................................................................................................................................................. 20
Trademarks.................................................................................................................................................. 21
Quality Management System....................................................................................................................... 21
Worldwide Sales and Service.......................................................................................................................22
TB3234
© 2020 Microchip Technology Inc. Technical Brief DS90003234C-page 2
1. Relevant Devices
This chapter lists the relevant devices for this document.
1.1 AVR® DA Family Overview
The figure below shows the AVR® DA devices, laying out pin count variants and memory sizes:
• Vertical migration is possible without code modification, as these devices are fully pin and feature compatible.
• Horizontal migration to the left reduces the pin count and therefore, the available features.
Figure 1-1. AVR® DA Family Overview
128 KB
64 KB
32 KB
28
Pins
Flash
AVR64DA28
48
64
32
AVR128DA28
AVR32DA28
AVR128DA32 AVR128DA48 AVR128DA64
AVR64DA32 AVR64DA48 AVR64DA64
AVR32DA32 AVR32DA48
Devices with different Flash memory size typically also have different SRAM.
TB3234
Relevant Devices
© 2020 Microchip Technology Inc. Technical Brief DS90003234C-page 3


Product specificaties

Merk: Microchip
Categorie: Niet gecategoriseerd
Model: AVR64DD14

Heb je hulp nodig?

Als je hulp nodig hebt met Microchip AVR64DD14 stel dan hieronder een vraag en andere gebruikers zullen je antwoorden




Handleiding Niet gecategoriseerd Microchip

Handleiding Niet gecategoriseerd

Nieuwste handleidingen voor Niet gecategoriseerd