www.selfbus.org
https://selfbus.forums3.com/

KNX-compatible device based on STM32G071 MCU with Arduino flavour
https://selfbus.forums3.com/viewtopic.php?f=6&t=538
Page 1 of 1

Author: pavkriz [ 11. Jul 2019 16:41 ]
Post subject: KNX-compatible device based on STM32G071 MCU with Arduino flavour

Hello, I would like to announce my new device originally based on selfbus, which I've ported to STM32 platform.

I've designed a custom STM32-based board but one can use a STM's Nucleo development board as well. Bus-coupling interface is quite simple because of STM32's built-in DAC (threshold voltage for pulse detection) connected to built-in comparator (comparing threshold voltage with bus voltage) that triggers a timer. The rest of the processing is pure selfbus.

My version is compatible with Arduino so one can write a single .ino file and compile the firmware from Arduino IDE or VS Code.

See my Hackaday.io project log, Project GitHub page with schematics etc. and Library GitHub page.

I also plan to improve the "OTA" firmware updating - send only a diff between old and new firmware, allow to activate bootloader after device (bus) reset by sending a magic telegram instead of triggering the physical prog button (which will also work).

Any comments and pull requests are welcome ;)

Page 1 of 1All times are UTC + 1 hour
phpBB Forum Software