I'm using the TMS320LF2406 with the CAN transceiver UC5350 also from TI.
We develop a motor controll aplication for an electric vehicle.
I want to use CAN as communication to a Notebook for high speed data logging.
At the moment I have problems to receive CAN- frames from the DSP.
My problem is that I don't know where to search the failure in the DSP Software or in LABView.
Things seem to work correctly:
- sending frames from the DSP, but: the DSP gets no acknowledge bits from the connected ni-can card. (see: CAN frame bits)
- sending frames from ni-can & LABView.
And this doesn't work:
I sent CAN frames from the DSP and started a LABView vi which should receive them. Th
en
the DSP- CAN -module stops to send frames and changes into a configuration mode (I don't know why).
The vi displays a error: ncWaitForState has a time out during waiting for CAN objects in the read Queue.
I've read all documentation for the DSP CAN module and the ni-can, but I can not find the failure.
(120 ohm resistors are connected, the can bus lenght is 1m, baud rate=125 kbaud, standart frames are used, ID = 5 ...)
Yours sincerely Golubkov Andrej.