Difference between revisions of "Open407Z-C"

From Waveshare Wiki
Jump to: navigation, search
Line 26: Line 26:
 
*[[:File:Open407Z-C-Demo.7z|Demo]]
 
*[[:File:Open407Z-C-Demo.7z|Demo]]
 
{{STM32_Software|stm32f4}}
 
{{STM32_Software|stm32f4}}
{{STM32_Datasheets|stm32f4}}
+
{{STM32_Datasheets|series=stm32f4}}
{{STM32_Documents|stm32f4}}
+
{{STM32_Documents|series=stm32f4}}
 
==Support==
 
==Support==
 
{{Service00}}
 
{{Service00}}

Revision as of 03:35, 14 November 2015

[中文]

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

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

{{{name5}}}

Open407Z-C Testing Guide

Basic settings of the experiment

  • Programming Interface: SWD
  • Serialport settings: Select a proper COM port, configure as follows:
    • Baud rate:115200;
    • Data bits:8;
    • Stop bits:1;
    • Parity bits:None;
    • Flow control:None
  • Power supply: 5V power supply is required.
  • Hardware Connection: For the tests that require the serial portconverter for debugging, please connect the converter to the board via pinheaders, and then connect it to PC by USB cable.

ADC+DMA

Overview

ADCanalog voltage acquisition

Hardware Connection

  • Connect the serial port converter to theboard via USART2 interface.
  • Connect the Analog Test Board to theboard via SPI1 interface.

Asshown in the figure below:

Open407Z-C-User-Manual-1.jpg

Operation and Result

Launch the serial debugging assistant, and configure it asdescribed in chapter "Preparation".

Info/messagewill be displayed on the serial debugging assistant as adjusting the resistoron the module.

CAN1TO CAN2-Normal

Overview

CAN1TO CAN2-Normal demo

Hardware Connection

  • Connectthe serial port converter to the board via USART3.
  • Two "SN65HVD230 CAN Board" arerequired for this test.
  • Connect the two "CAN Board" tothe board via CAN1, CAN2 interface respectively.
  • Connect the two "CAN Board" by jumper wires(CANH <-> CANH, CANL <-> CANL).

Asshown in the figure below:

Open407Z-C-User-Manual-2.jpg

Operation and Result

Launch the serial debugging assistant, and configure it asdescribed in chapter "Preparation".

Pressthe USER key and check the results on the serial debugging assistant.

DAC

Overview

DACoutput demo

Hardware Connection

  • Connect the Analog Test Board to theboard via SPI1 interface
  • Connect the 5V pin headers on both themain board and the Analog Test Board via jumper wire.

Asshown in the figure below:

Open407Z-C-User-Manual-3.jpg

Operation and Result

You should hear the sound of the triangular wave from the AnalogTest Board.

DCMI_OV7670

Overview

Digitalcamera OV7670 demo

Hardware Connection

  • Connect the OV7670 Camera Board to theboard via DCMI interface.
  • Connect the 3.2inch 320x240 Touch LCD (C) to the board via LCD interface.

Asshown in the figure below:

Open407Z-C-User-Manual-4.jpg

Operation and Result

Imagesacquired from the camera will be displayed on the LCD.

DCMI_OV9655

Overview

Digitalcamera OV9655 demo

Hardware Connection

  • Connect the OV9655 Camera Board to theboard via DCMI interface.
  • Connect the 3.2inch 320x240 Touch LCD(A) to the board via LCD interface.

Asshown in figure below:

Open407Z-C-User-Manual-5.jpg

Operation and Result

Imagesacquired from the camera will be displayed on the LCD.

DS18B20+

Overview

DS18B20 temperature measurement demo

Hardware Connection

  • Insert the DS18B20+ to the ONEWIRE Interface.
  • Connect the serial port converter to theboard via USART3.

Asshown in the figure below:

Open407Z-C-User-Manual-6.jpg

Operation and Result

Launch the serial debugging assistant, and configure it asdescribed in chapter "Preparation".

Checktemperature measurement results on the serial debugging assistant.

GPIO_Key_LED

Overview

LED,Pushbutton and Joystick demo

