Part Number: TMS320F28379D
Other Parts Discussed in Thread: CONTROLSUITE
Tool/software: Code Composer Studio
Hello everyone,
I am currently working on CAN communication between to F28379D cards (one launchpad and one control card) via mcp2551 transceiver and I want send a message each second.
I've reached to send/receive messages between CAN A and B of the same card (both of them individually) so I think there is no problem of GPIO/hardware configuration but when I try to connect the two cards, there is a continuous emiting from the first speaking node. It's like there isn't acq from the receiver.
For information, my emitter's CANES reg has Ewarn and Epass bits active and LEC is equal to "011". I saw it in the TRM but I don't understand what is exactly the problem.
For me it's configuration/software problem, do you know first if different periphericals/interrupt may fault the CAN module ? (I am using ADC, PWM, Timers, run from flash and soon DMA and CLA).
Other hint, the frames are spaced by 120us precisely.
For the moment I am using only RX interrupt, do you think is it essential to have TX interrupt for monitoring the bus ? (my future aim will be also to verifying nodes presence).
Finally, do you have code example/documention with help about CAN bus monitoring/faults management ?
Thank you very much for your help and have a nice day.
Best regards,
Jérémy
