2025-12-07 9:49 PM - last edited on 2025-12-07 11:10 PM by Imen.D
Dear STM32 Support Team,
I am working on implementing CAN communication using the standard SAE J1939 protocol on an STM32-based platform and would like your guidance.
Could you please suggest:
Recommended STM32 example projects or application notes for J1939 over CAN.
Any official STM32Cube examples, middleware, or partner stacks for J1939.
Best practices for configuring the CAN peripheral (bitrate, filters, extended ID usage) specifically for J1939 on STM32.
Recommended approach for reading GPIO inputs (three switches) and mapping them to different J1939 messages or PGNs.
I am happy to provide details about my MCU part number, board, and current code if needed. Your support would be very helpful for moving this feature to completion.
STM board: STN32F207ZG
Thank you in advance for your assistance.
Best regards,
Suman Uppala
Edited by Moderation to add the appropriate labels.
2025-12-08 12:00 AM - edited 2025-12-08 12:11 AM
Hello,
ST doesn't offer such kind of stacks but one of our partners Emotas offers J1939 stack for STM32. Please refer to this link. So please contact Emotas: https://www.emotas.de/en/contact
You may find an open source implementation (ST doesn't guarantee the implementation): like this one:
https://github.com/ttnickb/Open-SAE-J1939-STM32
See also this thread.
Hope that helps.