|Ondřej Hruška dd29fa8dff added twitter video link||3 years ago|
|Drivers||3 years ago|
|Inc||3 years ago|
|Src||3 years ago|
|User||3 years ago|
|.cproject||3 years ago|
|.gitignore||3 years ago|
|.mxproject||3 years ago|
|.project||3 years ago|
|CMakeLists.txt||3 years ago|
|README.md||3 years ago|
|STM32F107VCTx_FLASH.ld||3 years ago|
|STM32F107xC.cmake||3 years ago|
|f107-fft.ioc||3 years ago|
|f107-fft.xml||3 years ago|
|flash.sh||3 years ago|
Simple audio visualiser with a dot matrix LED display.
Developed for the "STEVAL-PCC012V1" evaluation board with STM32F107, paired with a "TS4657 Audio card" daughter board.
The skeleton of the project is generated using STM32CubeMX, with some minor modifications. The majority of the visualiser code is localed in
User\user_main.c. The other files in
User/ are helper functions and modules. It's a CLion project, using CMake.
The project uses USART1 for debug messages (
PB6 - Tx,
PB7 - Rx). The display is controlled by multiple daisy-chained MAX2719 drivers (available on ebay as modules). The first driver is interfaced over SPI1 (
PA5 - SCK,
PA7 - MOSI,
PE6 - CS)
There is a 5-direction joystick connected to
The Audio daughter board carries a ST472IQT microphone pre-amt with an electret microphone.
For details, see documents UM0896 and UM0722.
The project will work without bigger changes on any STM32Fx, you just have to adjust the pin mapping and update the linker script and defines. That can be done with some attention using STM32CubeMX.
Note that some settings that can't be adjusted in CubeMX directly are changed in this project. Use git diff to see what changed after you re-generate the initialization files, and revert those changes. They are marked by comments.