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.

Porting problem in CAN communication using Tiva C series micro controller

Other Parts Discussed in Thread: TM4C123GH6PGE, TM4C123GH6PZ

Hi,

                       I have Tiva C series (TM4C123GH6PGE) development board. We implemented CAN Open stack code using this development board and that CAN communication is working fine with Kvaster Leaf Light HS hardware testing tool. and we are using CCS compiler.

                       In development Board (TM4c123GH6PGE) We configured with CAN0 in PE4 (Rx), PE5 (Tx) and crystal is - 16MHz,

                       Now I have to implement the same CAN communication using TM4C123GH6PZ controller, the PCB board developed by us for our applications.

                       Our board We configured CAN0 in PF0 (Rx), PF3 (Tx) and 8 MHz crystal. using this configuration my CAN communication is not working.

                        Before initializing the PortF i Unlocked the PF0. by following code.

GPIO_PORTF_LOCK_R = 0x4C4F434B;   //  unlock GPIO Port F

Plz give me the solution.

Regards,

Yuvaraj N

  • Hi,

    Yuvaraj Narayanasamy said:

    Before initializing the PortF i Unlocked the PF0. by following code.

    GPIO_PORTF_LOCK_R = 0x4C4F434B;   //  unlock GPIO Port F

    Plz give me the solution.

    Just that one line wont work. See, my signature link "TM4C123 NMI unlock" to get an idea. You, can also do a search in the forum for similar post. Also, you can use Pinmux utility to generate the unlock code.

    - kel