1.. _stm32h735g_disco_board:
2
3ST STM32H735G Discovery
4#######################
5
6Overview
7********
8
9The STM32H735G-DK Discovery kit is a complete demonstration and development
10platform for Arm® Cortex®-M7 core-based STM32H735IGK6U microcontroller, with
111 Mbyte of Flash memory and 564 Kbytes of SRAM.
12
13The STM32H735G-DK Discovery kit is used as a reference design for user
14application development before porting to the final product, thus simplifying
15the application development.
16
17The full range of hardware features available on the board helps users to enhance
18their application development by an evaluation of all the peripherals (such as
19USB OTG FS, Ethernet, microSD™ card, USART, CAN FD, SAI audio DAC stereo with
20audio jack input and output, MEMS digital microphone, HyperRAM™,
21Octo-SPI Flash memory, RGB interface LCD with capacitive touch panel, and others).
22ARDUINO® Uno V3, Pmod™ and STMod+ connectors provide easy connection to extension
23shields or daughterboards for specific applications.
24
25STLINK-V3E is integrated into the board, as the embedded in-circuit debugger and
26programmer for the STM32 MCU and USB Virtual COM port bridge. STM32H735G-DK board
27comes with the STM32CubeH7 MCU Package, which provides an STM32 comprehensive
28software HAL library as well as various software examples.
29
30.. image:: img/stm32h735g_disco.jpg
31     :align: center
32     :alt: STM32H735G-DISCO
33
34More information about the board can be found at the `STM32H735G-DISCO website`_.
35More information about STM32H735 can be found here:
36
37- `STM32H725/735 on www.st.com`_
38- `STM32H735xx reference manual`_
39- `STM32H735xx datasheet`_
40
41Supported Features
42==================
43
44The current Zephyr stm32h735g_disco board configuration supports the following hardware features:
45
46+-----------+------------+-------------------------------------+
47| Interface | Controller | Driver/Component                    |
48+===========+============+=====================================+
49| NVIC      | on-chip    | nested vector interrupt controller  |
50+-----------+------------+-------------------------------------+
51| UART      | on-chip    | serial port-polling;                |
52|           |            | serial port-interrupt               |
53+-----------+------------+-------------------------------------+
54| PINMUX    | on-chip    | pinmux                              |
55+-----------+------------+-------------------------------------+
56| GPIO      | on-chip    | gpio                                |
57+-----------+------------+-------------------------------------+
58| FLASH     | on-chip    | flash memory                        |
59+-----------+------------+-------------------------------------+
60| ETHERNET  | on-chip    | ethernet                            |
61+-----------+------------+-------------------------------------+
62| RNG       | on-chip    | True Random number generator        |
63+-----------+------------+-------------------------------------+
64| FMC       | on-chip    | memc (SDRAM)                        |
65+-----------+------------+-------------------------------------+
66| ADC       | on-chip    | ADC Controller                      |
67+-----------+------------+-------------------------------------+
68| FDCAN1    | on-chip    | CAN-FD Controller                   |
69+-----------+------------+-------------------------------------+
70| FDCAN2    | on-chip    | CAN-FD Controller                   |
71+-----------+------------+-------------------------------------+
72| FDCAN3    | on-chip    | CAN-FD Controller (disabled by      |
73|           |            | default. Solder bridges SB29 and    |
74|           |            | SB30 need to be closed for FDCAN3   |
75|           |            | to work)                            |
76+-----------+------------+-------------------------------------+
77| USB       | on-chip    | usb_device                          |
78+-----------+------------+-------------------------------------+
79
80Other hardware features are not yet supported on Zephyr porting.
81
82The default configuration can be found in the defconfig file:
83:zephyr_file:`boards/st/stm32h735g_disco/stm32h735g_disco_defconfig`
84
85Pin Mapping
86===========
87
88For more details please refer to `STM32H735G-DISCO website`_.
89
90Default Zephyr Peripheral Mapping:
91----------------------------------
92
93- UART_3 TX/RX : PD8/PD9 (ST-Link Virtual Port Com)
94- UART_7 TX/RX : PF7/PF6 (Arduino Serial)
95- LD1 : PC2
96- LD2 : PC3
97- FDCAN1 : CAN
98
99System Clock
100============
101
102The STM32H735G System Clock can be driven by an internal or external oscillator,
103as well as by the main PLL clock. By default, the System clock
104is driven by the PLL clock at 550MHz. PLL clock is feed by a 25MHz high speed external clock.
105
106Serial Port
107===========
108
109The STM32H735G Discovery kit has up to 6 UARTs.
110The Zephyr console output is assigned to UART3 which connected to the onboard ST-LINK/V3.0. Virtual
111COM port interface. Default communication settings are 115200 8N1.
112
113
114Programming and Debugging
115*************************
116
117See :ref:`build_an_application` for more information about application builds.
118
119
120Flashing
121========
122
123Flashing operation will depend on the target to be flashed and the SoC
124option bytes configuration.
125It is advised to use `STM32CubeProgrammer`_ to check and update option bytes
126configuration and flash the ``stm32h735g_disco`` target.
127
128
129Debugging
130=========
131
132You can debug an application in the usual way.  Here is an example for the
133:ref:`hello_world` application.
134
135.. zephyr-app-commands::
136   :zephyr-app: samples/hello_world
137   :board: stm32h735g_disco
138   :goals: debug
139
140
141.. _STM32H735G-DISCO website:
142   https://www.st.com/en/evaluation-tools/stm32h735g-dk.html
143
144.. _STM32H725/735 on www.st.com:
145   https://www.st.com/en/microcontrollers-microprocessors/stm32h725-735.html
146
147.. _STM32H735xx reference manual:
148   https://www.st.com/resource/en/reference_manual/dm00603761-stm32h723733-stm32h725735-and-stm32h730-value-line-advanced-armbased-32bit-mcus-stmicroelectronics.pdf
149
150.. _STM32H735xx datasheet:
151   https://www.st.com/resource/en/datasheet/stm32h735ag.pdf
152
153.. _STM32CubeProgrammer:
154   https://www.st.com/en/development-tools/stm32cubeprog.html
155