278
CHAPTER 11 A/D CONVERTER (Successive approximation type)
11.5 Conversion Data Protection Function
The A/D converter of the MB91F109 has a conversion data protection function that
features continuous conversion using DMAC and securing multiple data items.
■
Conversion Data Protection Function
The A/D converter has only one conversion data register. That means that in continuous
conversion mode, new conversion data overwrites the previously stored data in the register
each time one cycle of A/D conversion is finished. The A/D converter has a function to prevent
this problem. If the previously stored data has not been transferred to memory using the DMAC
when conversion is finished, the A/D converter refrains from storing new conversion data in the
register and stops instead.
The A/D converter is released from the stop state after previous data is transferred to memory in
DMA transfer mode.
If previous data has already been transferred when current conversion is finished, the A/D
converter continues conversion without stopping.
<Notes>
The conversion data protection function is affected by the ADCS INT and INTE bits.
The function works only when interrupts are enabled (INTE = 1).
The function does not work when interrupts are disabled (INTE = 0), and conversion data
overwrites the register successively and previous data is lost if A/D conversion is performed
continuously.
If DMA transfer is not used when interrupts are enabled (INTE = 1), the INT bit is not cleared
and therefore the data protection function works and puts the A/D converter in the stopped
state. In this case, clearing the INT bit in the interrupt sequence releases the A/D converter
from the stopped state.
If interrupts are disabled while the A/D converter pauses in DMA operation mode, the A/D
converter works and may update the data register before previous data is transferred.
Restarting the A/D converter in stopped state may lead to loosing the held data.
Figure 11.5-1 shows the Workflow of the data protection function when DMA transfer is used.
Summary of Contents for MB91F109
Page 2: ......
Page 3: ...FUJITSU LIMITED FR30 32 Bit Microcontroller MB91F109 Hardware Manual ...
Page 4: ......
Page 10: ...vi ...
Page 24: ...xx ...
Page 96: ...72 CHAPTER 2 CPU ...
Page 224: ...200 CHAPTER 4 BUS INTERFACE ...
Page 234: ...210 CHAPTER 5 I O PORTS ...
Page 268: ...244 CHAPTER 9 U TIMER ...
Page 290: ...266 CHAPTER 10 UART ...
Page 314: ...290 CHAPTER 12 16 BIT RELOAD TIMER ...
Page 322: ...298 CHAPTER 13 BIT SEARCH MODULE ...
Page 392: ...368 CHAPTER 16 FLASH MEMORY ...
Page 432: ...408 APPENDIX E Instructions F Table E 2 Instruction Formats OP rel11 5 11 ...
Page 448: ...424 APPENDIX E Instructions ...
Page 449: ...425 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Page 458: ...434 INDEX ...
Page 460: ......
Page 461: ...FUJITSU SEMICONDUCTOR FR30 32 Bit Microcontroller MB91F109 Hardware Manual ...