Template: Open407V-C User Manual
Open407V-C Testing Guide
Basic settings of the test
- 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 teststhat require the serial port converter for debugging, please connect theconverter to the board via pin headers, and then connect it to the PC via USBcable;
ADC+DMA
Overview
ADCanalog voltage acquisition ADC
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:
Operation and Result
Launch the serial debugging assistant, and configure it asdescribed in chapter "Preparation".
Info/message willbe displayed on the serial debugging assistant as adjusting the resistor on themodule.
CAN1TO CAN2-Normal
Overview
CAN1TO CAN2-Normal demo
Hardware Connection
- Connectthe serial port converter to the board via UART3.
- Two SN65HVD230 CAN Boards are requiredfor this test.
- Connect the two "CAN Board" tothe onboard CAN1, CAN2 interface respectively.
- Connect the two "CAN Board" by jumper wires(CANH <-> CANH, CANL <-> CANL).
Asshown in the figure below:
Operation and Result
Launch the serial debugging assistant, and configure it asdescribed in chapter "Preparation".
Pressthe JOYSTICK and Check the results on the serial debugging assistant.
DAC
Overview
DACoutput demo
Hardware Connection
- Connect the Analog Test Board to the board via SPI1interface.
- Connect the 5V pin headers on both the main board and theAnalog Test Board via jumper wire.
Asshown in the figure below:
Operation and Result
Therewill be a sound of triangular wave from the Analog Test Board.
DCMI_OV7670
Overview
OV7670Digital camera data acquisition and display on the LCD
Hardware Connection
- Connect the OV7670 Camera Board to theboard via DCMI interface.
- Connect the serial port converter to theboard via UART3.
- Connect the 3.2inch 320x240 Touch LCD (C) to the board viaLCD interface
Asshown in the figure below:
Operation and Result
Images acquired from the camera willbe displayed on the LCD.
DCMI_OV9655
Overview
OV9655Digital camera data acquisition and display on the LCD
Hardware Connection
- Connect the OV9655 Camera Board to theboard via DCMI interface.
- Connect the serial port converter to theboard via UART3 interface.
- Connect the 3.2inch 320x240 Touch LCD (C) to the board viaLCD interface.
Asshown in the figure below:
Operation and Result
Images acquired from the camera will be displayedon the LCD.
DS18B20
Overview
DS18B20temperature measurement demo
Hardware Connection
- Insert the DS18B20 to the ONE-WIRE Interface.
- Connect the serial port converter to the board via UART3.
Asshown in the figure below:
Operation and Result
Launch the serial debugging assistant, and configure it asdescribed in chapter "Preparation".
Info/messagewill be displayed on the serial debugging assistant.
GPIO_Key_LED
Overview
LED,push button, joystick demo
Hardware Connection
- Short the LED jumpers on the board.
- Short the push button jumper, joystick jumper on theboard.
Asshown in the figure below:
Operation and Result
Pushthe button or joystick; the LED status will keep changing accordingly.
I2C
Overview
I2C EEPROM demo
Hardware Connection
- Connect the serial port converter to the board via UART3 interface
- Connect the AT24CXX EEPROM Board to the board via I2Cxinterface (select I2C1 or I2C2 depending on the software configuration)
Asshown in the figure below:
Operation and Result
Launch the serial debugging assistant, and configure it asdescribed in chapter "Preparation".
Info/messagewill be displayed on the serial debugging assistant.
LCD-HY32D_FSMC
Overview
LCDdisplay demo
Hardware Connection
- Connect the 3.2inch 320x240 Touch LCD (C) via LCDInterface to the board. As shown in the figure below:
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_PCB0
Overview
NandFlash_PCB0 demo
Hardware Connection
- Connect the K9F1G08U0C NandFlash Board (K9F1G08U0CPCB0 onboard) to the board via 8BIT FSMC interface.
- Connect the serial port converter to theboard via UART3.Asshown in the figure below:
Operation and Result
Launchthe serial debugging assistant, and configure it as described in chapter"Preparation".
Info/message will be displayed on theserial debugging assistant.
NandFlash_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 the board via UART3.Asshown in the figure below:
Operation and Result
Launch the serial debugging assistant, and configure it asdescribed in chapter "Preparation".
Info/messagewill be displayed on the serial debugging assistant.
RTC
Overview
RTCdemo
Hardware Connection
- Connect the serial port converter to theboard via UART3.
Asshown in the figure below:
Operation and Result
Launch the serial debugging assistant, and configure it asdescribed in chapter "Preparation".
Follow the tips and input data,Info/message will be displayed on the serial debugging assistant.
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 USART2 interface.
Asshown in the figure below:
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 USART2 interface.
Asshown in the figure below:
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 UART3interface.
- Connect the AT45DBXX DataFlash Board tothe board via SPIx interface.
Asshown in the figure below:
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:
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
- Connectthe 3.2inch 320x240 Touch LCD (C) to the board via LCD Interface. As shown inthe figure below:
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 UART3 Interface.
Asshown in the figure below:
Operation and Result
Launch the serial debugging assistant, and configure it asdescribed in chapter "Preparation".
Info/messagewill be displayed on the Serial debugging assistant.
VS1003BMP3 Board
Overview
VS1003BMP3 Board demo
Hardware Connection
- Connect VS1003B MP3 Board to the board via SPI.
Asshown in the figure below:
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 will 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:
Operation and Result
Putthe headset to the HEADPHONE jack, then will hear the music stored in the MCUFLASH.
(2) SD_FatFS
Hardware Connection
- Connect the UDA1380 Board to the boardvia I2S interface.
- Connect the Micro SD Storage Board (withSD Card) to the board via SDIO interface.
- Connect the serial port converter to theboard via USART2.
Asshown in the figure below:
Operation and Result
- Put the audio file named"Audio.wav" on SD card root directory.
- Put the headset to the HEADPHONE jack.
- SD card audio file information displayed on the serialdebugging assistant.
- Headset will output the music namedAudio.wav on SD card root directory.
USBFS Example
Overview
USBFS demo
Hardware Connection
- Shortthe 3 jumpers PA5-FLG, PA3-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.
Asshown in the figure below:
(1) USB_Device_Examples--HID
Hardware Connection
Connectthe PC and the Core board by USB Cable. As shown in the figure below:
Operation and Result
Message/infowill be displayed on the LCD, and JOYSTICK can be used for simulating the mouseand controlling movement of the computer and mouse.
(2) USB_Device_Examples--MSC
Hardware Connection
- Connect the PC and the Core board by USBCable.
- Connect the Micro SD Storage Board (withSD card) to the board via SDIO interface, Should open LEDs jumper.
Asshown in the figure below:
Operation and Result
- Message/info will bedisplayed on the LCD and SD card hard disk will be founded in the PC.
(3) USB_Device_Examples--VCP
Hardware Connection
- Connect the PC and the Core board by USB Cable. As shownin the figure below:
Operation and Result
Afterinstall the driver, a USB VCP (Virtual Com Port) will be identified by thePC.
Asshown in the figure below:
(4) USB_Host_Examples--MSC
Hardware Connection
- Connectthe Core board and the USB Flash Drive by the USB OTG cable
Asshown in the figure below:
Operation and Result
Theserial debugging assistant will display the file list in the USB flash drive,the example code will place a TXT file into the USB flash drive, and then the serialdebugging assistant will display the picture.bmp message.
(5) USB_Host_Examples--HID
Hardware Connection
- Connect the Core board and the USB mouse / keyboard bythe USB OTG cable. As shown in the figure below:
Operation and Result
Themouse or keyboard will be detected:
- When connecting a keyboard, the LCD will display thepressed key value.
- When connecting a mouse, the LCD will display the mouse'scurrent status.
(6) USB_Host_Examples_Examples--DRD
Hardware Connection
Device mode: Connect the Micro SD Storage Board (with SD card) to the board SDIOvia interface; then connect the board and PC via USB cable. As shown in the figure below:
Hostmode: Connect the Core board and the USB Flash Drive by the USB OTG cable. Asshown in the figure below:
Operation and Result
Put the picture.bmp to the USB Flash Drive,and message will be displayed on the LCD
- When programming DEVICE DEMO, SD card hard disk will be founded in the PC.
- When programming HOST DEMO, press thejoystick to read the picture.bmp in USB Flash Drive.
USBHS Example
Overview
USB HS Demo
Hardware Connection
- Open the 3jumpersPA5-FLG, PA3-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:
(1) USB_Device_Examples--HID
Hardware Connection
- Connect the PC and USB3300 USB HS BoardOTG receptacle by USB cable. As shown in the figure below:
Operation and Result
- Message/infowill be displayed on the LCD, and JOYSTICK can be used for simulating the mouseand controlling movement of the computer and mouse.
(2) USB_Device_Examples--MSC
Hardware Connection
- Connect the PC and USB3300 USB HS Board OTG receptacle byUSB cable.
.Connectthe Micro SD Storage Board (with SD card) to the board via SDIO interface, Asshown in the figure below:
Operation and Result
Message will be displayed on the LCD; SDcard hard disk will be founded in the PC.
(3) USB_Device_Examples--VCP
Hardware Connection
- Connect the PC and USB3300 USB HS Board OTG receptacle by USB cable. Asshown in the figure below:
Operation and Result
Afterinstalled the driver, a USB VCP (Virtual Com Port) exists on the PC. Asshown in the figure below:
(4) USB_Device_Examples--MSC
Hardware Connection
- Connect a USB flash drive to the USB3300 USB HS Board HOST receptacle. As shownin the figure below:
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.
(5) USB_Device_Examples--HID
Hardware Connection
- Connect a USBKeyboard or USB mouse to the USB3300 USB HS Board HOST receptacle. As shown in the figure below:
Operation and Result
The mouse or keyboard will be detected:
- 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.
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 the boardvia ETH interface, then connect it to the PC through a straight-through Ethernetcable.
Asshown in the figure below:
Operation and Result
Enter192.168.1.10 in the Internet Explorer URL bar and then there will be a demopage.
Asshown in the figure below: