1.2.
Conversion
There are three conversion modes available for this module; normal conversion, injected
conversion and CTU triggered conversion. CTU triggered conversion will be explained in the
chapter dedicated to the CTU module, this section is only about normal and injected modes.
1.2.1.
Normal Conversion
A normal conversion can be started from the software by setting the NSTART (Normal Start) bit
of the control register. There are two operating modes available for the normal conversion; one
shot and scan modes.
In one shot mode, a sequential conversion of the channels configured for the normal conversion
is performed only once and the resulting data is stored in data registers. The NSTART bit is reset
once the conversion starts, allowing the software to start another conversion. If the previous
conversion is not finished while a new one is requested, then the new conversion will be done
right after the old one is done.
Figure 65 : Normal conversion flow of channels B, C, D and E (R.M. Rev8 – Fig. 25-2)
In scan mode, the sequential conversion of these channels is continuously executed, NSTART bit
is automatically set once the conversion starts and it is not reset. The software can clear it to
stop the conversion. At the end of each conversion, an End of Conversion interrupt is triggered,
allowing the data to be processed, and at the end of the conversion of the whole sequence, an
End of Chain interrupt is triggered.
1.2.2.
Injected Conversion
Injected conversions can only occur in one shot mode, it interrupts ongoing normal conversions.
Once the conversions of the injected channels are completed, the normal conversion resumes
from where it was left.
Figure 66 : Injected mode illustration (R.M. Rev8 – Fig. 25-3)
This mode can be starter using either the JSTART bit from the software, in a very similar way
with the normal conversion, or using a trigger signal from the PIT 2, having JTRGEN (injected
trigger enable) set. This mode can be configured to start at a rising or falling edge on the signal
coming from PIT (JSTART is automatically set).
Содержание MPC5604B
Страница 1: ...LAAS CNRS Quick Start to MPC5604B Embedded Development Sahin Serdar 21 06 2013...
Страница 31: ...Figure 33 INTC SW HW mode comparison Freescale Tutorial...
Страница 87: ......
Страница 132: ......
Страница 133: ...127 Appendix 2 Pad Configurations...
Страница 134: ......
Страница 135: ......
Страница 136: ......
Страница 137: ......
Страница 138: ......
Страница 139: ......
Страница 140: ......
Страница 141: ...Appendix 3 Peripheral input pin selection...
Страница 142: ......
Страница 143: ...137 Appendix 4 Interrupt Vector Table...
Страница 144: ......
Страница 145: ......
Страница 146: ......
Страница 147: ......
Страница 148: ...Appendix 5 I C Baud Rate Prescaler Values...
Страница 149: ......
Страница 150: ......