2019-05-13 07:43 AM
i am using SPC58nh92, I have configured the TX and RX pins as follow PA[10] and PA[11] respectively. But i am able to transmit message and view the message in CANOE tools,if i am trying to send msg from CANOE tool to CHIP it is showing TXerr in CANOE.Is there any Factors need to be conside other than pin mapping and wiring.
2019-05-13 10:12 PM
Hi Rubavenkatesh,
Could you please provide info about what kind of error you are seeing in CANOE trace window, say stuff error, acknowledgement error and so on?
Regards,
Prashanth
2019-05-14 12:36 AM
Hello Prashanth,
I am getting some times ACK slot error, if i Change some wiring or jumper configuration i get bit stuff error.
Thanks in advance,
Babu Ramaraj
2019-05-14 12:41 AM
Hello Babu Ramaraj,
Okay, then keep the jumper/wiring configuration in ACK slot error, which means the bus is active and the message is arbitrating from CANOE on the bus.
Now, check you Rx callback to receive the identifier of CANOE Tx message.
Regards,
Prashanth
2019-05-14 01:18 AM
Hello Prasanth,
For you Clarification i have attached the error message from CANOE
Time Chn ID Name Event Type Dir DLC Data
[-] 95.827896 CAN 1 CAN Error TxErr ECC: 11011001, Other Type of Error, Segment = ACK Slot
| ECC 11011001
| Code Other Type of Error
| Segment ACK Slot
and in tht IG block my message configuration ad follows:
Rx callback function i am checking the identifier:
void mcanconf1_fifo0rx(uint32_t msgbuf, CANRxFrame crfp) {
if (crfp.ID == 0x05U) {
pal_lld_togglepad(PORT_A, PA_LED3);
}
(void)msgbuf;
}
but even though it is failing.Can you help me with this.?
it will be helpful for me
2019-05-14 02:04 AM
Hi Rubavenkatesh,
Sorry i am not familiar with CANOE.
Could you check the CAN IP by debugger in SPC58nh92 ?
Best Regards
Erwan
2019-05-14 02:07 AM
Hi Babu,
I'm not sure whether this could help, make sure you have unchecked Loopback! Given that fact that you could transmit, it means you have already did it, but I'm not able to get it otherwise.
Regards,
Prashanth
2019-05-14 02:29 AM
i already did it from board to CANOE. i am able to see the message which are send from board.but if i try the vice versa it fails.
2019-05-14 03:34 AM
yes i can see that .