Tfm security guidance for sesip profile for arm psa level 2 chip (36 pages)
Summary of Contents for ST STM32H7 3 Series
Page 1
• Debug management. This document describes the minimum hardware resources required to develop an application based on an STM32H743xx or STM32H753xx microcontroller. Reference documents The following documents are available on www.st.com: • STM32H743xx data brief • STM32H753xx data brief •...
AN4938 Power supplies Power supplies Introduction STM32H743/753xx devices require a 1.71 to 3.6 V operating voltage supply (V ), which can be reduced down to 1.62 V by using an external power supervisor and connecting PDR_ON pin to V (refer to the datasheets for details). The digital power can be supplied either by a internal linear voltage regulator or directly by an external supply voltage.
Power supplies AN4938 • When the VDD33USB pin is available, this pin can be used to supply the internal transceiver. In this case, VDD33USB pin should receive a voltage ranging from 3.0 to 3.6 V. If VDD50USB is also available, it must be connected to VDD33USB. As an example, when the device is powered at 1.8 V, an independent 3.3 V power supply can be applied to VDD33USB.
Power supplies AN4938 1.1.3 Battery backup domain Backup domain description To retain the content of the RTC backup registers, backup SRAM, and supply the RTC when is turned off, V pin can be connected to an optional 1.2-3.6 V standby voltage supplied by a battery.
AN4938 Power supplies Power supply scheme Power supplies • = 1.62 to 3.6 V: external power supply for I/Os, Flash memory and system analog blocks such as reset and PLL This power supply is provided externally through VDD pins. VDD pins must be connected to V with external decoupling capacitors: one single tantalum or ceramic capacitor (of 4.7 µF minimum capacitance) for the package and a 100 nF ceramic...
AN4938 Power supplies Reset and power supply supervisor 1.3.1 Power-on reset (POR)/power-down reset (PDR) The devices have an integrated POR/PDR circuitry that allows a proper operation starting from 1.71 V. The devices remain in reset mode when V is below a specified threshold, VPOR/PDR, without the need for an external reset circuit.
Power supplies AN4938 Figure 6. PVD threshold 1.3.3 Analog voltage detector (AVD) The AVD can be used to monitor V power supply by comparing it to a threshold selected through the ALS[1:0] bits of the PWR power control register (PWR_CR1). The threshold value can be configured to 1.7, 2.1, 2.5 or 2.8 V (refer to the devices datasheets for the actual values).
AN4938 Power supplies Figure 7. Reset circuit 1.3.5 Internal reset ON On the packages embedding the PDR_ON pin, the power supply supervisor is enabled by holding PDR_ON high. On the other packages, the power supply supervisor is always enabled. For more details about the internal reset ON, refer to the datasheets. 1.3.6 Internal reset OFF This feature is available only on the packages featuring the PDR_ON pin.
Power supplies AN4938 Figure 8. Power supply supervisor interconnection with internal reset OFF The supply ranges which never go below 1.71 V minimum should be better managed by the internal circuitry (no additional component needed, thanks to the fully embedded reset controller).
AN4938 Power supplies Figure 9. NRST circuitry timing example 1.3.7 Bypass mode The power management unit can be bypassed. This feature can be configured by software. When bypassed, the core power supply should be provided through VCAPx pins connected together. In Bypass mode, the internal voltage scaling is not managed internally, and the external voltage value (1.0 to 1.2 V) must be consistent with the targeted maximum frequency (see datasheet for the actual VOS level).
Alternate function mapping to pins AN4938 Alternate function mapping to pins In order to easily explore the peripheral alternate functions mapping to the pins it is recommended to use the STM32CubeMX tool available on http://www.st.com. Figure 10. STM32CubeMX example screen-shot 18/48 DocID029918 Rev 1...
AN4938 Clocks Clocks Four different clock sources can be used to drive the system clock (SYSCLK): • HSI oscillator clock • CSI oscillator clock. • HSE oscillator clock • Main PLL (PLL) clock The devices have the two following secondary clock sources: •...
Clocks AN4938 3.1.1 External user clock (HSE bypass) In this mode, an external clock source must be provided. The user selects this mode by setting the HSEBYP and HSEON bits in the RCC clock control register (RCC_CR). The external clock signal (square, sinus or triangle) with ~50% duty cycle has to drive the OSC_IN pin while the OSC_OUT pin should be left HI-Z.
AN4938 Clocks Figure 13. LSE external clock Figure 14. LSE crystal/ceramic resonators Figure 14: LSE crystal/ceramic resonators: To avoid exceeding the maximum value of CL1 and CL2 (15 pF) it is strongly recommended to use a resonator with a load capacitance CL ≤...
Clocks AN4938 Clock security system (CSS) The device provides two clock security systems (CSS), one for HSE oscillator and one for LSE oscillator. They can be independently enabled by software. When the clock security system on HSE is enabled, the clock detector is activated after the HSE oscillator startup delay, and disabled when this oscillator is stopped: •...
AN4938 Boot configuration Boot configuration Boot mode selection In STM32H743/753xx microcontrollers, two different boot spaces can be selected through the BOOT pin and the boot base address programmed in the BOOT_ADD0 or BOOT_ADD1 option bytes as shown in the Table Table 1.
1. Resistor values are given only as a typical example. System bootloader mode The embedded bootloader code is located in the system memory. It is programmed by ST during production. It is used to reprogram the Flash memory using one of the following serial interfaces.
Debug management AN4938 Debug management Introduction The host/target interface is the hardware equipment that connects the host to the application board. This interface is made of three components: a hardware debug tool, a JTAG or SW connector and a cable connecting the host to the debug tool. Figure 16 shows the connection of the host to the evaluation board.
AN4938 Debug management STM32H743/753xx, while still allowing enough space to attach the trace port analyzer probe. Refer to Table 3 for a summary of trace pins and GPIO assignment. Table 3. TPIU trace pins Trace pin name Type Description Pin assignment TRACED0 Output Trace synchronous data out 0...
Debug management AN4938 Table 5. SWJ debug port pins JTAG debug port SW debug port SWJ-DP pin name assignment Type Description Type Debug assignment JTAG test mode Serial wire data JTMS/SWDIO PA13 Selection input/output JTCK/SWCLK JTAG test clock Serial wire clock PA14 JTDI JTAG test data input...
AN4938 Debug management 5.3.3 Internal pull-up and pull-down on JTAG pins The devices embed internal pull-ups and pull-downs to guarantee a correct JTAG behavior. The following pins are consequently not left floating during reset and they are configured as follows until the user software takes control of them: •...
Recommendations AN4938 Recommendations Printed circuit board For technical reasons, it is best to use a multilayer printed circuit board (PCB) with a separate layer dedicated to the ground (V ) and another dedicated to the V supply. This provides a good decoupling and a good shielding effect. For many applications, economical reasons prohibit the use of this type of board.
AN4938 Recommendations Figure 18. Typical layout for V pair Other signals When designing an application, the EMC performance can be improved by closely studying: • Signals for which a temporary disturbance affects the running process permanently (the case of interrupts and handshaking strobe signals, and not the case for LED commands).
Reference design AN4938 Reference design Description The reference design shown in Figure 19, is based on the STM32H753XI, a highly ® ® integrated microcontroller that combines the ARM Cortex -M7 32-bit RISC core running at up to 400 MHz with up to 2 Mbyte dual-bank Flash memory and 1 Mbytes of RAM (including 192 Kbytes of TCM RAM, 864 Kbytes of user RAM and 4 Kbytes of backup SRAM).
AN4938 Reference design Table 8. Optional components Components Reference Quantity Comments name Resistor 10 kΩ Pull-up and pull-down for JTAG, BOOT pin, PDR Used as star connection point between V Resistor 0 Ω REF+ Capacitor 100 nF Ceramic capacitor Used for LSE: the value depends on the crystal Capacitor 1.5 pF characteristics...
AN4938 Reference design Table 9. Reference connection for all packages Pin/ball name Pin name (function after reset) VBAT PC14-OSC32_IN (1)(2) (PC14) PC15-OSC32_ OUT (1)(2) (PC15) PH0-OSC_IN (PH0) PH1-OSC_OUT (PH1) NRST VSSA VREF- VREF+ VDDA PA0-WKUP (PA0) DocID029918 Rev 1 35/48...
Page 36
Reference design AN4938 Table 9. Reference connection for all packages (continued) Pin/ball name Pin name (function after reset) VCAP1 VDDLDO1 VDD33 USB 36/48 DocID029918 Rev 1...
Page 37
AN4938 Reference design Table 9. Reference connection for all packages (continued) Pin/ball name Pin name (function after reset) VDD50 USB VDD33 USB PA13 (JTMS/SWDIO) VCAP2 VDDLDO2 PA14 (JTCK/SWCLK) PA15(JTDI) DocID029918 Rev 1 37/48...
Page 38
Reference design AN4938 Table 9. Reference connection for all packages (continued) Pin/ball name Pin name (function after reset) (JTDO/TRACESWO) PB4 (NJTRST) BOOT0 VCAP3 PDR_ON VDDLDO3 1. PC1, PC13, PC14, PC15 and PI8 are supplied through the power switch. Since the switch only sinks a limited amount of current (3 mA), the use of GPIOs PC13 to PC15 and PI8 in output mode is limited: - The speed should not exceed 2 MHz with a maximum load of 30 pF.
AN4938 Recommended PCB routing guidelines for STM32H743/753xx devices Recommended PCB routing guidelines for STM32H743/753xx devices PCB stack-up In order to reduce the reflections on high speed signals, it is necessary to match the impedance between the source, sink and transmission lines. The impedance of a signal trace depends on its geometry and its position with respect to any reference planes.
Recommended PCB routing guidelines for STM32H743/753xx devices AN4938 Figure 21. Six layer PCB stack-up example Crystal oscillator Use the application note: Oscillator design guide for STM8S, STM8A and STM32 microcontrollers (AN2867), for further guidance on how to layout and route crystal oscillator circuits.
Recommended PCB routing guidelines for STM32H743/753xx devices AN4938 High speed signal layout 8.4.1 SDMMC bus interface Interface connectivity The SD/SDIO MMC card host interface (SDMMC) provides an interface between the AHB peripheral bus and Multi Media Cards (MMCs), SD memory cards and SDIO cards. The SDMMC interface is a serial data bus interface, that consists of a clock (CK), command signal (CMD) and 8 data lines (D[0:7]).
AN4938 Recommended PCB routing guidelines for STM32H743/753xx devices Interface signal layout guidelines • Reference the plane using GND or PWR (if PWR, add 10nf stitching cap between PWR and GND Trace the impedance: 50 Ω ± 10% • • The maximum trace length should be below 120mm. If the signal trace exceeds this trace-length/speed criterion, then a termination should be used •...
Page 44
Recommended PCB routing guidelines for STM32H743/753xx devices AN4938 Interface signal layout guidelines • Reference the plane using GND or PWR (if PWR, add 10nf stitching cap between PWR and GND • Trace the impedance: 50 W ± 10% • The maximum trace length should be below 120mm. If the signal trace exceeds this trace-length/speed criterion, then a termination should be used •...
AN4938 Recommended PCB routing guidelines for STM32H743/753xx devices • Avoid using a serpentine routing for the clock signal and as less via(s) as possible for the whole path. a via alters the impedance and adds a reflection to the signal. 8.4.4 Embedded trace macrocell (ETM) Interface connectivity...
Page 46
Conclusion AN4938 Conclusion This application note should be used as a reference when starting a new design with an STM32H743xx or STM32H753xx microcontroller. 46/48 DocID029918 Rev 1...
AN4938 Revision history Revision history Table 10. Document revision history Date Revision Changes 13-Jun-2017 Initial release. DocID029918 Rev 1 47/48...
Page 48
ST products and/or to this document at any time without notice. Purchasers should obtain the latest relevant information on ST products before placing orders. ST products are sold pursuant to ST’s terms and conditions of sale in place at the time of order acknowledgement.
Need help?
Do you have a question about the STM32H7 3 Series and is the answer not in the manual?
Questions and answers