Waveshare Open429I-C (HAL) Manuale utente

Open429I-C User Manual
Version: V1.3.3, Date: 2019.04.02 1/ 47
Open429I-C (HAL)
User Manual
CONTENT
1. Overview...............................................................................................................................................4
1.1. What’s on the mother board ........................................................................................4
1.2. What’s on the core429I...................................................................................................6
2. Demo .....................................................................................................................................................8
2.1. LED.............................................................................................................................................8
2.2. KEY.............................................................................................................................................9
2.3. Interrupt...................................................................................................................................9
2.4. TIM.............................................................................................................................................9
2.5. PWM ......................................................................................................................................10
2.6. USART....................................................................................................................................10
2.6.1. USART_Printf..........................................................................................................10
2.6.2. USART_IT.................................................................................................................11
2.6.3. USART_DMA...........................................................................................................11
2.7. ADC+DMA...........................................................................................................................12
2.8. DAC ........................................................................................................................................12
2.9. I2C-AT24C02.......................................................................................................................13
2.10. SPI-AT45DBXX....................................................................................................................14
2.11. CAN........................................................................................................................................15

Open429I-C User Manual
Version: V1.3.3, Date: 2019.04.02 2/ 47
2.12. DS18B20 ...............................................................................................................................16
2.13. RTC .........................................................................................................................................16
2.14. MCU_Temperature............................................................................................................17
2.15. IWDG .....................................................................................................................................17
2.16. WWDG ..................................................................................................................................18
2.17. RNG........................................................................................................................................18
2.18. CRC.........................................................................................................................................19
2.19. SDIO.......................................................................................................................................19
2.20. FATFS.....................................................................................................................................21
2.21. DCMI-OV2640 ....................................................................................................................22
2.22. I2S-WM8960 .......................................................................................................................23
2.23. SAI-WM8960.......................................................................................................................24
2.24. SAI-WM8960 Record .......................................................................................................24
2.25. FSMC-NANDFLASH..........................................................................................................25
2.26. FSMC-SDRAM.....................................................................................................................26
2.27. LDTC.......................................................................................................................................27
2.28. DMA2D .................................................................................................................................28
2.29. LCD_Display.........................................................................................................................29
2.30. Touch.....................................................................................................................................30
2.30.1. Touch 4.3inch 480x272 ......................................................................................30
2.30.2. Touch 7inch 800x480..........................................................................................31
2.31. STemWin ..............................................................................................................................32

Open429I-C User Manual
Version: V1.3.3, Date: 2019.04.02 3/ 47
2.32. USB FS ...................................................................................................................................33
2.32.1. USB FS Device (CDC_Standalone)...................................................................33
2.32.2. USB FS Device (HID_Standalone)....................................................................34
2.32.3. USB FS Device (MSC_Standalone)..................................................................35
2.32.4. USB FS Host (HID_Standalone)........................................................................36
2.32.5. USB FS Host (MSC_Standalone)......................................................................37
2.32.6. USB FS Host (DynamicSwitch_Standalone).................................................38
2.33. USB HS ..................................................................................................................................39
2.33.1. USB HS Device (HID_Standalone)...................................................................39
2.33.2. USB HS Device (MSC_Standalone).................................................................40
2.33.3. USB HS Host (MSC_Standalone).....................................................................40
2.34. ETH .........................................................................................................................................41
2.34.1. LwIP_TCP_Echo_Client.........................................................................................41
2.34.2. LwIP_TCP_Echo_Server .......................................................................................42
2.34.3. LwIp_UDO_Echo_Client ......................................................................................43
2.34.4. LwIP_UDO_Echo_Server......................................................................................44
2.34.5. LwIP_HTTP_Server_Raw......................................................................................45
2.35. FreeRTOS..............................................................................................................................46
2.36. uCOS III.................................................................................................................................46

