Difference between revisions of "Open405R-C"

From Waveshare Wiki
Jump to: navigation, search
Line 18: Line 18:
 
|website_en=[http://www.waveshare.com/ Waveshare website]
 
|website_en=[http://www.waveshare.com/ Waveshare website]
 
}}
 
}}
 +
== Introduction ==
 +
STM32 development board designed for STM32F405R series, features the STM32F405RGT6 MCU, and integrates various standard interfaces, pretty easy for peripheral expansions.
 +
 +
[http://www.waveshare.com/Open405R-C-Standard.htm More]
 
{{OpenX05R-C User Manual}}
 
{{OpenX05R-C User Manual}}
 
== Resources ==
 
== Resources ==

Revision as of 06:39, 16 November 2015

[中文]

Open405R-C Standard
STM32F4 Development Board
Open405R-C-Standard l.jpg

STM32 development board designed for STM32F405R series, features the STM32F405RGT6 MCU, and integrates various standard interfaces, pretty easy for peripheral expansions.
Open405R-C Package A
STM32F4 Development Board
Open405R-C-Package-A l.jpg
Open405R-C Package B
STM32F4 Development Board
Open405R-C-Package-B l.jpg
{{{name4}}}

{{{name5}}}

Introduction

STM32 development board designed for STM32F405R series, features the STM32F405RGT6 MCU, and integrates various standard interfaces, pretty easy for peripheral expansions.

More

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

Open205R-C-User-Manual-2.jpg

  • Connect the Analog Test Board to the board via SPI1(ADC+DAC)interface

Operationand result

  • Rotate the potentiometer on the Analog Test Board, the belowinformation will be printed on the serial debugging assistant:

Open205R-C-User-Manual-3.jpg

CAN1 TOCAN2-Normal

Overview

CAN1 to CAN2communication demo

Hardwareconnection

Open205R-C-User-Manual-4.jpg

  • Two "SN65HVD230 CAN Board" are required, connect them to the board respectively
  • Connect the two CAN modules via DuPont wires (CANL<->CANL, CANH<->CANH)

Operationand result

  • The below information will be printed on the serial debuggingassistant:

Open205R-C-User-Manual-5.jpg

CAN-Normal

Overview

CANcommunication between two boards

Hardwareconnection

  • Two "SN65HVD230 CAN Board" are required, connect them to the board respectively
  • Connect the two CAN modules via DuPont wires (CANL<->CANL, CANH<->CANH)

Operationand result

  • The below information will be printed on the serial debuggingassistant:

Open205R-C-User-Manual-5.jpg

DAC

Overview

DA output demo,output via DMA channel

Hardwareconnection

Open205R-C-User-Manual-2.jpg

  • Connect the Analog Test Board to the board via SPI1(ADC+DAC)interface
  • Connect the 5V pinheaders on both the main board and the Analog Test Board via jumper wire

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:

Open205R-C-User-Manual-6.jpg

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

Open205R-C-User-Manual-7.jpg

  • Connect the AT24/FM24 Board to the board via I2CX interface( connect to I2C1 or I2C2 depends on the program)

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:

Open205R-C-User-Manual-8.jpg

I2S_UDA1380

Overview

Drive theUDA1380 Board to play music via Fillips I2S protocol

Hardware connection

Open205R-C-User-Manual-9.jpg

  • Connect the UDA1380 Board to the onboard I2S interface
  • Connect the headphone to the HEADPHONE jack

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

Open205R-C-User-Manual-10.jpg

  • Connect the 2.2inch 320x240 Touch LCD (A) to the board.

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:

Open205R-C-User-Manual-11.jpg

NRF24L01

Overview

NRF24L01 transmits datavia wireless way.

Hardware connection

Open205R-C-User-Manual-12.jpg

  • Connect a serial port converter to the onboard USART1 interface
  • Two " NRF24L01 Board" are required, connect them to two Open103R boards spectively

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

Open205R-C-User-Manual-13.jpg

  • Connect the Micro SD Storage Board (with SD card) to the board via SPI1 interface

Operation and result

Message will be printed on the serial debugging assistant.

SDIO

Overview

Read and writeinformation in SD card

Hardware connection

Open205R-C-User-Manual-13.jpg

  • Connect the Micro SD Storage Board (with SD card) to the board via SPI1 interface

Operation and result

Message will be printed on the serial debugging assistant.

SPI

Overview

Drive the AT45DBXXDataFlash Board via SPI interface

Hardware connection

Open205R-C-User-Manual-14.jpg

  • Connect the AT45DBXX DataFlash Board to the board via SPIX interface( connect to SPI1 or SPI2 depends on the program)

Configuration

Connect the module to the board via SPI1 interface

Connect the module to the board via SPI2 interface

  1. define Open_SPI1

//#define Open_SPI2

//#define Open_SPI1

  1. define Open_SPI2

Operation and result

Thebelow information will be printed on the serial debugging assistant:

Open205R-C-User-Manual-15.jpg

TouchPanel

Overview

Calibratethe touch screen by click

Open205R-C-User-Manual-16.jpg

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

Open205R-C-User-Manual-17.jpg Touch-screen calibration interface

Application

Handheld device display

uCGUI3.9-LCD22

Overview

GUI demo

Hardware connection

Open205R-C-User-Manual-10.jpg

  • Connect 2.2inch 320x240 Touch LCD (A) to the board

Operation and result

  • Display image on the LCD

uCOSII2.91+UCGUI3.90A

Overview

uCOSII+GUI demo

Hardware connection

Open205R-C-User-Manual-18.jpg

  • Connect the 2.2inch 320x240 Touch LCD (A) to the board

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:

Open205R-C-User-Manual-19.jpg

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

Open205R-C-User-Manual-20.jpg

  • Open the LED jumper; Short the OTG jumper.
  • Connect the onboard Mini USB interface and PC USB port through a USB cable
  • Connect the 2.2inch320x240TouchLCD (A) to the board

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

Open205R-C-User-Manual-21.jpg

  • Open the LED jumper; Short the OTG jumper.
  • Connect the Micro SD Storage Board (with SD card) to the onboard SDIO interface
  • Connect the onboard Minni USB interface and PC USB port through a USB cable
  • Connect the 2.2inch320x240TouchLCD (A) to the board

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

Open205R-C-User-Manual-20.jpg

  • Open the LED jumper; Short the OTG jumper.
  • Connect the onboard Mini USB interface and PC USB port through a USB cable
  • Connect the 2.2inch320x240TouchLCD (A) to the board

Operation and result

  • VCP

Open205R-C-User-Manual-22.jpg

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

Open205R-C-User-Manual-20.jpg

  • Open the LED jumper; Short the OTG jumper.
  • Connect the onboard Mini USB interface and PC USB port through a USB cable
  • Connect the 2.2inch320x240TouchLCD (A) to the board

Operation and result

Below informationdisplayed on the LCD:

Open205R-C-User-Manual-23.jpg

Choose Host or Device viajoystick:

  • Part 1:

Open205R-C-User-Manual-24.jpg

  • Connect the Micro SD Storage Board (with SD card) to the onboard SDIO interface
  • Connect the onboard Mini USB interface and PC USB port through a USB cable
  • Connect the 2.2inch320x240TouchLCD (A) to the board
  • Part 2:

Open205R-C-User-Manual-21.jpg

  • Connect the Micro SD Storage Board (with SD card) to the onboard SDIO interface
  • Connect the onboard Mini USB interface and PC USB port through a USB cable

“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

Open205R-C-User-Manual-25.jpg

  • Open the LED jumper; Short the OTG jumper.
  • Connect a USB mouse to the on board USB interface through an USB OTG cable
  • Connect the 2.2inch320x240TouchLCD (A) to the board

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

Open205R-C-User-Manual-24.jpg

  • Open the LED jumper; Short the OTG jumper.
  • Connect a USB Flash Drive(Place picture.bmp into the USB Flash Drive) to the on board USB interface through an USB OTG cable;
  • Connect the 2.2inch320x240TouchLCD (A) to the board.

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

Open205R-C-User-Manual-26.jpg

  • Open the LED、OTG jumper;
  • Connect the USB3300 board to the onboard ULPI interface.
  • Connect the USB3300 USB HS Board to the PC via the onboard USB port through a USB cable
  • Connect the 2.2inch320x240TouchLCD (A) to the board

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

Open205R-C-User-Manual-27.jpg

  • Open the LED、OTG jumper;
  • Connect the USB3300 board to the onboard ULPI interface.
  • Connect the Micro SD Storage Board (with SD card) to the board via SDIO interface
  • Connect the USB3300 Board to the PC via USB port through a USB cable
  • Connect the 2.2inch320x240TouchLCD (A) to the board

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

Open205R-C-User-Manual-20.jpg

  • Open the LED、OTG jumper;
  • Connect the onboard USB interface and PC USB port through a USB cable
  • Connect the 2.2inch320x240TouchLCD (A) to the board

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

Open205R-C-User-Manual-27.jpg

  • Open the LED、OTG jumper;
  • Connect the USB3300 board to the onboard ULPI interface.
  • Connect the Micro SD Storage Board (with SD card) to the board via SDIO interface
  • Connect the USB3300 USB interface and PC USB port through a USB cable
  • Connect the 2.2inch320x240TouchLCD (A) to the board

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

Open205R-C-User-Manual-28.jpg

  • Open the LED、OTG jumper;
  • Connect the USB3300 board to the onboard ULPI interface.
  • Connect a USB mouse to the USB3300 board USB interface.
  • Connect the 2.2inch320x240TouchLCD (A) to the board

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

Open205R-C-User-Manual-29.jpg

  • Open the LED、OTG jumper;
  • Connect the USB3300 board to the onboard ULPI interface.
  • Connect a USB flash drive to the USB3300 board via USB interface
  • Connect the 2.2inch320x240TouchLCD (A) to the board

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

Open205R-C-User-Manual-29.jpg

  • Open the LED、OTG jumper;
  • Connect the USB3300 board to the onboard ULPI interface.
  • Connect a USB flash drive to the USB3300 board via USB interface
  • Connect the 2.2inch320x240TouchLCD (A) to the board

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

Open205R-C-User-Manual-25.jpg

  • Open the LED jumper;Short the OTG jumper.
  • Connect a USB mouse to the on board USB interface through an USB OTG cable
  • Connect the 2.2inch320x240TouchLCD (A) to the board

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

Open205R-C-User-Manual-29.jpg

  • Open the LED、OTG jumper;
  • Connect the USB3300 board to the onboard ULPI interface.
  • Connect a USB flash drive to the USB3300 board via USB interface
  • Connect the 2.2inch320x240TouchLCD (A) to the board

Operation and result

  • MSC

The LCD will display thefile list in the USB flash drive

Part 2:HS Device

Hardware connection

Open205R-C-User-Manual-27.jpg

  • Open the LED、OTG jumper;
  • Connect the USB3300 board to the onboard ULPI interface.
  • Connect the Micro SD Storage Board (with SD card) to the board via SDIO interface
  • Connect the USB3300 USB interface and PC USB port through a USB cable
  • Connect the 2.2inch320x240TouchLCD (A) to the board

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

  1. REDIRECT Template:Related Resources

Support

Support

If you require technical support, please go to the Support page and open a ticket.