Forums

Receiving Messages on DSP56F805

Started by chandooramkumar April 13, 2005


Hi,

I am Chandru. I am trying to program DSP56f805 to send and receive CAN
messages. I am able to transmit messages and store them in the Transmt
buffers(CAN_TB0_DSR's).I have also setup the identifiers and the mask
registers. I also cleared the TXE0 flag after storing the msg. I dont
know how to push the message out to the MSCAN bus. I might be missing
some register setup here.

For the receive I have used a ISR using #pragma interrupt. But the
program does not seem to enter the Receive function. It will be gr8 if
i culd get some example code for sending and receiving of Messages on
dsp56f805.

Regards,
Chandru


Hi Chandru

I did my early testing using an internal loopback feature, which made it
easier to receive data, without worrying about cables. You could look at
the flags to see if the Receive buffer became full, then you would know that
the packet "got there".

Rick Corey

-----Original Message-----
From: chandooramkumar [mailto:chandru15@chan...]
Sent: Wednesday, April 13, 2005 11:06 AM
To: motoroladsp@moto...
Subject: [motoroladsp] Receiving Messages on DSP56F805 Hi,

I am Chandru. I am trying to program DSP56f805 to send and receive CAN
messages. I am able to transmit messages and store them in the Transmt
buffers(CAN_TB0_DSR's).I have also setup the identifiers and the mask
registers. I also cleared the TXE0 flag after storing the msg. I dont
know how to push the message out to the MSCAN bus. I might be missing
some register setup here.

For the receive I have used a ISR using #pragma interrupt. But the
program does not seem to enter the Receive function. It will be gr8 if
i culd get some example code for sending and receiving of Messages on
dsp56f805.

Regards,
Chandru