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.

CCS/TMS570LS3137: TMS570LS3137

Part Number: TMS570LS3137

Tool/software: Code Composer Studio

Hello,

if my application i want to use CAN3TX and CAN3RX as GPIO functionality and as well interrupt like GPIO. How to configure as interrupt?

I gone through the GIO module GIOC and GIOD port which are all ?

guide to slove this problem...

waiting for your reply.....

regards,

AnandKumar

  • Hello,

    The CANTX and CANRX can be used as GIO, but it doesn't support GIO interrupt.

    Please use TIOC and RIOC to control CANTX and CANRX pins in GIO mode.

    Note that the values of the IO Control registers are writable only if Init bit of CAN Control Register is set.The OD, Func, and Dir bits of the CAN TX/RX IO Control register are forced to certain values when Init bit of CAN Control Register is reset, see bit description.

  • Hello wang,

    Thanks for your information..

    can you tell me GIOC and GIOD comes under which protocol of TMS570LS3137. I have gone through the datasheet but i didn't found that. 

    Regards,

    Anand Kumar

  • Hello,

    This device has two dedicated GPIO ports: A and B. There is no port C or port D on LS3137 device.

    Please use CAN TIOC and CAN RIOC registers to configure CANTX and CANRX as GIO