









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
In the class of computer sciences, we have a special class for the Microcontroller Systems. The main points in these slides are:Digital Converter, Block Diagram, Memory Addresses, Analog-To-Digital Converter, Conversion Command Queues, Interrupt Generation, Successive Approximation, Conversion Modes, Single-Scan Software-Triggered
Typology: Slides
1 / 16
This page cannot be seen from the preview
Don't miss anything!










Conversion Example (single-scan software-triggered)
Conversion Example (continuous-scan timer-triggered)
QADC Conversion Command Word Table (CCW)
Essentially an “Instruction Memory” for the converter
Each entry contains:
The CCW is best accessed as a pointer/array, i.e.
unsigned short * CCW_A = (unsigned short *) 0x304A00; … CCW_A[0] = (unsigned short) 0x00F9;
CCW_A[1] = (unsigned short)0x003F; “End of Queue”
On each scan pass-through, this queue will convert channel AN57 using
QCLK period x 16 sample time, then stop.
You can also access the result queue as a pointer/array
The result of each scan in the CCW will show up in the corresponding entry of the result arrays. (parallel array structure)
From the example earlier: You can get the result of the analog scan at offset 0 from the result reg pointer
value = QADC_RJURR[0];