Hardware Connection

  • Short the 4 LED jumpers on the board.
  • Short the push button and joystick jumpers on the board.(2 for KEY JMP and 5 for JOYSTICK JMP)

Asshown in the figure below:

Open407Z-C-User-Manual-7.jpg

Operation and Result

Press the key or joystick; the LED status shouldkeep changing accordingly.

I2C

Overview

I2CEEPROM demo

Hardware Connection

  • Connect the serial port converter to theboard via UART3 interface.
  • Connect the AT24CXX EEPROM Board to theboard via I2Cx interface.

Asshown in the figure below:

Open407Z-C-User-Manual-8.jpg

Operation and Result

Launch the serial debugging assistant, and configure it asdescribed in chapter "Preparation".

Check the test results of the I2C EEPROM on the serial debuggingassistant.

LCD-HY32D_FSMC

Overview

LCDdisplay demo

Hardware Connection

  • Connect the 3.2inch 320x240 Touch LCD(A) to the board via LCD Interface. As shown in the figure below:

Open407Z-C-User-Manual-9.jpg

Operation and Result

Informationwill be displayed on the LCD

MCO_OUT

Overview

Clocksignal output demo

Operation and Result

Output8MHz external crystal signal on the MCO0 (PA8 pin)

Nand Flash_SCB0

Overview

NandFlash_SCB0 demo

Hardware Connection

  • Connect the NandFlash Board (A)(K9F1G08U0D SCB0 onboard) to the board via 8BIT FSMC interface.
  • Connect the serial port converter to theboard via USART3.

Asshown in the figure below:

Open407Z-C-User-Manual-10.jpg

Operation and Result

Launch the serial debugging assistant, and configure it asdescribed in chapter "Preparation".

Info/messagewill be displayed on the serial debugging assistant.

NorFlash

Overview

NorFlashdemo

Hardware Connection

  • Connect the NorFlash Board (A) to theboard via FSMC interface
  • Connect the serial port converter to theboard via USART3

Asshown in the figure below:

Open407Z-C-User-Manual-11.jpg

Operation and Result

Launch the serial debugging assistant, and configure it asdescribed in chapter "Preparation".

Info/messagewill be displayed on the serial debugging assistant.

PS2

Overview

PS2keyboard demo

Hardware Connection

  • Connect the PS2 keyboard to the boardvia PS2 interface.
  • Connect the serial port converter to theboard via USART3 interface.

Asshown in the figure below:

Open407Z-C-User-Manual-12.jpg

Operation and Result

Launch the serial debugging assistant, and configure it asdescribed in chapter "Preparation".

Pressany key on the keyboard, the corresponding key value will be displayed on the serialdebugging assistant.

RTC

Overview

RTCdemo

Hardware Connection

  • Connect the serial port converter to theboard via USART3 interface. As shown in the figure below:

Open407Z-C-User-Manual-13.jpg

Operation and Result

Launch the serial debugging assistant, and configure it asdescribed in chapter "Preparation".

Followthe tips and input data, Info/message will be displayed on the serial debuggingassistant..

SD_FatFS

Overview

SDIOinterface + FatFS demo

Hardware Connection

  • Connect the Micro SD Storage Board (withSD card) to the board via SDIO interface.
  • Connect the serial port converter to theboard via USART3 interface.

Asshown in the figure below:

Open407Z-C-User-Manual-14.jpg

Operation and Result

Launch the serial debugging assistant, and configure it asdescribed in chapter "Preparation".

Info/messagewill be displayed on the serial debugging assistant.

SDIO

Overview

SDIOinterface demo

Hardware Connection

  • Connect the Micro SD Storage Board (withSD card) to the board via SDIO interface.
  • Connect the serial port converter to theboard via USART3 interface.

Asshown in the figure below:

Open407Z-C-User-Manual-15.jpg

Operation and Result

Launch the serial debugging assistant, and configure it asdescribed in chapter "Preparation".

Info/messagewill be displayed on the Serial debugging assistant.

SPI

Overview

SPIFlash demo

Hardware Connection

  • Connectthe serial port converter to the board via USART3 interface.
  • Connect the AT45DBXX DataFlash Board tothe board via SPIx interface.

