Successive Approximation Register Analog-to-Digital Converter (SARADC) Digital Interface
36.3
Feature description
36.3.1
Main features
•
Selectable 10-bit or 12-bit data resolution output
•
Up to 96 internal channels, 32 test channels; variable number of analog channels of
each type controlled by parameters
•
4 different conversion timing registers selectable for any channel
•
Mapping of external channel to any internal channel through static programming by
software
•
Shorting of test channel with internal channel through static programming by software
•
Normal conversion with One Shot/Scan modes
•
Injected conversion with One Shot mode
•
Normal conversion with dedicated trigger input
•
Injected conversion with dedicated trigger input
•
2 different abort features that allow to abort either a single channel conversion or chain
conversion
•
Reference selection for each channel
•
Power Down Mode
•
Dedicated data register for each channel, containing the following information:
–
–
–
•
Configurable number of analog watchdogs.
•
Interrupt/DMA support for the following conditions
–
–
36.4
Functional description
Two main conversion types are available within the SARADC digital interface:
•
Normal conversion
•
Injected conversion
36.4.1
Normal channel conversion
This is the normal conversion that the user programs by configuring the normal conversion
mask registers (ICNCMR0–2, TCNCMR). Each channel can be individually enabled by
setting '1' in the corresponding field of these registers. Mask registers must be programmed
before starting the conversion and cannot be changed until the conversion of all the
selected channels ends (MSR[NSTART] bit is reset).
758/2058
10-bit or 12-bit conversion result in one half-word
Status byte which provides some conversion information such as mode of
operation (Normal, Injected), data valid, data overwritten status
Control byte for reference selection, conversion timing parameter selection
End of conversion of single channel for both normal, injected conversions
End of conversion chain for both normal, injected conversions
DocID027809 Rev 4
Need help?
Do you have a question about the SPC572L series and is the answer not in the manual?