-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for STKNX #61
Comments
Everything is possible ;) |
I guess the easiest way to add STM32 support would be to use STMdiuno. |
Use STMdiuno, It works, I have tested it with stm32f103c8t6 and stm32f030c8t6, storing data to eeprom or internal flash, you need add a STM32Platform class similar with other already integrated platform, and do some work, not that difficult please have a try. |
@leoujz can you share your work please? |
I could send my code by mail, if anyone need it. But it needs sometime to tidy the code and structure, I think it's not ready to create a pull request |
Besides, Any one need it can email me, it's not ready to create a pull request, because I add too many debugging codes and other modifications unrelated to the repository. Damn, no time to tidy them. |
already sent |
Can you just put the repository in your github account? This way interested persons can just grab the bits they want. |
There is a stm32 platfrom implementation here: https://github.com/etrinh/knx/blob/master/src/stm32_platform.cpp |
I just merged the stm32 platform. Feel free to test it. |
I have not finished to test my stm32 implementation. At least it compiles and I can communicate with my NCN5130. I am still struggling with my homemade hardware to communicate with the bus. I have not yet opportunity to program my device or check EEPROM access :(. |
I already created a pull request to add the modifications to the latest master branch |
Pull request #71 made to fix a bug in eeprom handling - forgotten variable initialization. |
Would this help? |
Its possible but not trivial to use this code. Mainly because there are no freertos libs available in my stack. So you need to add some abstraction for timers to platform.h/cpp. Queue-implementations are already available in the stack. |
If I'm not wrong, at least for the ESP32/ESP8266 we can use the idf-provided timers functions (same functions used by that library). If you or someone else is willing to assist in abstracting the datalink layer so that we can have both TPUART and STKNX I can try to integrate the STKNX library on esp32 platform (for starters). |
Hi all, I wanted to check in to see if there have been any recent updates regarding the compatibility of the STKNX chip with this library. Is there any progress, or are there any planned updates or forks addressing this? Additionally, I’m looking to test the STKNX chip with a board like the Raspberry Pi Pico, but I’ve been unable to find any schematics or documentation on how to connect the chip to a dev board. If anyone has experience with this setup or can provide a schematic or guidance on connecting the STKNX chip to the Pico (or any other board), it would be greatly appreciated. Thanks in advance! |
Would it be possible to add support for Bit interface (STKNX) transceiver and STM32G071 or any STM32 configured with CubeMX?
The text was updated successfully, but these errors were encountered: