Part Number: TMS320F28377D
Other Parts Discussed in Thread: C2000WARE
Hi all,
can_loopback.c example in device support does not work.
The only modification again is the index and pin identifier for GPIO muxing. I cannot see anything happening to variable ucMXMsgData, whereas the ucTXMsgData is updated properly. So I am wondering whether I am making a more fundamental mistake that I clearly cannot see:
I could find in this thread: https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/567030/tms320f28377d-cannot-realize-can-external-loopback-mode-operation-with-example-code
that we need to change the following line:
*(unsigned long *)ucRXMsgData = 0;
to
*(unsigned long *)ucRXMsgData = 48;
First of all is not clear to me why this should make the firmware work. Second of all, even doing this, does not make the code working.
Thanks for any help or suggestion you may give.
Nicola