Asshown in the figure below:

Open407Z-C-User-Manual-16.jpg

Operation and Result

Launch the serial debugging assistant, and configure it asdescribed in chapter "Preparation".

Info/messagewill be displayed on the serial debugging assistant.

SRAM

Overview

SRAMdemo

Hardware Connection

  • Connect the IS62WV12816BLL SRAM Board to the board viaFSMC interface.
  • Connect the serial port converter to theboard via USART3 interface.

As shownin the figure below:

Open407Z-C-User-Manual-17.jpg

Operation and Result

Launch the serial debugging assistant, and configure it asdescribed in chapter "Preparation".

Info/messagewill be displayed on the serial debugging assistant.

TouchPanel

Overview

LCDtouch screen demo

Hardware Connection

  • Connect the 3.2inch 320x240 Touch LCD (C) to the boardvia LCD interface.

Asshown in the figure below:

Open407Z-C-User-Manual-18.jpg

Operation and Result

LCDtouch screen function works, and allows writing and drawing on the LCD.

UcosII2.91+UCGUI3.90A

Overview

UcosII2.91+UCGUI3.90ADEMO

Hardware Connection

  • Connect the LCD to the board via LCDconnector.

Asshown in the figure below:

Open407Z-C-User-Manual-19.jpg

Operation and Result

Launch the serial debugging assistant, and configure it asdescribed in chapter "Preparation".

Info/messagewill be displayed on the uCOSView-V310G and LCD.

USARTx_pritf

Overview

USARTserial port demo

Hardware Connection

  • Connect the serial port converter to theboard via USART3 interface.Asshown in the figure below:

Open407Z-C-User-Manual-13.jpg

Operation and Result

Launch the serial debugging assistant, and configure it asdescribed in chapter "Preparation".

Info/messagewill be displayed on the uCOSView-V310G and LCD.

VS1003BMP3 Board

Overview

VS1003BMP3 Board demo

Hardware Connection

  • Connect the VS1003B MP3 Board to the board via SPI interface, as shown in the figure below:

Open407Z-C-User-Manual-20.jpg

Operation and Result

  • Insert the headphone to the Line Out port.
  • Connect the PC audio port and the VS1003BMP3 Board Line In port by audio cable.
  • Play music on the PC side, then
  • VS1003 (GPIO): P0 LED keeps blinking;
  • VS1003 (line in): Music will be heard from PC;
  • VS1003 (line out): Music will be heard from MCU FLASH;
  • VS1003 (record): Sound can be heard from the Miconboard.

I2S

Overview

I2Sdemo

(1) MCU_FLASH

Hardware Connection

  • Connect the UDA1380 Board to the board via I2S interface.Asshown in the figure below:

Open407Z-C-User-Manual-21.jpg

Operation and Result

Putthe headset to the HEADPHONE jack, then will hear the music stored in the MCUFLASH.

(2) SD_FatFS

Hardware Connection

  • ·Connectthe UDA1380 Board to the board via I2S interface.
  • Connect the Micro SD Storage Board (with SDCard) to the board via SDIO interface.
  • Connect the serial port converter to theboard via USART3.

Asshown in the figure below:

Open407Z-C-User-Manual-22.jpg

Operation and Result

  • Put the audio file named"Audio.wav" on SD card root directory.

•Put theheadset to the HEADPHONE jack. •SD cardaudio file information will be displayed on the serial debugging assistant. •Headsetwill output the music named Audio.wav on SD card root directory.

USBFS Example

Overview

USBFS demo

Hardware Connection

  • Shortthe 3 jumpers PC2-FLG, PC1-PWROUT and PA9-VBUS for the following demo.
  • Connect the 3.2inch 320x240 Touch LCD(A) to the board via LCD interface.
  • Short the Joystick, LED jumpers.

Asshown in the figure below:

Open407Z-C-User-Manual-23.jpg

(1) USB_Device_Examples--HID

Hardware Connection

  • Connect the PC and the Core board by USB Cable, as shownin the figure below:

Open407Z-C-User-Manual-24.jpg

Operation and Result

