Waveshare Open429I-C (HAL) User Manual Download Page 1

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.

  W

hat’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 

Summary of Contents for Open429I-C (HAL)

Page 1: ...T 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...

Page 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...

Page 3: ...one 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 Ho...

Page 4: ...pplication 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...

Page 5: ...es 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 j...

Page 6: ...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 camer...

Page 7: ...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...

Page 8: ...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 be...

Page 9: ...n 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 Th...

Page 10: ...ardware 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 O...

Page 11: ...tton 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 us...

Page 12: ...on 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 val...

Page 13: ...e 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...

Page 14: ...C1 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 Dr...

Page 15: ...SPI Example AT45DBXX ID is 0x1F 0x24 0x00 0x00 FALSH AT45DBXX Write Test 0 1 2 3 4 255 FALSH AT45DBXX Read Test 0 1 2 3 4 255 2 11 CAN Overview CAN1 TO CAN2 communication demo Hardware connection Con...

Page 16: ...s 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 Info...

Page 17: ...unction 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 M...

Page 18: ...demo Operation and result Information are printed to serial assistant WaveShare Open7XXI C Board waveshare net waveshare net waveshare net 2 17 RNG Overview Random numbers generate demo Operation and...

Page 19: ...rview 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 S...

Page 20: ...se it Warning this program may erase all the TF card data Make sure you have backed up Press y to continue Initialize SD card successfully SD card information CardCapacity 8053063680 CardBlockSize 512...

Page 21: ...fffff 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 Informat...

Page 22: ...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...

Page 23: ...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 I2S WM8960 Overview Drive WM8960 Au...

Page 24: ...ard 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 audios are playing...

Page 25: ...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 s...

Page 26: ...03 0xFF Read several 0x00 0x01 0x02 0x03 0xFF NandFlash Read Write Test OK 2 26 FSMC SDRAM Overview Read write SDRAM via FSMC Operation and result Information are printed to serial assistant SDRAM exa...

Page 27: ...V1 3 3 Date 2019 04 02 27 47 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...

Page 28: ...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...

Page 29: ...9 47 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 1024x6...

Page 30: ...o 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...

Page 31: ...ate 2019 04 02 31 47 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 7i...

Page 32: ...3 3 Date 2019 04 02 32 47 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 7in...

Page 33: ...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_STA...

Page 34: ...are 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...

Page 35: ...FS DEVICE MSC_STANDALONE Overview FS USB Device MSC demo Open board is recognized as mass storage device Hardware connection Connect mini USB interface to PC by mini USB cable Connect Micro SD Storag...

Page 36: ...s 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 O...

Page 37: ...use 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...

Page 38: ...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...

Page 39: ...e 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...

Page 40: ...Device MSC demo Open board is recognized as U drive by PC Hardware connection Connect USB cable to OTG interface of USB3300 and PC Connect Micro SD Storage Board to Open board insert SD card to Micro...

Page 41: ...erver 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 connect...

Page 42: ...l 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 informa...

Page 43: ...ocol 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 Operati...

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

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

Page 46: ...an 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 Version V1 3 3 Date 2019 04 02 47 47 Operation and result Fit all the LED JMP LED1 flashing...

Reviews: