2021-02-07 12:18 AM
Hello. For my automotive project I need to imitate motorcycle handlebar that uses LINbus for buttons many buttons. Since I can't always take handle off motorcycle I need to make emulator of it.
This is Typical frame, and I mapped all bits of this burst. Brak , sync, ID is by my understanding is generated by master ( ECU ) and data is generated by handlebar controller.
Is where any example how to use LINbus? My understanding it should be something like CANBus, I get I whould get IRQ then ID is matched and simply send data just like regular UART message as well as calculate message CRC ?
Any information would be welcome. Thank you !
Solved! Go to Solution.
2021-02-13 01:16 AM
2021-02-13 01:16 AM
https://github.com/kilohercas/STM32F103_LINBUS
Feel free to use it :)