1
\$\begingroup\$

I am interfacing an isolated can transceiver with my microcontroller. My schematic is given below.

Transceiver

Microcontroller

Accidently TXD is connected to RXD of microcontroller and RXD is connected to TXD of the microcontroller.

My question can I solve this issue without any rework in the board?

May I know firmware persons can help us by doing some changes in thier code and making this interface up.

Is it possible to swap MCU CAN RX and TX in firmware.

Reference manual of the microcontroller is available here.

\$\endgroup\$
9
  • \$\begingroup\$ What does the datasheet say about the options for CAN TX and RX pins? Based on the schematic they appear to be fixed and can't be swapped. \$\endgroup\$
    – Finbarr
    Commented May 28 at 9:46
  • \$\begingroup\$ I have never used a MCU that would allow these pins to be routed individually - you typically have to port route the whole CAN controller peripheral as one, and only to certain pins. Check the part of the MCU manual that speaks of "routing registers" or some such. \$\endgroup\$
    – Lundin
    Commented May 28 at 10:11
  • 2
    \$\begingroup\$ thats not the download link - it looks like you need to sign in to nxp to get the reference manual. Link is here if anyone is interested: nxp.com/products/processors-and-microcontrollers/… \$\endgroup\$
    – BeB00
    Commented May 29 at 6:28
  • 1
    \$\begingroup\$ No datasheet & manual available without registration = no business. NXP is a company in rapid customer service decline. Avoid companies like that. \$\endgroup\$
    – Lundin
    Commented May 29 at 9:23
  • 1
    \$\begingroup\$ I'd hope that NXP has a GPIO matrix that allows free routing. If not, you're out of luck. \$\endgroup\$ Commented Jun 7 at 8:29

0