1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/drivers/dsp0401
Hugues Larrive 3c465836f2 examples and tests: add atmega8 to relevent Makefile.ci
using dist/tools/insufficient_memory/add_insufficient_memory_board.sh
2023-07-11 21:22:02 +02:00
..
app.config.test tests/drivers: move all driver tests into own folder 2023-05-04 12:45:07 +02:00
main.c tests/drivers: move all driver tests into own folder 2023-05-04 12:45:07 +02:00
Makefile tests/drivers: move all driver tests into own folder 2023-05-04 12:45:07 +02:00
Makefile.ci examples and tests: add atmega8 to relevent Makefile.ci 2023-07-11 21:22:02 +02:00
README.md tests/drivers: move all driver tests into own folder 2023-05-04 12:45:07 +02:00

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 board DSP0401_PARAM_SDI_PIN (see your board_params.h file)
  • Connect CLK to the board DSP0401_PARAM_CLK_PIN
  • Connect LAT to the board DSP0401_PARAM_LAT_PIN
  • Connect PWM to the board DSP0401_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.