TX Family TMPM471F10FG Clock Control and Operation Mode Contents Preface ................................. 6 Related Documents ..............................6 Conventions ................................7 Terms and Abbreviations ............................9 Clock Control and Operation Mode ......................10 1.1. Outlines ................................10 1.2. Clock Control ..............................11 1.2.1.
Page 3
TX Family TMPM471F10FG Clock Control and Operation Mode 1.4.2. Detail of Register ................................ 31 1.4.2.1. [CGPROTECT] (CG Write Protection Register) ......................31 1.4.2.2. [CGOSCCR] (Oscillation Control Register)........................31 1.4.2.3. [CGSYSCR] (System Clock Control Register) ....................... 32 1.4.2.4. [CGSTBYCR] (Standby Control Register) ........................33 1.4.2.5.
Page 4
TX Family TMPM471F10FG Clock Control and Operation Mode RESTRICTIONS ON PRODUCT USE ....................... 58 4 / 58 2024-08-30 Rev. 1.0...
Page 5
TX Family TMPM471F10FG Clock Control and Operation Mode List of Figures Figure 1.1 Clock System Diagram ......................12 Figure 1.2 Mode State Transition ......................25 Figure 1.3 NORMAL >>> STOP1 >>> NORMAL Operation Mode Transition ........29 Figure 2.1 TMPM471F10FG ........................40 Figure 2.2 Single Chip Mode ........................
TX Family TMPM471F10FG Clock Control and Operation Mode Preface Related Documents Document name ® ® documentation set for the Arm Cortex Exception Oscillation frequency detector Voltage detection circuit Clock selective watchdog timer Flash memory Datasheet 6 / 58 2024-08-30 Rev. 1.0...
TX Family TMPM471F10FG Clock Control and Operation Mode Conventions ● Numeric formats follow the rules as shown below: Hexadecimal: 0xABC Decimal: 123 or 0d123 - Only when it needs to be explicitly shown that they are decimal numbers. Binary: 0b111 - It is possible to omit the "0b"...
Page 8
TX Family TMPM471F10FG Clock Control and Operation Mode *********************************************************************************************************************** Arm, Cortex and Thumb are registered trademarks of Arm Limited (or its subsidiaries) in the US and/or elsewhere. All rights reserved. *********************************************************************************************************************** All other company names, product names, and service names mentioned herein may be trademarks of their respective companies.
TX Family TMPM471F10FG Clock Control and Operation Mode Terms and Abbreviations Some of abbreviations used in this document are as follows: Analog to digital converter A-ENC32 Advanced encoder input circuit (32-bit) A-PMD Advanced programmable motor control circuit Clock control and operation mode Cyclic redundancy check D-Bus DCode memory interface...
TX Family TMPM471F10FG Clock Control and Operation Mode 1. Clock Control and Operation Mode 1.1. Outlines The clock/mode control block can select a clock gear and prescaler clock, and set the warming-up of oscillator and so on. Furthermore, it has Normal mode and a low-power consumption mode in order to reduce power consumption using mode transition.
TX Family TMPM471F10FG Clock Control and Operation Mode 1.2. Clock Control 1.2.1. Clock Type This section shows a list of clocks: EHCLKIN : The high-speed clock input from the external fosc : A clock generated in the internal oscillation circuit or input from the X1 and X2 pins after being selected by [CGOSCCR]<OSCSEL>.
TX Family TMPM471F10FG Clock Control and Operation Mode 1.2.3. Clock System Diagram The figure below shows a clock system diagram. [CGWUPHCR]<WUON> [CGWUPHCR]<WUPT[15:4]> High-speed ADCLK warming-up timer [CGWUPHCR] [CGSPCLKEN] <WUCLK> <ADCKEN[1:0]> [CGOSCCR]<IHOSC1EN> Peripheral function using fc After reset:oscillation [CGPLL0SEL] DNF, OFD (Target clock) <PLL0ON>...
TX Family TMPM471F10FG Clock Control and Operation Mode 1.2.4. Warming-up Function A warming-up function starts the warming-up timer for high-speed oscillator automatically to secure the oscillation stable time when the STOP1 mode is released. It is also available as a count-up timer which uses the warming-up timer for high-speed oscillator to secure the stability of an external oscillator or an internal oscillator.
TX Family TMPM471F10FG Clock Control and Operation Mode 1.2.4.2. The Directions for Warming-up Timer The directions for a warming-up function are explained. (1) Selection of a clock In a high-speed oscillation, the clock classification (internal oscillation/external oscillation) counted with a warming-up timer is selected by [CGWUPHCR]<WUCLK>.
TX Family TMPM471F10FG Clock Control and Operation Mode 1.2.5.2. The Formula and Example of Setting of PLL Multiplication Value The details of the items of [CGPLL0SEL]<PLL0SET[23:0]> which set up a PLL multiplication value are shown below. Table 1.1 Details of [CGPLL0SEL]<PLL0SET[23:0]> Setup Items of PLL0SET Function Correction...
TX Family TMPM471F10FG Clock Control and Operation Mode The main examples of a setting of [CGPLL0SEL]<PLL0SET[23:0]> are shown below. It multiplies by PLL, and dividing is carried out and the target Clock frequency (f ) is generated for input frequency (fosc). A dividing value is chosen from 1/2, 1/4, and 1/8.
TX Family TMPM471F10FG Clock Control and Operation Mode 1.2.5.4. PLL Operation Start/Stop/Switching Procedure (1) fc setup (PLL stop >>> PLL start) As an fc setup, the example of switching procedure from the PLL stop state to the PLL operation state is as follows.
TX Family TMPM471F10FG Clock Control and Operation Mode 1.2.6. System Clock An internal high-speed oscillation clock or external high-speed oscillation clock (connected oscillator or clock input) can be used as a source of system clock. The system clock consists of "High-speed system clock (fsysh) (maximum 160MHz)" for high-speed operation and "Middle-speed system clock (fsysm) (maximum 80MHz)"...
TX Family TMPM471F10FG Clock Control and Operation Mode Table 1.8 Example of Operating Frequency (fc = 120MHz) Operating frequency (MHz) Operating frequency (MHz) External Built-in External multiplication Maximum by clock gear ratio by clock gear ratio clock oscillation oscillation value frequency PLL = ON PLL = OFF...
TX Family TMPM471F10FG Clock Control and Operation Mode (2) fosc setup (Internal oscillation >>> External clock input) As a fosc setup, the example of switching procedure to the external clock input (EHCLKIN) from an internal oscillator1 (IHOSC1) is shown below. <<...
TX Family TMPM471F10FG Clock Control and Operation Mode 1.2.7. Clock Supply Setting Function This MCU has the clock supply on/off function for the peripheral circuits. To reduce the power consumption, this MCU can stop supplying the clock to the peripheral functions that are not used. Except some peripheral functions, clocks are not supplied after reset.
TX Family TMPM471F10FG Clock Control and Operation Mode 1.3. Operation Mode There are NORMAL mode and a low-power consumption mode (IDLE, STOP1) in this product as an Operation mode, and it can reduce power consumption by performing mode changes according to directions for use. 1.3.1.
TX Family TMPM471F10FG Clock Control and Operation Mode 1.3.1.2. Transition to and Return from Low-power Consumption Mode In order to shift to each low-power consumption mode, the IDLE/STOP1 mode is chosen by standby control register [CGSTBYCR]<STBY[1:0]>, and a WFI (Wait For Interrupt) command is executed. When the transition to the low-power consumption mode has been done by WFI instruction, the return from the mode can be done by the reset or an interrupt generation.
TX Family TMPM471F10FG Clock Control and Operation Mode 1.3.1.4. Peripheral Function State in Low-power Consumption Mode The following Table 1.12 shows the Operation State of the peripheral function (block) in each mode. In addition, after reset release, it will be in the state where a clock is not supplied except for some blocks. If needed, set up [CGFSYSENA], [CGFSYSMENA], [CGFSYSMENB], [CGFCEN], [CGSPCLKEN] and enable clock supply.
TX Family TMPM471F10FG Clock Control and Operation Mode 1.3.2. Mode State Transition Reset After reset, the high-speed oscillator1 (IHOSC1) oscillates. (Note2) Interrupt NORMAL STOP1 Mode Mode (CPU stops except some peripheral functions) Instruction (Note1) Interrupt Instruction IDLE Mode (CPU stops) (Operating peripheral function can be selected) Figure 1.2 Mode State Transition...
TX Family TMPM471F10FG Clock Control and Operation Mode 1.3.2.2. STOP1 Mode Transition Flow Set up the following procedure at switching to STOP1. Because STOP1 mode is released by an interrupt, set the interrupt before switching to STOP1 mode. For the interrupts that can be used to release the STOP1 mode, refer to "1.3.3.1.
TX Family TMPM471F10FG Clock Control and Operation Mode 1.3.3. Return from Low-power Consumption Mode 1.3.3.1. Release Source of Low-power Consumption Mode Interrupt, Non-maskable interrupt, and reset can perform return from a low-power consumption mode. The standby release source which can be used is decided by a low-power consumption mode. It shows the following table about details.
TX Family TMPM471F10FG Clock Control and Operation Mode ● Released by an interrupt request When interrupt cancels a low-power consumption mode, it is necessary to prepare so that interrupt may be detected by CPU. The interrupt used for release in STOP1 mode needs to set up CPU, and needs to set up detection by INTIF.
TX Family TMPM471F10FG Clock Control and Operation Mode 1.3.4. Clock Operation by Mode Transition The clock operation in case of mode transition is shown below. 1.3.4.1. NORMAL >>> IDLE >>> NORMAL Operation Mode Transition CPU stops at IDLE mode. The clock supply to a peripheral function holds a setting state. Please perform operation/stop by the register of each peripheral function, a clock supply setting function, etc.
TX Family TMPM471F10FG Clock Control and Operation Mode 1.4. Explanation of Register 1.4.1. Register List The register related to CG and its address information are shown below. Peripheral function Channel/Unit Base address Clock control and operation mode 0x40083000 Register name Address (Base+) CG write protection register [CGPROTECT]...
TX Family TMPM471F10FG Clock Control and Operation Mode 1.4.2. Detail of Register 1.4.2.1. [CGPROTECT] (CG Write Protection Register) Bit symbol After reset Type Function 31:8 Read as "0" Control write-protection for the CG register (all registers included except this register) PROTECT[7:0] 0xC1 0xC1: CG Registers are write-enabled.
TX Family TMPM471F10FG Clock Control and Operation Mode Note3: When using the oscillator connection, set this bit to "01" (external high-speed oscillator). Note4: To wait stabilizing oscillation of an internal high-speed oscillator1 (IHOSC1), use a warming-up timer and confirm [CGWUPHCR]<WUEF> instead of <IHOSC1F>. 1.4.2.3.
TX Family TMPM471F10FG Clock Control and Operation Mode 1.4.2.4. [CGSTBYCR] (Standby Control Register) Bit symbol After reset Type Function 31:2 Read as "0" Selects a low-power consumption mode. 00: IDLE STBY[1:0] 01: STOP1 10: Reserved 11: Reserved 1.4.2.5. [CGPLL0SEL] (PLL Selection Register for fsys) Bit symbol After reset Type...
TX Family TMPM471F10FG Clock Control and Operation Mode 1.4.2.6. [CGWUPHCR] (High-speed Oscillation Warming-up Register) Bit symbol After reset Type Function Sets the upper 12 bits of the 16 bits of calculation values of the warming-up timer. 31:20 WUPT[15:4] 0x800 About a setup of a warming-up timer, refer to "1.2.4.1. The Warming-up Timer for High-speed Oscillation".
Page 35
TX Family TMPM471F10FG Clock Control and Operation Mode Bit symbol After reset Type Function Clock enable of PORT H IPMENA12 0: Clock stop 1: Clock supply Clock enable of PORT G IPMENA11 0: Clock stop 1: Clock supply Clock enable of PORT F IPMENA10 0: Clock stop 1: Clock supply...
TX Family TMPM471F10FG Clock Control and Operation Mode 1.4.2.8. [CGFSYSMENB] (Supply and Stop Register B for fsysm) Bit symbol After reset Type Function Clock enable of SIWDT IPMENB31 0: Clock stop 1: Clock supply 30:29 Read as "0". IPMENB28 Write as "1". 27:16 Read as "0"...
TX Family TMPM471F10FG Clock Control and Operation Mode Bit symbol After reset Type Function Clock enable of TSPI ch2 IPMENB02 0: Clock stop 1: Clock supply Clock enable of TSPI ch1 IPMENB01 0: Clock stop 1: Clock supply Clock enable of TSPI ch0 IPMENB00 0: Clock stop 1: Clock supply...
TX Family TMPM471F10FG Clock Control and Operation Mode 1.4.2.10. [CGFCEN] (Clock Supply and Stop Register for fc) Bit symbol After reset Type Function 31:25 Read as "0" Clock enable of DNF (INT0 to F) FCIPEN24 0: Clock stop 1: Clock supply 23:21 Read as "0"...
TX Family TMPM471F10FG Clock Control and Operation Mode 2. Memory Map 2.1. Outlines The memory map for TMPM471F10FG is based on the Arm Cortex-M4 (with FPU) processor core memory map. The internal ROM, internal RAM and special function registers (SFR) of TMPM471F10FG are mapped to the Code, SRAM and peripheral regions of the Cortex-M4 (with FPU) respectively.
TX Family TMPM471F10FG Clock Control and Operation Mode 2.2. Bus Matrix The Bus Matrix of TMPM471F10FG consists of a high-speed system clock domain and a middle-speed system clock domain. In the high-speed system clock domain, a CPU core connected to the slave ports (S1 to S3) accesses peripheral functions connected to the master ports (M0 to M8) via symbols (○) or (●) indicating the connection.
TX Family TMPM471F10FG Clock Control and Operation Mode 2.2.2.2. Connection of Peripheral Function Table 2.3 Connection of Peripheral Function Main master master Core Core Core Start address Slave DMAC S-Bus D-Bus I-Bus ✓ 0x4003E000 IA (INTIF) Fault ✓ 0x4003E400 Fault ✓...
TX Family TMPM471F10FG Clock Control and Operation Mode 3. Reset and Power Supply Control 3.1. Outlines Function classification Factor Functional description Reset which occurs at the time of a power supply turning Power on reset on or turning off. LVD reset Reset which occurs below the set-up voltage Cold reset (Reset by turning on a power supply)
TX Family TMPM471F10FG Clock Control and Operation Mode 3.2.1.1. Reset by Power On Reset Circuit (without Using RESET_N Pin) After a supply voltage exceeds the release voltage of a power on reset (POR), internal reset is deasserted after "Internal initialization time" is elapsed. Please increase a supply voltage goes up into an operating voltage range before "Internal initialization time"...
TX Family TMPM471F10FG Clock Control and Operation Mode 3.2.1.2. Reset by RESET_N Pin When turn on a power supply, it can control the timing of reset release by using RESET_N pin. After a supply voltage exceeds the release voltage of a power on reset and even after "Internal initialization time" elapsed, if the RESET_N pin is "Low", internal reset continues.
TX Family TMPM471F10FG Clock Control and Operation Mode In case of RESET_N pin input change from "Low" to "High" before "Internal initialization time" elapses, internal reset signal is released after "Internal initialization time" elapses. Please goes up a supply voltage into an operating voltage range before "Internal initialization time" elapses. The CPU operates after internal reset release.
TX Family TMPM471F10FG Clock Control and Operation Mode 3.2.1.3. Continuation of Reset by LVD When the power supply voltage has not exceeded the LVD release voltage even after "Internal initialization time" elapsed, LVD generates the reset signal and the reset state continues. After the power supply voltage exceeds the LVD release voltage and "LVD detection release time"...
TX Family TMPM471F10FG Clock Control and Operation Mode 3.2.2. Warm Reset 3.2.2.1. Warm Reset by RESET_N Pin When resetting with the RESET_N pin, set the RESET_N pin to "Low" for 17.2 µs or more while the power supply voltage is within the operating range. When the "Low"...
TX Family TMPM471F10FG Clock Control and Operation Mode 3.2.3. Starting in Single Boot Mode Refer to the reference manual "Flash Memory" for details of "Single Boot Mode". 3.2.3.1. Starting by RESET_N Pin When "Low" is inputted to a BOOT_N pin, if reset is released (a RESET_N pin "Low" to "High"), "Single Boot Mode"...
TX Family TMPM471F10FG Clock Control and Operation Mode 3.2.3.2. Starting in Single Boot Mode when Power Supply is Stable When the supply voltage is stable within an operating voltage range, input "Low" to RESET_N pin for reset longer than "Internal processing time", while "Low" is inputted to the BOOT_N pin. And release reset (RESET_N pin to "High").
TX Family TMPM471F10FG Clock Control and Operation Mode 3.2.4. Power On Reset Circuit The power on reset circuit (POR) generates a reset signal when the power is turned on or turned off. Note: The power on reset circuit may not operate correctly due to the fluctuation of the power supply. Equipment should be designed with full consideration of the electrical characteristics.
TX Family TMPM471F10FG Clock Control and Operation Mode 3.2.5. Turning Off and Re-turning on Power Supply When a power supply is turned off, a power supply voltage must be down gentler gradient than Max value of "Power gradient (V )" specified in "Electrical Characteristics". POFF 3.2.5.1.
TX Family TMPM471F10FG Clock Control and Operation Mode 3.2.6.1. Reset Factor and Reset Range Reset factors and the range initialized are shown in Table 3.1. Table 3.1 Reset Factor and Range Initialized Reset factors Cold Warm reset reset Registers and peripheral function <SYS Reset...
TX Family TMPM471F10FG Clock Control and Operation Mode 4. Revision History Table 4.1 Revision History Revision Date Description 2024-08-30 - First release 57 / 58 2024-08-30 Rev. 1.0...
Page 58
Product and the precautions and conditions set forth in the "TOSHIBA Semiconductor Reliability Handbook" and (b) the instructions for the application with which the Product will be used with or for.
Need help?
Do you have a question about the TX TMPM471F10FG and is the answer not in the manual?
Questions and answers