mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
3c465836f2
using dist/tools/insufficient_memory/add_insufficient_memory_board.sh |
||
---|---|---|
.. | ||
app.config.test | ||
main.c | ||
Makefile | ||
Makefile.ci | ||
README.md |
About
This is a test application for the DSP0401, a 4 digits with 16 segments alphanumeric display.
Connecting the device
The display can be controlled from the JP1 connection jumper as follows:
- Connect
SIN
to the boardDSP0401_PARAM_SDI_PIN
(see your board_params.h file) - Connect
CLK
to the boardDSP0401_PARAM_CLK_PIN
- Connect
LAT
to the boardDSP0401_PARAM_LAT_PIN
- Connect
PWM
to the boardDSP0401_PARAM_PWM_DEV
pwm device. See the board periph_conf.h to find a valid pin and configuration. - Connect
VCC
to one of the board VCC pin (3.3V or 5V depending on your board. Example: use 3.3V with STM32 Nucleo-64) - Connect
GND
to one of the board GND.
Since there are potentially a lot of LEDs to poweron, it's preferable to use an
external power supply to power the DSP0401 module. This is what JP2 is meant for.
See the datasheet
section Power
for more information on power configuration.
Chaining devices
Since DSP0401 contains a shift register, it's possible to chain devices by connecting the JP4 and JP5 connection jumpers of the device N to respectively JP2 and JP1 of the device N+1. Attention: ensure your power supply is able to provide enough current for the number of devices you plan to use.