Message/info will be displayed on the LCD, andJOYSTICK can be used for simulating the mouse and controlling movement of thecomputer and mouse.

(2) USB_Device_Examples--MSC

Hardware Connection

  • Connectthe PC and the Core board by USB Cable.
  • Connect the Micro SD Storage Board (withSD card) to the board via SDIO interface, should open LEDs jumper

Asshown in the figure below:

Open407Z-C-User-Manual-25.jpg

Operation and Result

  • Message/info will be displayed on the LCD and SD card hard disk will befounded in the PC.

(3) USB_Device_Examples--VCP

Hardware Connection

  • Connectthe PC and the Core board by USB Cable. As shown in the figure below:

Open407Z-C-User-Manual-24.jpg

Operation and Result

Afterinstall the driver, the PC will detect the USB virtual COM port.

Asshown in the figure below:

Open407Z-C-User-Manual-26.jpg

(4) USB_Host_Examples--MSC

Hardware Connection

  • Connect the Core board and the USBFlash Drive by the USB OTG cable. As shown in the figure below:

Open407Z-C-User-Manual-27.jpg

Operation and Result

Message/infowill be displayed on the LCD; the example code will place a TXT file into theUSB Flash Drive, list the files in the USB Flash Drive, and display thepicture.bmp.

(5) USB_Host_Examples--HID

Hardware Connection

  • Connect the Coreboard and the USB mouse / keyboard by the USB OTG cable. As shownin the figure below:

Open407Z-C-User-Manual-28.jpg

Operation and Result

There will be information displayed on theLCD, and after follow the LCD tips, the mouse or keyboard will be identified:

  • When identified as USB keyboard, the LCD will display the informationinput from the keyboard.
  • When identified as USB mouse, the LCD will display the mouse currentstatus.

USBHS Example

Overview

USBHS Examples

Hardware Connection

  • Open the 3jumpersPC2-FLG, PC1-PWROUT and PA9-VBUS for the following test.
  • Connect the 3.2inch 320x240 Touch LCD(A) to the board via LCD interface.
  • Short the Joystick, LED jumpers.
  • Connect the USB3300 USB HS Board to theboard via ULPI interface.

Asshown in the figure below:

Open407Z-C-User-Manual-29.jpg

(1) USB_Device_Examples--DualCore

Hardware Connection

  • Part 1: Connect the PC and USB3300 USB HS Board OTGreceptacle by USB cable, and then connect the Micro SD Storage Board (with SDcard) to the board via SDIO interface.

Asshown in the figure below:

Open407Z-C-User-Manual-30.jpg

  • Part 2: Connect the core board (FS USB interface) and PCby USB cable; Short the 3 jumpers PC2-FLG, PC1-PWROUT, PA9-VBUS. As shownin the figure below:

Open407Z-C-User-Manual-24.jpg

Operation and Result

Part 1: Message/info will be displayed onthe LCD; SD card hard diskwill be founded in the PC.

  • Part 2: Message/info will be displayed on the LCD, and JOYSTICK canbe used for simulating the mouse and controlling movement of the computer andmouse.

(2) USB_Device_Examples--HID

Hardware Connection

  • Connect the PC and USB3300 USB HS Board OTG receptacle by USB cable. As shownin the figure below:

Open407Z-C-User-Manual-31.jpg

Operation and Result

  • Message will be displayed on the LCD,control the computer cursor by joystick LCD.

(3) USB_Device_Examples--MSC

Hardware Connection

  • Connect the PC and USB3300 USB HS Board OTG receptacle by USB cable, and connectthe Micro SD Storage Board (with SD card) to the onboard SDIO interface. As shownin the figure below:

Open407Z-C-User-Manual-32.jpg

Operation and Result

Messagewill be displayed on the LCD; SD card hard disk will be founded in the PC.

(4) USB_Device_Examples--VCP

Hardware Connection

  • Connect the PC and USB3300 USB HS BoardOTG receptacle by USB cable. As shown in the figure below:

Open407Z-C-User-Manual-31.jpg

Operation and Result

Afterinstall related driver, the PC will detect the USB virtual COM port.

Asshown in the figure below:

