Revision and Notes
Date | Owner | Revision | Notes | |
---|---|---|---|---|
| 1.0 | Initial release | ||
Table of Contents |
|
STM32 / MCU
Hardware
Overview
...
The STM32 family of 32‑bit Flash microcontrollers based on the ARM® Cortex®‑M processor is
...
STM32 supports HDMI CEC and other features.
STM32 Schematics on the MicroSom
MCU_BOOT0 – selects boot from USB or normal – GPIO 349
MCU_RESET – resest the MCU – GPIO 351
Both signals are natively pulled up high from the processor
...
Code Block |
---|
cd /sys/class/gpio echo 349 > export cd gpio349 echo 0 > value echo 1 > direction cat gpio349 |
...
MCU Wakeup circuit
The MCU got the ability to wake up the CPU from sleep mode.
Notice that this is an example implementation on the SolidPC carrier.
Level shifts through resistors from 3.3v to 1.8v
...
Testpoints
...
Notice that this is an example implementation on the SolidPC carrier.
MCU: STM32: PA1..PA4 pins
Testpoint TP19,TP20 and TP18 is located next to UART1 (covered when the Som is assembled)
TP21 (left one) can be found on the opposite side of the PCB.
Additional Testpoint-information: SolidPC Testpoints
Software
Thanks to our community developer GDA who created a working firmware for the stm32.
The firmware, libcec port, RainshadowAdapter-work is not maintained by Solid-Run.
Firmware STM32
The latest .bin file can be found here:
Code Block |
---|
https://github.com/gdachs/cecbridge/raw/rainshadow/Debug/CECbridge.bin |
LibreElec (Kodi)
All work concerning LibreElec can be found here:
...
After a reboot cec functionality should work.
Rainshadow/RainConf
RainConf communicates directly with the STM32. (All processes need to be stopped which use LibCEC)
...
Code Block |
---|
git clone https://github.com/gdachs/rainconf.git cd rainconf mkdir build cd build cmake ../src make sudo make install |
LibCEC
Code Block |
---|
git clone https://github.com/gdachs/libcec.git cd libcec git checkout rainshadow mkdir build cd build cmake -DHAVE_RAINSHADOW_API=1 .. make sudo make install |