20.3.5 Example of Operational Procedure
The example of operational procedure is shown below.
After reset, confirms various reset factor by CGRSTFLG. If the reset factor is not by the oscillation frequen-
cy detect, enable external oscillation, set register to use OFD and enable operation. Reset output must be disa-
bled at this time.
After waiting the OFD operation is started, confirms abnormal status flag, and if there is not abnormal sta-
tus, change to external oscillation clock.
Reset
Enable external oscillation setting
Enable write register
(OFDCR1=0xF9)
OFDSTAT
<OFDBUSY>=”1” ?
Error operation
yes
no
CGRSTFLG
<OFDRSTF>=”0” ?
OFDSTAT
<FRQERR>=”1” ?
no
Error operation
yes
no
yes
Disable reset output
(OFDRST=”0”)
OFD setting
(OFDMN, OFDMX)
Enable OFD operation
(OFDCR2=0xE4)
Disable OFD operation
(OFDCR2=”0x00”)
Enable reset output
(<OFDRST
>
=”1”)
Enable OFD operation
(OFDCR2=0xE4)
Disable write register
(OFDCR1=0x06)
Figure 20-3 Example of operational procedure
TMPM3V6/M3V4
20. Oscillation Frequency Detector (OFD)
20.3 Operational Description
Page 430
2019-02-06
Summary of Contents for TMPM3V4
Page 1: ...32 Bit RISC Microcontroller TX03 Series TMPM3V6 M3V4 ...
Page 2: ... 2019 Toshiba Electronic Devices Storage Corporation ...
Page 7: ...Revision History Date Revision Comment 2019 02 06 1 First Release ...
Page 8: ......
Page 22: ...xiv ...
Page 52: ...TMPM3V6 M3V4 3 Processor Core 3 6 Exclusive access Page 30 2019 02 06 ...
Page 148: ...TMPM3V6 M3V4 7 Exceptions 7 6 Exception Interrupt Related Registers Page 126 2019 02 06 ...
Page 178: ...TMPM3V6 M3V4 9 Input Output port 9 2 Block Diagrams of Ports Page 156 2019 02 06 ...
Page 354: ...TMPM3V6 M3V4 14 Synchronous Serial Port SSP 14 6 Frame Format Page 332 2019 02 06 ...
Page 419: ...TMPM3V6 M3V4 Page 397 2019 02 06 ...
Page 462: ...TMPM3V6 M3V4 21 Watchdog Timer WDT 21 5 Control register Page 440 2019 02 06 ...
Page 544: ......