Open405R-C
[中文]
Getting Started with modules
We provide various modules for Open405R-C development board aiming to improve your development efficiency. These modules are not only designed for STM32 but also can be used for many other MCU platforms. Let's begin with the demos.
Development Environment
- KEIL MDK Version:4.7
- Programmer/Debugger:ULINK2
- Programming/Debugginginterface: JTAG/SWD
- Resultof demos which based on serial port are all checked via SSCOM32, defaultconnection is connect the serial port converter to the USART1 interface.
- Serial port assistant SSCOM3.2 settings:
Select a proper COM port | |
---|---|
Baud rate | 115200 |
Data bits | 8 |
Stop bits | 1 |
Parity bits | None |
Flow control | None |
ADC+DMA
Overview
AD acquisitiondemo
Hardwareconnection
|
Operationand result
- Rotate the potentiometer on the Analog Test Board, the belowinformation will be printed on the serial debugging assistant:
CAN1 TOCAN2-Normal
Overview
CAN1 to CAN2communication demo
Hardwareconnection
|
Operationand result
- The below information will be printed on the serial debuggingassistant:
CAN-Normal
Overview
CANcommunication between two boards
Hardwareconnection
|
Operationand result
- The below information will be printed on the serial debuggingassistant:
DAC
Overview
DA output demo,output via DMA channel
Hardwareconnection
|
Operationand result
- You should hear sound from the Analog Test Board.
DS18B20
Overview
Connect the DS18B20,detect the temperature
Hardware connection
Insert the DS18B20 to theONEWIRE socket
Operation and result
The below information willbe printed on the serial debugging assistant:
GPIO_LED_KEY
Overview
IO input, output demo
Hardware connection
Short the LED jumper,joystick jumper on the board
Operation and result
Push the button or joystick; the LEDstatus should keep changing accordingly.
I2C
Overview
Read and writedata on E2PROM via I2C protocol
Hardware connection
|
Software configuration
Connect the module to I2C1 interface |
Connect the module to I2C2 interface |
#define Open_I2C1 //#define Open_I2C2 |
//#define Open_I2C1 #define Open_I2C2 |
Operation and result
- The below information will be printed on the serial debuggingassistant:
I2S_UDA1380
Overview
Drive theUDA1380 Board to play music via Fillips I2S protocol
Hardware connection
|
Operation and result
Push the RESET key, youshould hear music from the board.
LCD22-picture
Overview
This LCD is 2.2inch resistive touch screen LCD, the resolution is 320x240, drive by mode ofSPI, greatly reduce the pins, MCU with little IO can also available to driveit.
This demo showsdot, the drawing line, the drawing circle, character, etc displayed on the LCD.
Hardware connection
|
Operation and result
Display image on the LCD:
MCO_OUT
Overview
GPIO output PWM
Hardware connection
Connect the oscilloscopeprobe to the onboard PA8 pinheader
Operation and result
The below externalcrystal signal will display on the Oscilloscope:
NRF24L01
Overview
NRF24L01 transmits datavia wireless way.
Hardware connection
|
Software configuration
Two NRF24L01are needed for this demo, the software configuring as below:
Whenconfiguring as mode of transmitting, enabled: #define T_O_R 1, comment out: //#define T_O_R 0;
Whenconfiguring as mode of receiving, enable: #define T_O_R 0,comment out: //#define T_O_R 0
Operation and result
Message will be printed on the serial debugging assistant:
SD_FatFS
Overview
Read and write SD card, SDcard is FAT file system.
Hardware connection
|
Operation and result
Message will be printed on the serial debugging assistant.
SDIO
Overview
Read and writeinformation in SD card
Hardware connection
|
Operation and result
Message will be printed on the serial debugging assistant.
SPI
Overview
Drive the AT45DBXXDataFlash Board via SPI interface
Hardware connection
|
Configuration
Connect the module to the board via SPI1 interface |
Connect the module to the board via SPI2 interface |
//#define Open_SPI2 |
//#define Open_SPI1
|
Operation and result
Thebelow information will be printed on the serial debugging assistant:
TouchPanel
Overview
Calibratethe touch screen by click
three times, and thenenter into drawing board in the touch screen interface.
You can drawlines freely on the drawing board.
Hardware connection
Connect the 2.2inch320x240 Touch LCD (A) to the board
Operation and result
Message will be displayedon the LCD
Application
Handheld device display
uCGUI3.9-LCD22
Overview
GUI demo
Hardware connection
|
Operation and result
- Display image on the LCD
uCOSII2.91+UCGUI3.90A
Overview
uCOSII+GUI demo
Hardware connection
|
Operation and result
- Information will be displayed on the LCD; the LED will keepblinking.
USARTx_pritf
Overview
USART serial portcommunication demo
Hardware connection
Operation and result
The belowinformation will be printed on the serial debugging assistant:
USB FS
2.19.1 USB FS Examples(USB_Device_Examples-HID)
Overview
FS USB demo, thedevelopment board works as USB device; including USB flash drive, mouse, serialport
Hardware connection
|
Operation and result
HID
The USB devicewill be appeared on the computer Device Manager, control the computer cursor byjoystick.
2.19.2 USB FS Examples(USB_Device_Examples-MSC)
Overview
FS USB demo, thedevelopment board works as USB device; including USB flash drive, mouse, serialport
Hardware connection
|
Operation and result
- MSC
“USB Mass storage device” will appeared onthe computer Device Manager, the SD card appears as a removable hard drive onthe PC:
2.19.3 USB FS Examples(USB_Device_Examples-VCP)
Overview
FS USB demo, thedevelopment board works as USB device; including USB flash drive, mouse, serialport
Hardware connection
|
Operation and result
- VCP
Appear on the computer device manager.
2.19.4 USB FS Examples(USB_Host_Device_Examples- DRD)
Overview
FS USB demo, thedevelopment board works as USB device or Host; selecting via button
Hardware connection
|
Operation and result
Below informationdisplayed on the LCD:
Choose Host or Device viajoystick:
- Part 1:
|
- Part 2:
|
“USB Massstorage device” will appeared on the computer Device Manager, the SD cardappears as a removable hard drive on the PC
2.19.5 USB FS Examples(USB_Host_Examples-HID)
Overview
FS USB demo, thedevelopment board works as USB host; including USB flash drive, mouse
Hardware connection
|
Operation and result
- HID
The green dot on the LCDwill move following the mouse.
2.19.6 USB FS Examples(USB_Host_Examples-MSC)
Overview
FS USB demo, thedevelopment board works as USB host; including USB flash drive, mouse
Hardware connection
|
Operation and result
- MSC
Display message/info onthe LCD, the example code will place a TXT file into the USB Flash Drive, listthe files in the USB Flash Drive, and display the picture.bmp
USB HS
2.20.1 USB HS Examples(USB_Device_Examples-HID)
Overview
HS USB demo, thedevelopment board works as USB host; including USB flash drive, mouse
Hardware connection
|
Operation and result
- HID
Control the computercursor by joystick
2.20.2 USB HS Examples(USB_Device_Examples-MSC)
Overview
HS USB demo, thedevelopment board works as USB device; including USB flash drive, mouse
Hardware connection
|
Operation and result
- MSC
“USB Massstorage device” will appeared on the computer Device Manager, the SD cardappears as a removable hard drive on the PC.
2.20.3 USB HS Examples(USB_Device_Examples-VCP)
Overview
HS USB demo, thedevelopment board works as USB device; including USB flash drive, mouse
Hardware connection
|
Operation and result
- VCP
An USB VCP (Virtual ComPort) exists on the PC, short the RX TX pins of USART3 for selfsending-receiving.
2.20.4 USB HS Examples(USB_Device_Examples-DualCore)
Overview
HS USB demo, the developmentboard works as USB device; including USB flash drive, mouse
Hardware connection
|
Operation and result
- DualCore
Part 1:Connect the onboard FS USB interface and PCUSB port through a USB cable; Control the computercursor by joystick;
Part 2: Connect the USB3300 USB HS Board USBinterface and PC USB port through a USB cable; you should find the SD cardas a removable storage device on the computer.
2.20.5 USB HS Examples(USB_Host_Examples-HID)
Overview
HS USB demo, thedevelopment board works as USB host; including USB flash drive, mouse
Hardware connection
|
Operation and result
- HID
The green dot on the LCDwill move following the mouse.
2.20.6 USB HS Examples(USB_Host_Examples-MSC)
Overview
HS USB demo, thedevelopment board works as USB host; including USB flash drive, mouse
Hardware connection
|
Operation and result
- MSC
Display message/info onthe LCD, the example code will place a TXT file into the USB Flash Drive, listthe files in the USB Flash Drive.
2.20.7 USB HS Examples(USB_Host_Examples-DualCore)
Overview
HS USB demo, thedevelopment board works as USB host; including USB flash drive, mouse
Part 1:HS Host
Hardware connection
|
Operation and result
- MSC
Display message/info onthe LCD, the example code will place a TXT file into the USB Flash Drive, listthe files in the USB Flash Drive while pressing the User key.
Part 2:FS Host:
Hardware connection
|
Operation and result
- HID
The green dot on the LCDwill move following the mouse.
2.20.8 USB HS Examples(USB_Host_Device_Examples-DRD)
Overview
HS USB demo, thedevelopment board works as USB host or device; including USB flash drive, mouse
Part 1:HS Host
Hardware connection
|
Operation and result
- MSC
The LCD will display thefile list in the USB flash drive
Part 2:HS Device
Hardware connection
|
Operation and result
- MSC
You should find the SD cardas a removable storage device on the computer.
Resources
STM32 Software
IDE
Programmers
USB Driver
Other Software
STM32F4 Datasheets
- STM32F405_STM32F407-Datasheet.pdf
- STM32F427_STM32F429-Datasheet.pdf
- STM32F437_STM32F439-Datasheet.pdf
- STM32F4-Reference.pdf
- REDIRECT Template:Related Resources
Support
Support
If you require technical support, please go to the Support page and open a ticket.