This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TM4C123GH6PM: TM4C123GH6PM CAN not working

Part Number: TM4C123GH6PM
Other Parts Discussed in Thread: SN65HVD251

i  am trying to connect to tiva tm4c123gxl using sn65hd251 transceiver and tiva can example source code 
first thing i had to add ##include "utils/uartstdio.c" to be able to build
The second thing when i run the transmitting board separately i got on the UART like in the first photo, as soon as i touch B4 pin even with a single wire it stops to show any response on the terminal. i am really confused about that. pleas any help with this 
and when i connected every thing together i didn.t get any response or puls on tx and rx pins 

  • I assume you are using the example code in C:\ti\TivaWare_C_Series-2.2.0.295\examples\peripherals\can or an earlier version of TivaWare. There are also examples in the application note SPNA244 although they use PE4 and PE5.

    You did not mention if there are any other nodes on your CAN network. Without another node to acknowledge the message, the total sent count will not increment. This simple example ignores that the message was not acknowledged and increments the message payload and sends it again. 

    I suspect that when you touch PB4 with a single wire you accidentally shorted some pins. That pin should be connected to pin 4 of the SN65HVD251.

  • thank you very much Mr. Crosby for your very fast reply, and i am sorry for the lack  in details  
    that is true i am using tiva ware 2.2.0.295 with ccs10
    everything is working correctly now !!!

    actually, the problem was that i connected Rs pin of the transceiver to the ground through 100k resistor 
    now i connected it directly to the ground and everything works fine