Open407Z-C-User-Manual-26.jpg

(5) USB_Device_Examples--MSC

Hardware Connection

  • Connect a USB flash drive to the USB3300USB HS Board HOST receptacle, as shown in the figure below:

Open407Z-C-User-Manual-33.jpg

Operation and Result

Message/infowill be displayed on the LCD; the example code will place a TXT file into theUSB Flash Drive, list the files in the USB Flash Drive, and display thepicture.bmp.

(6) USB_Host_Examples--DualCore

Hardware Connection

  • Part 1: Connect a USB flash drive to the USB3300 USB HSBoard HOST receptacle.

Asshown in the figure below:

Open407Z-C-User-Manual-34.jpg

  • Part 2: Connect a USB mouse or keyboard to the onboard FSUSB interface through a USB OTG cable, short 3 jumpers PC2-FLG, PC1-PWROUT, PA9-VBUS.

Asshown in the figure below:

Open407Z-C-User-Manual-28.jpg

Operation and Result

  • Part 1: The LCD will display the file list in the USBflash drive, the example code will place a TXT file into the USB flash drive,and then the LCD will display the picture.bmp.
  • Part 2: When identified as USBkeyboard, the LCD will display the information input from the keyboard.

When identifiedas USB mouse, the LCD will display the mouse current status.

(7) USB_Device_Examples--HID

Hardware Connection

  • Connect a USBKeyboard or USB mouse to the USB3300 USB HS Board HOST receptacle.

Asshown in the figure below:

Open407Z-C-User-Manual-35.jpg

Operation and Result

The mouse or keyboard will be identified:

  • When identified as USB keyboard, the LCD will display the informationinput from the keyboard.

. When identified as USB mouse, the LCDwill display the mouse current status.

(8) USB_Host_Device_Examples--DRD

Hardware Connection

Part1:

  • Connect the Micro SD Storage Board (withSD card) to the onboard SDIO interface.
  • Connect the USB3300 USB HS Board FS USB interface andPC USB port by USB cable.

Asshown in the figure below:

Open407Z-C-User-Manual-36.jpg

Part2:

  • Connect a USB mouse or keyboard to theonboard USB interface through an USB OTG cable.

Asshown in the figure below:

Open407Z-C-User-Manual-37.jpg

Operation and Result

Part1:

Whenrunning DEVICE DEMO, you should find the SD card appears as a USB Flash Driveon the PC.

Part2:

The mouse or keyboard will be detected:

  • When identified as USB keyboard, the LCDwill display the information input from the keyboard.

. When identified as USB mouse, the LCDwill display the mouse current status.

ETH

Overview

Ethernetdemo

PC IP Setting

Configurethe local connection of PC as follows:

IPadd: 192.168.1.11

NETMASK_ADDR:255.255.255.0

GW_ADDR:192.168.1.1

Hardware Connection

  • Connect the DP83848 Ethernet Board to theonboard ETH interface, then connect it to the PC through a straight-through Ethernetcable.
  • Connect the "3.2inch 320x240 TouchLCD" to the board via LCD interface.

Asshown in the figure below:

Open407Z-C-User-Manual-38.jpg

(1)STM32F4x7_ETH_LwIP_V1.0.0—Standalone--httpserver

Operation and Result

Enter192.168.1.10 on the Internet Explorer; you'll see the demo page.

(2)STM32F4x7_ETH_LwIP_V1.0.0—Standalone—tftpserver

Operation and Result

Referto "Open407Z\ETH\STM32F4x7_ETH_LwIP_V1.0.0\LwIP TCPIP stack demonstrationfor STM32F407 microcontrollers.pdf" for more details.

Youcan find the related software in Open407Z\ETH\Tool.

(3)STM32F4x7_ETH_LwIP_V1.0.0—FreeRTOS--httpserver_netconn

Operation and Result

Enter192.168.1.10 on the Internet Explorer; you'll see the demo page.

(4)STM32F4x7_ETH_LwIP_V1.0.0—FreeRTOS--httpserver_socket

Operation and Result

Enter192.168.1.10 on the Internet Explorer; you'll see the demo page.

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.