Open429I-C User Manual
Version: V1.3.3, Date: 2019.04.02 4/ 47
1. OVERVIEW
Open429I-C is an STM32 development board designed for the STM32F429IGT6
microcontroller, consists of the mother board and the MCU core board Core429I.
The Open429I-C supports further expansion with various optional accessory
boards for specific application. The modular and open design makes it the ideal for
starting application development with STM32 series microcontrollers.
1.1. WHAT’S ON THE MOTHER BOARD
1. MCU core board connector: for easily
connecting the Core429I
2. USART3 interface: easily connects to
RS232, RS485, USB TO 232, etc.
3. DCMI interface: for connecting
camera
4. Capacitive touch panel interface: for
connecting capacitive touch panel
5. CAN2 interface: for connecting CAN
modules
6. CAN1 interface: for connecting CAN
modules
7. SDIO interface: for connecting Micro
SD module, features much faster
access speed rather than SPI
8. ULPI interface: for connecting high-
speed USB peripheral (the STM32F429I

Open429I-C User Manual
Version: V1.3.3, Date: 2019.04.02 5/ 47
integrates USB HS controller without
any PHY device)
9. LCD interface 1: for connecting 7inch
LCD
10. ONE-WIRE interface: easily connects
to ONE-WIRE devices (TO-92
package), such as temperature sensor
(DS18B20), electronic registration
number (DS2401), etc.
11. LCD interface 2: for connecting
4.3inch LCD
12. I2C2/I2C3 interface: easily connects
to I2C peripherals such as I/O
expander (PCF8574), EEPROM
(AT24Cxx), etc.
13. SAI1 interface: for connecting audio
modules like UDA1380 module
14. Ethernet interface: for connecting
Ethernet modules
15. USB connector: USB to UART via the
onboard convertor PL2303
16. SPI1/SPI2 interfaces:
a) easily connects to SPI peripherals
such as DataFlash (AT45DBxx), SD
card, MP3 module, etc.
b) easily connects to AD/DA
modules (SPI1 features AD/DA
alternative function)
17. I2S2/I2S3/I2C1 interface: easily
connects to I2S peripherals such as
audio module, etc.
18. 8-bit FMC interface: easily connects
to peripherals such as NandFlash
19. 5V DC jack
20. 5V/3.3V power input/output: usually
used as power output, also common-
grounding with other user board
21. MCU pins connector: all the MCU I/O
ports are accessible on expansion
connectors for further expansion
22. PL2303: USB to UART convertor
23. LEDs: convenient for indicating I/O
status and/or program running state
24. PL2303 TX-LED / RX-LED
25. 12MHz crystal: for PL2303
26. Joystick: five positions
27. WAKE UP button: used as regular
button, and/or wake up the STM32
MCU from sleep
28. USB to UART jumper
29. LED jumper
a) short the jumper to connect to
default I/Os used in example code
b) open the jumper to connect to
custom I/Os via jumper wires
30. Button/Joystick jumper
a) short the jumper to connect to
default I/Os used in example code
b) open the jumper to connect to
custom I/Os via jumper wires

Open429I-C User Manual
Version: V1.3.3, Date: 2019.04.02 6/ 47
1.2. WHAT’S ON THE CORE429I
1. STM32F429IGT6: the high performance STM32 MCU which features:
⚫Core: Cortex-M4 32-bit RISC
⚫Feature: single-cycle DSP instructions
⚫Operating Frequency: 180MHz, 225 DMIPS/1.25 DMIPS/MHz
⚫Operating Voltage: 1.8V-3.6V
⚫Package: LQFP176
⚫Memories: 1024kB Flash, 256+4kB SRAM
⚫MCU communication Interfaces:
⚫6 x SPI, 4 x USART, 4 x UART, 2 x I2S, 1 x SAI, 3 x I2C
⚫1 x FMC, 1 x SDIO, 2 x CAN
⚫1 x LCD-TFT
⚫1 x USB 2.0 HS/FS controller (with dedicated DMA)
⚫1 x USB HS ULPI (external PHY required)
⚫1 x 10/100 Ethernet MAC
⚫1 x 8 to 14-bit camera interface
⚫AD & DA converters: 3 x AD (12-bit, 1μs, shares 24 channels); 2 x DA (12-bit)
⚫Debugging/Programming: supports JTAG/SWD interfaces, supports IAP
2. IS42S16400J: SDRAM 1 Meg Bits x 16 Bits x 4 Banks (64-MBIT)
3. AMS1117-3.3: 3.3V voltage regulator
4. MIC2075: onboard USB power management device
5. Power supply switch, powered from 5Vin or USB connection
6. Boot mode selection, for configuring BOOT0 pin

