Template: Open32L-D User Manual
Getting Started with modules
We provide various modules for Open32L-D User Manual 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.54
- Programmer/Debugger:STM32L-DISCOVERY 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 assistant SSCOM3.2 settings:
Select a proper COM port | |
---|---|
Baud rate | 115200 |
Data bits | 8 |
Stop bits | 1 |
Parity bits | None |
Flow control | None |
8BitIO-Pushbutton
Overview
8I/Os demo,detect the 8 independent button is pressed or not
Hardwareconnection
|
Operationand result
- The below information will be displayed on the serial debuggingassistant:
24L01
Overview
NRF24L01 transmits datavia wireless way.
Hardware connection
|
Software connection
Two NRF24L01 isneeded for this demo, 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.
ADC+DMA
Overview
AD acquisitiondemo
Hardwareconnection
|
Operationand result
- Rotate the potentiometer on the Analog Test Board. Message will be displayed on the serial debugging assistant.
DAC
Overview
DA output demo, output viaDMA channel
Hardwareconnection
|
Operationand result
- You will hear sound from Analog Test Board while press the resetkey.
GPIOLED
Overview
LED demo
Hardware connection
Operation and result
Two LEDs on the Discoveryboard will blinking.
GPIO LED KEY
Overview
Control the LEDvia button
Hardware connection
Operation and result
Push the User key, the LEDstatus should keep changing accordingly.
I2C
Overview
Read and writedata on E2PROM via I2C protocol
Hardware connection
|
Operation and result
- The below information will be printed on the serial debuggingassistant:
JOYSTICK
Overview
Control the LEDstatus via button, joystick
Hardware connection
Short the JOYSTICK JMP
Operation and result
Push the joystick, the LEDstatus should keep changing accordingly
LCD_glass
Overview
LCD displayfunction on the Discovery
Hardware connection
Operation and result
LCD glass screen showsmessage/info
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
LCD22_TouchPanel
Overview
Calibratethe touch screen by click
three times, andthen enter into drawing board in the touch screen interface.
You can draw linesfreely 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
Message will be displayed on the LCD |
Application
Handheld device display
Micro SD
Overview
Read and write the SD card
Hardware connection
|
Operation and result
The below information willbe printed on the serial debugging assistant:
One-Wire
Overview
Connect the DS18B20,detect the temperature
Hardware connection
Connect the DS18B20 to theonboard One-wire socket.
Operation and result
The below information willbe printed on the serial debugging assistant:
PS2
Overview
PS2 keyboard demo
Hardware connection
Connect the PS2 keyboardto the board via PS2 interface
Operation and result
The below information will be printedon the serial debugging assistant:
SPI
Overview
SPI interface drives the AT45DBXXDataFlash Board
Hardware connection
|
Operation and result
The below information willbe printed on the serial debugging assistant:
USART
Overview
USART serial portcommunication demo
Hardware connection
Operation and result
The below information will be printed on the serial debugging assistant: