Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 10 months ago.
CAN1/CAN2 register tweaking
I have a problem. On my application I use a combined CAN bus. Combined because I use normal wired CAN with TJA1040 CAN transcievers, in parallel I have optically isolated device (using optical fibres for CAN RX and TX). RX works fine, I can listen to the bus, but sending data fails for most times. Sometimes I am able to succesfully send data, but this are just lucky occasions. I'm not an CAN expert, I'm learning by doing mistakes. I got this information, that I need to change the delays like I would use a very long wire bus. So I think, that I should change the TESG1 and TESG2 values in the CAN1BTR/CAN2BTR register,but I don't know where the CAN ini routine is. Any help will be very appreciated.
7 years, 5 months ago.
Some related questions at topic 526.