Other Parts Discussed in Thread: CONTROLSUITE
Hi,
I am trying to use the example code given in control suite for developing CAN communication
C:\ti\controlSUITE\device_support\F2807x\v180\F2807x_examples_Cpu1\can_loopback
I want to change the code to communicate with a PC using P-Can. Is there any example code available for this. I tried with the above existing code. I am not able to figure out.
I tried commenting the below 2 lines to remove loop back and enable normal mode.
// Enable test mode and select external loopback
HWREG(CANA_BASE + CAN_O_CTL) |= CAN_CTL_TEST;
HWREG(CANA_BASE + CAN_O_TEST) = CAN_TEST_EXL;
Regards,
Sugantha