Advertisement

Open429I-C 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
Version: V1.3.3, Date: 2019.04.02
Open429I-C (HAL)
User Manual
1 / 47

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Open429I-C (HAL) and is the answer not in the manual?

Questions and answers

Summary of Contents for Waveshare Open429I-C (HAL)

  • Page 1: Table Of Contents

    Open429I-C User Manual Open429I-C (HAL) User Manual CONTENT Overview ...............................4 1.1. What’s on the mother board ..................4 1.2. What’s on the core429I ....................6 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 ............................
  • Page 2 Open429I-C User Manual 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.
  • Page 3 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.32.4. USB FS Host (HID_Standalone)................ 36 2.32.5. USB FS Host (MSC_Standalone) ..............37 2.32.6.
  • Page 4: Overview

    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.
  • Page 5 Open429I-C User Manual integrates USB HS controller without 18. 8-bit FMC interface: easily connects any PHY device) to peripherals such as NandFlash LCD interface 1: for connecting 7inch 19. 5V DC jack 20. 5V/3.3V power input/output: usually 10. ONE-WIRE interface: easily connects used as power output, also common- to ONE-WIRE devices (TO-92 grounding with other user board...
  • Page 6: What's On The Core429I

    Open429I-C User Manual 1.2. 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 ⚫...
  • Page 7 Open429I-C User Manual Power indicator VBUS LED 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.
  • Page 8: Demo

    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. PC’s serial port settings: ⚫...
  • Page 9: Key

    Open429I-C User Manual 2.2. 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 ⚫...
  • Page 10: Pwm

    Open429I-C User Manual 2.5. 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.
  • Page 11: Usart_It

    Overview ⚫ Use HAL DMA measure, UART demo. Operation and result ⚫ Download codes then press Reset button. Information are printed as below: **** UART-Hyperterminal communication based on DMA *** WaveShare Open4X9I-C Board Version: V1.3.3, Date: 2019.04.02 11 / 47...
  • Page 12: Adc+Dma

    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...
  • Page 13: I2C-At24C02

    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.
  • Page 14: Spi-At45Dbxx

    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.
  • Page 15: Can

    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: 4 …… 255 FALSH AT45DBXX Read Test: 4 …… 255 2.11. Overview ⚫...
  • Page 16: Ds18B20

    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 ⚫...
  • Page 17: Mcu Temperature : 32.6

    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 ⚫...
  • Page 18: Wwdg

    Open429I-C User Manual ***** WaveShare Open7XXI-C Board ***** Refreshes the IWDG !!! Refreshes the IWDG !!! Refreshes the IWDG !!! 2.16. WWDG Overview ⚫ Windows watchdog demo Operation and result ⚫ Information are printed to serial assistant ***** WaveShare Open7XXI-C Board ***** waveshare.net !!!
  • Page 19: Crc

    Open429I-C User Manual 2.18. 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.02 19 / 47...
  • Page 20 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.
  • Page 21: Fatfs

    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 ⚫...
  • Page 22: Dcmi-Ov2640

    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.
  • Page 23: I2S-Wm8960

    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.
  • Page 24: Sai-Wm8960

    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.
  • Page 25: Fsmc-Nandflash

    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.
  • Page 26: Fsmc-Sdram

    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. FSMC-SDRAM Overview ⚫...
  • Page 27: Ldtc

    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.02 27 / 47...
  • Page 28: Dma2D

    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.
  • Page 29: Lcd_Display

    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.02 29 / 47...
  • Page 30: Touch

    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 ⚫...
  • Page 31: Touch 7Inch 800X480

    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.02 31 / 47...
  • Page 32: Stemwin

    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.02 32 / 47...
  • Page 33: Usb Fs

    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 ⚫...
  • Page 34: Usb Fs Device (Hid_Standalone)

    Software directory. Information are printed to serial assistant, and data sent from assistant will be printed to LCD WaveShare Open4X9I-C Board STM32 Virtual COM Port Driver WaveShare Open4X9I-C Board STM32 Virtual COM Port Driver WaveShare Open4X9I-C Board STM32 Virtual COM Port Driver 2.32.2.USB FS DEVICE ( HID_STANDALONE)
  • Page 35: Usb Fs Device (Msc_Standalone)

    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. Open board is recognized as mass storage device Hardware connection ⚫...
  • Page 36: Usb Fs Host (Hid_Standalone)

    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.02 36 / 47...
  • Page 37: Usb Fs Host (Msc_Standalone)

    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.02 37 / 47...
  • Page 38: Usb Fs Host (Dynamicswitch_Standalone)

    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 ⚫...
  • Page 39: Usb Hs

    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.
  • Page 40: Usb Hs Device (Msc_Standalone)

    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 ⚫...
  • Page 41: Eth

    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. Overview ⚫ This demo has five projects. They are TCP client project, TCP server project, UDP client project, UDP server project and HTTP server project.
  • Page 42: Lwip_Tcp_Echo_Server

    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 ⚫...
  • Page 43: Lwip_Udo_Echo_Client

    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.
  • Page 44: Lwip_Udo_Echo_Server

    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.
  • Page 45: Lwip_Http_Server_Raw

    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 ⚫...
  • Page 46: Freertos

    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 ⚫...
  • Page 47 Open429I-C User Manual Operation and result ⚫ Fit all the LED JMP. LED1 flashing. Version: V1.3.3, Date: 2019.04.02 47 / 47...

Table of Contents