Open429I-C User Manual Open429I-C (HAL) User Manual CONTENT 1. 2. Overview ...............................................................................................................................................4 1.1. What’s on the mother board ........................................................................................4 1.2. What’s on the core429I ...................................................................................................6 Demo .............................
Open429I-C User Manual 2.12. DS18B20 ............................................................................................................................... 16 2.13. RTC ......................................................................................................................................... 16 2.14. MCU_Temperature ............................................................................................................ 17 2.15. IWDG ........................................
Open429I-C User Manual 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.
Open429I-C User Manual 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. 1. WHAT’ S ON THE MOTHER BOARD MCU core board connector: for easily 5.
Open429I-C User Manual integrates USB HS controller without any PHY device) 9. 18. 8-bit FMC interface: easily connects to peripherals such as NandFlash LCD interface 1: for connecting 7inch 19. 5V DC jack LCD 20. 5V/3.3V power input/output: usually 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.
Open429I-C User Manual 1.2. 1. WHAT’ S ON THE CORE429I 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.
Open429I-C User Manual 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.
Open429I-C User Manual 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.
Open429I-C User Manual 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.
Open429I-C User Manual 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.
Open429I-C User Manual welcome to www.waveshere.com !!! welcome to www.waveshere.com !!! welcome to www.waveshere.com !!! 2.6.2. USART_IT ⚫ Overview Use HAL Interrupt measure, UART demo. ⚫ Operation and result Download codes then press Reset button. With Serial assistance software, it require to you input 10 characters, it will send and echo (for example, input string Open4x9i-C) ****UART-Hyperterminal communication based on IT **** Enter 10 characters using keyboard : Open4x9I-C Example Finished 2.6.
Open429I-C User Manual 2.7. ⚫ ADC+DMA Overview AD acquisition demo, DMA transfer ⚫ Hardware connection Connect Analog Test Board to SPI1 (ADC+DAC)connector ⚫ Operation and result Rotate the onboard potentiometer, the below message will be printed on the serial debugging assistant: ******** ADC DMA Example ******** AD1 value = 3.298V AD2 value = 1.647V ******** ADC DMA Example ******** AD1 value = 3.298V AD2 value = 1.647V 2.8. ⚫ DAC Overview DA output demo, output via DMA channel Version: V1.3.
Open429I-C User Manual ⚫ Hardware connection Connect the Analog Test Board to the SPI1 (ADC+DAC)connector Connect the Analog Test Board onboard 5V interface to the board onboard 5V interface via jumper wire. ⚫ Operation and result You may hear sound from the Analog Test Board. 2.9. ⚫ I2C-AT24C02 Overview Read and write data on E2PROM via I2C protocol Version: V1.3.3, Date: 2019.04.
Open429I-C User Manual ⚫ Hardware connection Connect the AT24/FM24 Board to the board via I2C1 connector. ⚫ Operation and result The below information will be printed on the serial debugging assistant: ***************I2C Example******************************* EEPROM 24C02 Write Test OK EEPROM 24C02 Read Test OK 2.10. ⚫ SPI-AT45DBXX Overview Drive the AT45DBXX DataFlash Board via SPI interface ⚫ Hardware connection Connect the AT45DBXX DataFlash Board via SPI1 connector Version: V1.3.
Open429I-C User Manual ⚫ Operation and result Information are printed on the serial assistant: ****** SPI Example ***** AT45DBXX ID is 0x1F 0x24 0x00 0x00 FALSH AT45DBXX Write Test: 0 1 2 3 4 …… 255 FALSH AT45DBXX Read Test: 0 2.11. ⚫ 1 2 3 4 …… 255 CAN Overview CAN1 TO CAN2 communication demo ⚫ Hardware connection Connect the two CAN modules to the onboard CAN1 and CAN2 interface Connect the two CAN modules via jumper wire (CANL<->CANL, CANH<->CANH) Version: V1.3.3, Date: 2019.04.
Open429I-C User Manual ⚫ Operation and result Information are printed to serial assistant: **** This is CAN test program **** StdId : 123 RxMsg : CAN Test StdId : 123 RxMsg : CAN Test 2.12. ⚫ DS18B20 Overview Temperature detecting demo ⚫ Hardware connection Connect DS18B20 to OneWire interface ⚫ Operation and result Information are printed to serial assistant DS18B20 Example !!!! Temperate: 24.0 ℃ Temperate: 24.0 ℃ 2.13. ⚫ RTC Overview RTC demo (STM32 internet RTC) Version: V1.3.3, Date: 2019.
Open429I-C User Manual ⚫ Operation and result Information are printed to serial assistant (You can change time by modifying MX_RTC_Init function in rtc.c file) 2015/09/08 18:50:00 2015/09/08 18:50:01 2.14. ⚫ MCU_TEMPERATURE Overview Temperature of STM32 board measuring demo ⚫ Operation and result Information are printed to serial assistant: MCU Temperature : 32.6℃ MCU Temperature : 32.6℃ MCU Temperature : 32.6℃ 2.15.
Open429I-C User Manual ***** WaveShare Open7XXI-C Board ***** Refreshes the IWDG !!! Refreshes the IWDG !!! 2.16. ⚫ Refreshes the IWDG !!! WWDG Overview Windows watchdog demo ⚫ Operation and result Information are printed to serial assistant ***** WaveShare Open7XXI-C Board ***** waveshare.net !!! waveshare.net !!! waveshare.net !!! 2.17.
Open429I-C User Manual 2.18. ⚫ CRC Overview CRC demo ⚫ Operation and result Information are printed to serial assistant ****** CRC Test Example ***** CRC right value 2.19. ⚫ SDIO Overview Read SD card information demo ⚫ Hardware connection Connect Micro SD Storage Board to SDIO interface. Insert SD card to Micro SD Storage Board Version: V1.3.3, Date: 2019.04.
Open429I-C User Manual ⚫ Operation and result Information are printed to serial assistant (Note that this demo may erase all the data of TF card, please backup the data before you use it): Warning: this program may erase all the TF card data. Make sure you have backed up. Press 'y' to continue.
Open429I-C User Manual Read block successfully! 00:0xffffffff 01:0xffffffff …… 7f: 0xffffffff 2.20. ⚫ FATFS Overview Read SD card information via FATFS ⚫ Hardware connection Connect Micro SD Storage Board to SDIO interface. Insert SD card to Micro SD Storage Board ⚫ Operation and result Information are printed to serial assistant. (make sure FATFS file system is available in your SD card) ****** FatFs Example ****** mount sucess!!! Version: V1.3.3, Date: 2019.04.
Open429I-C User Manual open file sucess!!! write file sucess!!! Write Data : This is STM32 working with FatFs close sucess!!! open file sucess!!! read sucess!!! Write Data : This is STM32 working with FatFs close sucess!!! FatFs is working well!!! 2.21. ⚫ DCMI-OV2640 Overview Camera demo ⚫ Hardware connection Version: V1.3.3, Date: 2019.04.
Open429I-C User Manual Connect OV2640 Camera Board to DCMI interface Open camera-test.exe software (Included in Software folder), choose correct COM port and configure as codes ⚫ Operation and result Press WAKE UP button, software start to capture image (You can change resolution by modifying OV2640_320x240_JPEG in ov2640.c file) 2.22.
Open429I-C User Manual ⚫ Operation and result Download codes then press RESET button to play music 2.23. ⚫ SAI-WM8960 Overview Use WM8960 Audi Board to play music from TF card via SAI interface ⚫ Hardware connection Connect WM8960 Audio Board to SAI1 interface Connect earphone to earphone jack of WM8960 Audio Board, or connect Speaker to WM8960 Audio Board. Insert SD card to Micro Storage Board, then connect Micro Storage Board to SDMMC interface.
Open429I-C User Manual Insert SD card to Micro Storage Board, then connect Micro Storage Board to SDMMC interface. WAV files are save in root directory of SD card ⚫ Operation and result Press RESET button, the file name which is going to recorded is printed. Press Joystick button begin recording. Then you can speaker to MIC onboard, the audio echo to earphone or speaker. During recording, you can press Joystick button to Pause/Restore. Long press Joystick for about 1-2s to stop recording.
Open429I-C User Manual ***** NandFlash Example ****** Nand Flash ID = 0xEC,0xF1,0x00,0x95 Type = K9F1G08U0B Written to the number of: 0x00 0x01 0x02 0x03 ……0xFF Read several: 0x00 0x01 0x02 0x03 ……0xFF NandFlash Read Write Test OK 2.26.
Open429I-C User Manual 2.27. ⚫ LDTC Overview LCD display demo. This demo has three projects for 4.3inch 480x272, 7inch 800x600 and 7inch 1024x600 separately ⚫ Hardware connection Connect 4inch 480x272 Touch LCD (B) to LCD interface Version: V1.3.3, Date: 2019.04.
Open429I-C User Manual Connect 7inch 800x600 or 7inch 1024x600 LCD to LCD1 interface by 40PIN FFC, then connect 4PIN FFC to capacitive touch interface (Note: You can only connect one LCD one time) ⚫ Operation and result Image are displayed on LCD 2.28. ⚫ DMA2D Overview LCD display demo. This demo has three projects for 4.3inch 480x272, 7inch 800x600 and 7inch 1024x600 separately. ⚫ Hardware connection Save as section 2.27. ⚫ Operation and result Two images are displayed on LCD and moving.
Open429I-C User Manual Display effect for 4.3inch 480x272 LCD Display effect for 7inch LCD 2.29. ⚫ LCD_DISPLAY Overview LCD display string demo. This demo has three projects for 4inch 480x272, 7inch 800x480 and 7inch 1024x600 separately ⚫ Hardware connection Same as Section 2.27. Version: V1.3.3, Date: 2019.04.
Open429I-C User Manual ⚫ Operation and result Strings are displayed on LCD 2.30. ⚫ TOUCH Overview Touch demo. This demo include three projects for 4.3inch 480x272, 7inch 800x600 separately. 4.3inch LCD is resistive screen, 7inch LCD is capacitive screen. 2.30.1.TOUCH 4.3INCH 480X272 ⚫ Hardware connection Connect 4.3inch 480x272 Touch LCD (B) to LCD interface ⚫ Operation and result Download codes. First calibrating: press + triple to finish calibrating. After Version: V1.3.3, Date: 2019.04.
Open429I-C User Manual calibrating, it enter Paint mode, you can drawing on LCD 2.30.2.TOUCH 7INCH 800X480 ⚫ Hardware connection Connect 7inch LCD to LCD interface by 40PIN FFC, connect touch interface of 7inch LCD to touch interface by 4PIN FFC Version: V1.3.3, Date: 2019.04.
Open429I-C User Manual ⚫ Operation and result It supports up to 5-points touching. 2.31. ⚫ STEMWIN Overview STemWin interface demo ⚫ Hardware connection You can connect 4.3inch 480x272, 7inch 800x480 or 7inch 1024x600 for different projects. Version: V1.3.3, Date: 2019.04.
Open429I-C User Manual ⚫ Operation and result LCD will display STemWin demo and graphic interfaces 2.32. ⚫ USB FS Overview USB FS demo ⚫ Hardware connection Short the OTG JMP and remove UART1 jumper before using Connect 7inch 1024x600 LCD to Open board 2.32.1.USB FS DEVICE (CDC_STANDALONE) ⚫ Overview FS USB device CDC demo. ⚫ Hardware connection Connect Mini USB interface to PC by mini USB cable Version: V1.3.3, Date: 2019.04.
Open429I-C User Manual ⚫ Operation and result Open board is recognized as virtual com port. “STMicroelectronics Virtual COM Port” will appear on the computer Device Manager. Extract and install stsw.zip which is located on Software directory.
Open429I-C User Manual ⚫ Operation and result Check Device Manager, an “USB Input device) is recognized. Use Joystick to control cursor 2.32.3.USB FS DEVICE (MSC_STANDALONE) ⚫ Overview FS USB Device MSC demo.
Open429I-C User Manual SD card appears as a removable hard drive on the PC. 2.32.4.USB FS HOST (HID_STANDALONE) ⚫ Overview FS USB Master HID demo. Open board can recognize and use Mouse connected ⚫ Hardware connection Connect Mouse to one side of OTG cable, then connect another side of OTG to mini USB interface of Open board Version: V1.3.3, Date: 2019.04.
Open429I-C User Manual ⚫ Operation and result Move Mouse to control the green point on LCD 2.32.5.USB FS HOST (MSC_STANDALONE) ⚫ Overview FS USB Master MSC demo. Open board can connect and recognize USB drive. ⚫ Hardware connection Connect USB Drive to one side of OTG cable, then connect another side of OTG cable to mini USB interface of Open board Version: V1.3.3, Date: 2019.04.
Open429I-C User Manual ⚫ Operation and result Press button to read information of USB drive 2.32.6.USB FS HOST (DYNAMICSWITCH_STANDALONE) ⚫ Overview FS USB master demo. Open board can recognize Mouse and U drive ⚫ Hardware connection Connect Mouse or U drive to one side of OTG cable, connect another side of OTG cable to mini USB interface of Open board ⚫ Operation and result Open board will recognize the device connect automatically. (for example, if the Version: V1.3.3, Date: 2019.04.
Open429I-C User Manual device connected is U drive) 2.33. ⚫ USB HS Hardware connection Because of PIN conflict problem, LCD cannot be connection at the same time. Connect USB3300 module to ULPI interface of Open board ⚫ Operation and result Its expected result is like FS demo. 2.33.1.USB HS DEVICE (HID_STANDALONE) ⚫ Overview FS USB Device HID demo. Open board is recognized as Mouse by PC Version: V1.3.3, Date: 2019.04.
Open429I-C User Manual ⚫ Hardware connection Connect USB cable to OTG interface of USB3300 and PC ⚫ Operation and result “USB input device” is recognized in Device Manager. You can press Joystick to control cursor 2.33.2.USB HS DEVICE (MSC_STANDALONE) ⚫ Overview HS USB Device MSC demo.
Open429I-C User Manual ⚫ Operation and result U drive information are printed to serial port. Press button to print files’ names of U drive 2.34. ⚫ ETH Overview This demo has five projects. They are TCP client project, TCP server project, UDP client project, UDP server project and HTTP server project. Before starting this demo, please copy echotool.exe file from project directory to root directory of C drive ⚫ Hardware connection Connect ETH cable to ETH interface and PC or router.
Open429I-C User Manual 192.168.1.189) In Windows PC: Open CMD and input: C:\>echotool /p tcp /s - /p tcp: TCP protocol - /s: Connecting mode (Server Mode) When pressing button. Client (Open board) will send strings to server and echo) 2.34.2.LWIP_TCP_ECHO_SERVER ⚫ Overview TCP Server Demo. Echo information ⚫ Operation and result Open CMD, and input: C:\>echotool IP_address /p tcp /r 7 /n 15 /t 2 /d Testing LwIP TCP echo server Version: V1.3.3, Date: 2019.04.
Open429I-C User Manual - IP_address: IP address of Open board. Default using static IP address: 192.168.1.110 - /p tcp: TCP protocol - /r: echo port - /n: number of echo request (e.g. 15) - /t: timeout of connection (s) (e.g. 2) - /d: information echoed (e.g. “Testing LwIP TCP echo server”) 2.34.3.LWIP_UDO_ECHO_CLIENT ⚫ Overview TCP Client demo, echo ⚫ Operation and result Configure the IP of both the PC and the module on the same network. (Default 192.168.1.189) Open CMD and input: C:\>echotool /p udp
Open429I-C User Manual - /s: Connect mode (Server mode) Client send data to sever and echo when pressing button. 2.34.4.LWIP_UDO_ECHO_SERVER ⚫ Overview TCP Server demo. Echo ⚫ Operation and result Open CMD and input: C:\>echotool IP_address /p udp /r 7 l/ 7 /n 15 /t 2 /d Testing LwIP UDP echo server - IP_address: IP address of Open board. Default using static IP address: 192.168.1.110 - /p: UDP protocol - /r: Server port (echo port) - /l: Local Port of Client (echo port) Version: V1.3.3, Date: 2019.
Open429I-C User Manual - /n: Number of echo request (e.g. 15) - /t: timeout of connection (s) (e.g. 2) - /d: information echoed (e.g. “Testing LwIP UDP echo server”) 2.34.5.LWIP_HTTP_SERVER_RAW ⚫ Overview HTTP Server demo. Display Web Page ⚫ Hardware connection Connect ETH cable to ETH module and PC. Connect 7inch 1024x600 LCD to Open board ⚫ Operation and result LCD will display information as below: Version: V1.3.3, Date: 2019.04.
Open429I-C User Manual Input the IP address above to Browser in PC, you can enter a Web Page: Click LED control to control LED of Open board 2.35. ⚫ FREERTOS Overview FreeRTOS demo which is generated by STM32CubeMX software. This demo includes eleven projects ⚫ Operation and dem Fit all the LED JMP. LED will flashing 2.36. ⚫ UCOS III Overview uCOS III demo generated by STM32cubeMX software Version: V1.3.3, Date: 2019.04.
Open429I-C User Manual ⚫ Operation and result Fit all the LED JMP. LED1 flashing. Version: V1.3.3, Date: 2019.04.