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.
10 years ago.
CAN transciver on u-blox C027
I am trying to find details about CAN transceiver chip on C027. Production summary document doesn't have much information about CAN other than "CAN screw terminal connector".
Is it TJA1042? (http://www.nxp.com/documents/data_sheet/TJA1042.pdf )
Question relating to:
1 Answer
10 years ago.
CAN is a native peripherial in the mbed SDK. More about CAN
The only thing you like to set the S pin of the CAN PHY low to enable the transmitter.
can sample
CAN can(CANRD, CANTD); DigitalOut canS(CANS, 1); can.frequency(500000); canS = 0; // enable transmitter CANMessage canMsg; ...
Usually the Can bus has a CAN_HIGH and CAN_LOW signal. Many times you find them in a CAR on the OBD-II connector pins 14/6, but this depends on brand and model.
posted by Michael Ammann 04 Jun 2014Thanks. I got the Uc027 schematic at https://mbed.org/media/uploads/ublox/c027_schematics.rar . Impressed with the quality of document.
posted by R J 05 Jun 2014