EasyManua.ls Logo

Cypress FM4 Series - Page 218

Cypress FM4 Series
1102 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
CHAPTER 6: Low Power Consumption Mode
218 FM4 Peripheral Manual, Doc. No. 002-04856 Rev. *E
Figure 4-3 Procedure for Setting Stop Mode (with Main Clock Selected as Master Clock)
Note:
Before making the CPU transit to STOP mode, ensure that the Flash memory automatic
algorithm has terminated.
No
Write 0x1ACC to KEY, 0 to DSTM, 0b10
to STM in STB_CTL register together.
Write 1 to SLEEPDEEP.
End
Start
Execute WFI instruction or WFE
instruction.
USB is used?
Yes
Write 0 SUSPIE in UDCIE register, 1 to
USTP in UDCC register,
0 to UCEN in UCCR register.
CPU transits to Stop mode.
No
UCEN=0?
Yes
No
CAN is used?
Yes
Write 1 to Init in CTRLR register.
Write 0 to RTCE in PMD_CTL register.

Table of Contents

Related product manuals