Open32F0-D

From Waveshare Wiki
Revision as of 05:58, 3 November 2016 by Waveshare-admin (talk | contribs) (Text replace - " [http://www.waveshare.com/" to " {{Amazon|default=display |More = [http://www.waveshare.com/")
Jump to: navigation, search

[中文]

Open32F0-D Standard
STM32F0 Development Board
Open32F0-D-Standard l.jpg

STM32 development board designed for the ST official tool STM32F0DISCOVERY, and integrates various standard interfaces, pretty easy for peripheral expansions.
Open32F0-D Package A
STM32F0 Development Board
Open32F0-D-Package-A l.jpg
Open32F0-D Package B
STM32F0 Development Board
Open32F0-D-Package-B l.jpg
{{{name4}}}

{{{name5}}}

Introduction

STM32 development board designed for the ST official tool STM32F0DISCOVERY, and integrates various standard interfaces, pretty easy for peripheral expansions.

{{Amazon|default=display |More = More

Getting Started with modules

We provide various modules for Open32F0-D 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

  • KEILMDK Version:4.54
  • Programmer/Debugger:STM32F0DISCOVERY onboard SWD
  • Programming/Debugginginterface: 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 assistantSSCOM3.2 settings:
Select a proper COM port
Baud rate 115200
Data bits 8
Stop bits 1
Parity bits None
Flow control None

8IOs

Overview

8I/Os demo, detect the 8 independent buttonis pressed or not

Hardware connection

Open32F0-D-User-Manual-2.jpg

  • Connect the 8 Push Button to the onboard 8 I/Os connector (Make sure the G pinheader is connect to the board GND pinheader)

Operation and result

Thebelow information will be printed on the serial debuggingassistant

Open32F0-D-User-Manual-3.jpg

24L01

Overview

NRF24L01 transmits datavia wireless way.

Hardware connection

Open32F0-D-User-Manual-4.jpg

  • Connect two NRF24L01 boards to the board via SPI interface

Software configuration

Two NRF24L01 areneeded for this demo, configuring as below:

Whenconfiguring as sending mode, enable: #define T_O_R 1, comment out://#define T_O_R 0

Whenconfiguring as receiving mode, 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.

ADC+DMA

Overview

AD acquisitiondemo

Hardwareconnection

Open32F0-D-User-Manual-5.jpg

  • Connect the Analog Test Board to the board via 8 I/Os (ADC+DAC)

Operationand result

  • Rotate the onboard potentiometer, the AD message will be printedon the serial debugging assistant:

Open32F0-D-User-Manual-6.jpg

DAC+DMA

Overview

DA output demo, output viaDMA channel.

Hardwareconnection

Open32F0-D-User-Manual-5.jpg

  • Connect the Analog Test Board to the board via 8 I/Os (ADC+DAC)
  • Connect the 5V pinheaders on both the main board and the Analog Test Board via jumper wire

Operationand result

  • You may hear sound from the Analog Test Board when press the Resetbutton.

FATFS V0.08A-SD Card

Overview

Readinformation in the SD card; SD card is FAT file system.

Hardware connection

Open32F0-D-User-Manual-7.jpg

  • Connect the Micro SD Storage Board to the board via SPI2 interface.

Insert the SD card to the Micro SD Storage Board socket

  • Connect the CD pin on the Micro SD Storage Board to the board PB0 pin via Dupont wire.

Operation and result

The below information will be printed on the serial debugging assistant:

Open32F0-D-User-Manual-8.jpg

GPIOLED

Overview

LED demo

Hardware connection

Operation and result

The two LEDs on the Discoveryboard blinking

GPIO LED JOYSTICK

Overview

Change LEDstatus via button

Hardware connection

Operation and result

Press the User key, theLED status will change accordingly.

I2C

Overview

Read and writedata on E2PROM via I2C protocol

Hardware connection

Open32F0-D-User-Manual-9.jpg

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

Operation and result

The below information will be printed on the serial debugging assistant:

Open32F0-D-User-Manual-10.jpg

I2S UDA1380 & SD_FatFS(DMA)

Overview

Drive the UDA1380 Board toplay music by using Fillips I2S protocol.

Hardware connection

Open32F0-D-User-Manual-11.jpg

  • Connect Micro SD Storage Board to the board via SPI2 interface.
  • Insert the SD card to the Micro SD Storage Board socket.
  • Connect the CD pin of the Micro SD Storage Board to the board PB0 pin via DuPont wire.
  • Put “audio.wav“ file to the SD card
  • Connect UDA1380 Board to the board via I2S connector.
  • Connect the earphone to the UDA1380 Board via LINEOUT interface.

Operation and result

You can hear music while pressing the RESET key.

JOYSTICK

Overview

Change the LEDstatus via button, joystick

Hardware connection

Short the JOYSTICK JMP

Operation and result

The LED status will changeaccordingly while press the JOYSTICK .

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 IOs can also available to driveit.

This demo showsdot, the drawing line, the drawing circle, character, etc displayed on the LCD.

Hardware connection

Open32F0-D-User-Manual-12.jpg

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

Operation and result

Message will be displayedon the LCD.

LCD22_TouchPanel

Overview

Calibrate the touch screen by click

Open32F0-D-User-Manual-13.jpg

three times, and thenenter into drawing board in the touch screen interface.

You can draw lines 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

Open32F0-D-User-Manual-14.jpg

Touch-screen calibration interface

Application

Handheld device display

One-Wire

Overview

Connect the DS18B20,detect the temperature

Hardware connection

Connect the DS18B20 to theboard via One-Wire interface

Operation and result

The below information will be printed on the serial debugging assistant:

Open32F0-D-User-Manual-15.jpg

SPI

Overview

Drives the AT45DBXXDataFlash Board via SPI interface

Hardware connection

Open32F0-D-User-Manual-16.jpg

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

Operation and result

The below information will be printed on the serial debugging assistant:

Open32F0-D-User-Manual-17.jpg

uCOS-II-V2.91

Overview

Build two LED tasks based on uCOSII; switching the twotasks

Hardware connection

Operation and result

The two LEDblinking.

uCOS-II-V2.91+LCD

Overview

Ucosll+GUI demo

Hardware connection

Open32F0-D-User-Manual-12.jpg

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

Operation and result

  • Message displayed on the LCD; LED blinking.

USART

Overview

USART serial port communicationdemo

Hardware connection

Operation and result

The below information will be printed on the serial debugging assistant:

Open32F0-D-User-Manual-18.jpg

Resources

STM32 Software

IDE

Programmers

USB Driver

Other Software

STM32F0 Datasheets

  1. REDIRECT Template:Related Resources

FAQ

Support

Support

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