Other Parts Discussed in Thread: TMS320F28335, SN65HVD233, TMS320F2812, CONTROLSUITE
Hello to all,
I am working on the eCAN module of the TMS320F28335 microcontroller. It has an internal loopback option (self test mode) which works perfectly. But I would like to implement an external loopback using a CAN transceiver like SN65HVD233 that has a loopback option. The only thing that creates a doubt about this implementation is the following statement in the eCAN reference guide for 2833x:
"It is not possible to achieve a direct digital loopback externally by connecting the CANTX and CANRX pins
together (as is possible with SCI/SPI/McBSP modules). An internal loopback is possible in the self-test mode (STM)." While reading the datasheet of the CAN transceiver, I came across an implementation that uses the eCAN module of the TMS320F2812 microcontroller which means an external loopback should be possible for the F2812 eCAN module. But the eCAN reference guide for F2812 has the same statement as mentioned above. Hence my doubt is whether I will be able to use the external loopback of the SN65HVD233 interfaced to the F28335 microcontroller. If no, then how does it work with the F2812? Are the eCAN modules implemented differently in the F2812 and the F28335? If yes, what settings would be required in the code? I think there is a sample code in CCS named ecan_back2back that uses the Self test mode(STM). Will it work, if ,in this code, I disable the internal loopback (STM) and activate the LBK pin of the 65HVD233 transceiver? Hoping a quick reply. Thanks in advance.