Open429I-C User Manual
Version: V1.3.3, Date: 2019.04.02 7/ 47
7. Power indicator
8. VBUS LED
9. Reset button
10. 8M crystal
11. 32.768K crystal, for internal RTC with calibration
12. JTAG/SWD interface: for debugging/programming
13. USB connector, supports Device and/or Host
14. MCU pins expander, VCC, GND and all the I/O pins are accessible on expansion connectors
for further expansion
15. 5Vin pinheader, 5V power supply is required when using USB HOST/OTG
16. USB OTG/HOST jumper
⚫short the jumper when using USB OTG/HOST
⚫open the jumper to disconnect from related I/O port
17. VBAT selection jumper
⚫short the jumper to use system power supply
⚫open the jumper to connect the VBAT to external power, such as battery
18. VREF selection jumper
⚫short the jumper to connect VREF+ to VCC
open the jumper to connect VREF+ to other custom pin via jumper wire

Open429I-C User Manual
Version: V1.3.3, Date: 2019.04.02 8/ 47
2. DEMO
⚫KEIL MDK Version:5.12or above.
⚫Programmer/Debugger: ST-LINK V2
⚫Programming/Debugging interface: JTAG/SWD
⚫Results of demo which based on serial port are all checked via onboard PL2303;
connect the USB cable to the USB TO UART interface.
⚫PC’s serial port settings:
Baud rate
115200
Data bits
8
Stop bits
1
Parity bits
None
Flow control
None
Note: All the below Demo results are available when push the reset button after the
program has been downloaded.
2.1. LED
⚫Overview
IO output demo
⚫Hardware connection
Fit all the jumpers LED JMP
⚫Operation and result
The LED blinking

Open429I-C User Manual
Version: V1.3.3, Date: 2019.04.02 9/ 47
2.2. KEY
⚫Overview
IO input, output demo
⚫Hardware connection
Fit all the jumpers LED JMP and JOYSTICK JMP
⚫Operation and result
The LED status will keep changing when push the buttons
2.3. INTERRUPT
⚫Overview
GPIO Interrupt demo
⚫Hardware connection
Fit all the jumpers LED JMP and JOYSTICK JMP
⚫Operation and result
The LED1 status will keep changing when push the buttons
2.4. TIM
⚫Overview
Timer demo
⚫Hardware connection
Fit all the jumpers LED JMP
⚫Operation and result
The LED1 flashing

Open429I-C User Manual
Version: V1.3.3, Date: 2019.04.02 10 / 47
2.5. PWM
⚫Overview
PWM demo
⚫Hardware connection
Fit all the jumpers LED JMP
⚫Operation and result
The brightness of LED1 keep changing
2.6. USART
⚫Overview
Three demos (Roll polling, Interrupt, DMA)
⚫Hardware connection
Connect USB TO UART interface to USB port of PC by mini USB cable. This port is
connected to USART1 by default, you can also change it by setting jumper UART1
JMP.
2.6.1. USART_PRINTF
⚫Overview
Use Roll Polling measure, reconfigure Printf function for data printing.
⚫Operation and result
Download codes then press Reset button. Information are printed to UART as
below:
UART Printf Example: retarget the C library printf function to the UART
Indice
Altri manuali Waveshare Scheda madre
Manuali Scheda madre popolari di altre marche

Telit Wireless Solutions
Telit Wireless Solutions SL869-3DR Manuale utente

Gigabyte
Gigabyte GA-9IVDT Manuale utente

Texas Instruments
Texas Instruments ADS8372EVM Manuale utente

Commell
Commell MS-C73 Manuale utente

IBT Technologies
IBT Technologies MB860 Manuale utente

Nvidia
Nvidia TEGRA DG-04927-001_V01 Manuale utente














