STM32F723E Discovery
Overview
The discovery kit enables a wide diversity of applications taking benefit from audio, multi-sensor support, graphics, security, security, video, and high-speed connectivity features. Important board features include:
- STM32F723IEK6 microcontroller featuring 512 Kbytes of Flash memory and 256+16+4 Kbytes of RAM, in BGA176 package 
- On-board ST-LINK/V2-1 supporting USB re-enumeration capability 
- TFT LCD 240x240 pixels with touch panel 
- SAI audio codec 
- Audio line in and line out jack 
- Stereo speaker outputs 
- Four ST MEMS microphones 
- Two pushbuttons (user and reset) 
- 512-Mbit Quad-SPI Flash memory 
- 8-Mbit external PSRAM 
- USB OTG HS with Micro-AB connectors 
- USB OTG FS with Micro-AB connectors 
More information about the board can be found at the 32F723E-DISCO website.
Hardware
The STM32F723E Discovery kit provides the following hardware components:
- STM32F723IEK6 in BGA176 package 
- ARM® 32-bit Cortex® -M7 CPU with FPU 
- 216 MHz max CPU frequency 
- VDD from 1.8 V to 3.6 V 
- 1 MB Flash 
- 256+16+4 KB SRAM including 64KB of tightly coupled memory 
- GPIO with external interrupt capability 
- 3x12-bit ADC with 24 channels 
- 2x12-bit D/A converters 
- RTC 
- Advanced-control Timer (2) 
- General Purpose Timers (13) 
- Watchdog Timers (2) 
- USART/UART (8) 
- I2C (3) 
- SPI (5) 
- 2xSAI (serial audio interface) 
- SDIO (2) 
- CAN 
- USB 2.0 OTG FS with on-chip PHY 
- USB 2.0 OTG HS/FS with dedicated DMA, on-chip full-speed PHY and on-chip hi-speed PHY 
- CRC calculation unit 
- True random number generator 
- DMA Controller 
More information about STM32F723IEK6 can be found here:
Supported Features
The stm32f723e_disco board supports the hardware features listed below.
- on-chip / on-board
- Feature integrated in the SoC / present on the board.
- 2 / 2
- 
      Number of instances that are enabled / disabled. 
 Click on the label to see the first instance of this feature in the board/SoC DTS files.
- 
      vnd,foo
- 
      Compatible string for the Devicetree binding matching the feature. 
 Click on the link to view the binding documentation.
