1
\$\begingroup\$

I have one Texas Instruments Tiva-C Series TM4C123GXL LaunchPad and two MCP2551 transceivers. I am trying to send and receive messages via a controller area network (CAN) bus. Is it possible to do this using only one LaunchPad?

\$\endgroup\$
2
\$\begingroup\$

The TM4C123 has two CAN peripherals, but the Launchpad board seems to expose only one of them (CAN0) on its headers. At first glance that would suggest that you can't do it from one peripheral to another.

Two possible solutions spring to mind:

  1. Most CAN modules support loopback mode, i.e. a module can be configured to receive its own transmission.
  2. If you can access just one of CAN1's pins, either Tx or Rx, then you could use CAN1 to transmit to CAN0, or CAN0 to transmit to CAN1, but not the reverse.

Either solution is probably adequate for testing, and in both cases you wouldn't need to bother with the MCP2551's.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.