I've using a Piccolo 28069 MCU and I'm trying to setup CAN communications with another device. The other device detects no traffic whatsoever on the line from my transceiver. I am now trying to sense the output on the TX pin of the MCU with a scope and all I see is 3.3V steady. To ensure my code wasn't the problem, I'm now using the latest ECanBack2Back example code with no other devices on the bus. I disabled the "self-test mode" and changed the infinite function code to this:
for(;;){
ECanaRegs.CANTRS.all = 0x0000FFFF; // Set TRS for all transmit mailboxes
for(x = 0; x < 9000000; x++){} //Small time delay
MessageReceivedCount++; }
My thought was that it would attempt to transmit the 16 mailboxes every second or so on repeat. Since there is no other node on the line and there are no Ack bits being sent, it would just send the first mailbox/highest priority and then stop. However, I am seeing no changes in the TX output signal. Are there other changes to the ECanBack2Back code that I need to make to transmit data in "normal mode"? Also, is there a way to work around the Ack requirement if I am just trying to broadcast data on the bus?
Thank you.