stm32f723e_disco/stm32f723xx target
| Type | Location | Description | Compatible | 
|---|---|---|---|
| CPU | on-chip | ARM Cortex-M7 CPU1 | |
| ADC | on-chip | STM32F4 ADC3 | |
| CAN | on-chip | STM32 CAN controller1 | |
| Clock control | on-chip | STM32F4 RCC (Reset and Clock controller)1 | |
| on-chip | STM32 HSE Clock1 | ||
| on-chip | Generic fixed-rate clock provider2 | ||
| on-chip | STM32 LSE Clock1 | ||
| on-chip | STM32F7 Main PLL1 | ||
| on-chip | PLLSAI node binding for STM32F4 and STM32F7 device1 | ||
| on-chip | STM32 Microcontroller Clock Output (MCO)2 | ||
| Counter | on-chip | STM32 counters12 | |
| DAC | on-chip | STM32 family DAC1 | |
| DMA | on-chip | STM32 DMA controller (V1)2 | |
| Flash controller | on-chip | STM32 Family flash controller1 | |
| on-board | STM32 QSPI Flash controller supporting the JEDEC CFI interface1 | ||
| GPIO & Headers | on-chip | STM32 GPIO Controller9 | |
| on-board | GPIO pins exposed on Arduino Uno (R3) headers1 | ||
| I2C | on-chip | STM32 I2C V2 controller3 | |
| I2S | on-chip | STM32 SAI controller2 | |
| Input | on-board | Group of GPIO-bound input keys1 | |
| Interrupt controller | on-chip | ARMv7-M NVIC (Nested Vectored Interrupt Controller)1 | |
| on-chip | STM32 External Interrupt Controller1 | ||
| LED | on-board | Group of GPIO-controlled LEDs1 | |
| Memory controller | on-chip | STM32 Flexible Memory Controller (FMC)1 | |
| on-chip | STM32 Flexible Memory Controller (SDRAM controller)1 | ||
| on-chip | STM32 Battery Backed RAM1 | ||
| MMC | on-chip | STM32 SDMMC Disk Access2 | |
| MMU / MPU | on-chip | ARMv7-M Memory Protection Unit (MPU)1 | |
| MTD | on-chip | STM32 flash memory1 | |
| PHY | on-chip | STM32 USB HS PHY controller1 | |
| on-chip | This binding is to be used by all the usb transceivers which are built-in with USB IP1 | ||
| Pin control | on-chip | STM32 Pin controller1 | |
| PWM | on-chip | STM32 PWM12 | |
| QSPI | on-chip | STM32 QSPI Controller1 | |
| Reset controller | on-chip | STM32 Reset and Clock Control (RCC) Controller1 | |
| RNG | on-chip | STM32 Random Number Generator1 | |
| RTC | on-chip | STM32 RTC1 | |
| Sensors | on-chip | STM32 quadrature decoder6 | |
| on-chip | STM32 family TEMP node for production calibrated sensors with two calibration temperatures1 | ||
| on-chip | STM32 VREF+1 | ||
| on-chip | STM32 VBAT1 | ||
| Serial controller | on-chip | ||
| on-chip | STM32 UART4 | ||
| SMbus | on-chip | STM32 SMBus controller3 | |
| SPI | on-chip | ||
| Timer | on-chip | ARMv7-M System Tick1 | |
| on-chip | STM32 timers14 | ||
| USB | on-chip | STM32 OTGFS controller1 | |
| on-chip | STM32 OTGHS controller1 | ||
| Watchdog | on-chip | STM32 watchdog1 | |
| on-chip | STM32 system window watchdog1 | 
Pin Mapping
STM32F723E Discovery kit has 7 GPIO controllers. These controllers are responsible for pin muxing, input/output, pull-up, etc.
For more details please refer to 32F723E-DISCO board User Manual.
Default Zephyr Peripheral Mapping:
- UART_2 TX/RX : PA2/PA3 (Arduino Serial) 
- UART_6 TX/RX : PC6/PC7 (ST-Link Virtual Port Com) 
- I2C1 SCL/SDA : PB8/PB9 
- I2C2 SCL/SDA : PH4/PH5 (Arduino I2C) 
- I2C3 SCL/SDA : PA8/PH8 
- SPI1 SCK/MISO/MOSI : PA5/PB4/PB5 (Arduino SPI) 
- LD1 : PA5 
- LD5 : PA7 
- LD6 : PB1 
- OTG_FS_DM : PA11 
- OTG_FS_DP : PA12 
System Clock
The STM32F723E System Clock can be driven by an internal or external oscillator, as well as by the main PLL clock. By default, the System clock is driven by the PLL clock at 216MHz, driven by a 25MHz high speed external clock.
Serial Port
The STM32F723E Discovery kit has up to 8 UARTs. The Zephyr console output is assigned to UART6 which connected to the onboard ST-LINK/V2 Virtual COM port interface. Default communication settings are 115200 8N1.
Programming and Debugging
The stm32f723e_disco board supports the runners and associated west commands listed below.
| flash | debug | rtt | debugserver | attach | |
|---|---|---|---|---|---|
| jlink | ✅ | ✅ | ✅ | ✅ | ✅ | 
| openocd | ✅ | ✅ (default) | ✅ | ✅ | ✅ | 
| stm32cubeprogrammer | ✅ (default) | 
STM32F723E Discovery kit includes an ST-LINK/V2 embedded debug tool interface.
Applications for the stm32f723e_disco board configuration can be built and
flashed in the usual way (see Building an Application and
Run an Application for more details).
Flashing
The board is configured to be flashed using west STM32CubeProgrammer runner, so its installation is required.
Alternatively, OpenOCD or JLink can also be used to flash the board using
the --runner (or -r) option:
$ west flash --runner openocd
$ west flash --runner jlink
Flashing an application to STM32F723E-DISCO
First, connect the STM32F723E Discovery kit to your host computer using the USB port to prepare it for flashing. Then build and flash your application.
Here is an example for the Hello World application.
# From the root of the zephyr repository
west build -b stm32f723e_disco samples/hello_world
west flash
Run a serial host program to connect with your board:
$ minicom -D /dev/ttyACM0
You should see the following message on the console:
Hello World! arm
Debugging
You can debug an application in the usual way. Here is an example for the Hello World application.
# From the root of the zephyr repository
west build -b stm32f723e_disco samples/hello_world
west debug