CAN Bus
Posted: Thu Dec 08, 2016 9:05 pm
Hi!
I am starting this topic because I have not seen much discussion about getting the pyboard running with CAN bus. My intention is to implement a CANopen tailored protocol used for satellites (http://www.esa.int/Our_Activities/Space ... etwork_Bus).
I have done such an implementation for Atmel MCU using C. Now I would like to port this to micropython and use the pyboard for it.
However, I am stumbling already sending a single CAN frame. The frame is transmitted by pyboard, but seen as erroneous and hence not acknowledged by a CAN-USB debugger device.
Questions:
1) What is the default CAN bus baudrate on pyb?
2) How to set it to 1 Mbps?
I am starting this topic because I have not seen much discussion about getting the pyboard running with CAN bus. My intention is to implement a CANopen tailored protocol used for satellites (http://www.esa.int/Our_Activities/Space ... etwork_Bus).
I have done such an implementation for Atmel MCU using C. Now I would like to port this to micropython and use the pyboard for it.
However, I am stumbling already sending a single CAN frame. The frame is transmitted by pyboard, but seen as erroneous and hence not acknowledged by a CAN-USB debugger device.
Questions:
1) What is the default CAN bus baudrate on pyb?
2) How to set it to 1 Mbps?