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.
11 years, 7 months ago.
CAN1/CAN2 register tweaking
Hi!
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.
Regards,
Gorazd