Part Number: TMS320F28379D
Other Parts Discussed in Thread: C2000WARE
Hi
I am trying to transmit CAN messages, however I have been unable to actually get any activity on CAN_TX pin (gpio pin 31) outside of test mode. If I compile can_loopback.c with no modifications I can see on the digital scope a CAN message got transmitted however if I comment out the following line 137 and 138
//
// 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;
So the CAN module is no longer in external loop back mode, I cant see anything on gpio pin 31, why does this happen I should still see the first CAN message being transmitted from gpio pin 31? Do I need to configure extra registers outside of test mode to actually see / send CAN messages ?
best regards
steve