This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28335: TMS320F28335

Part Number: TMS320F28335

Hi

I wish to communicate between two DSP 28335 boards. One in transmit mode and the other in receive mode.

I have two queries regarding this:

1. The transceiver I am using is VP233. Does it works fine on 3.3 V supply. Also do i need two separate transceivers?

2. I am not able to see any change in CANTA register and also CANES value is 0x00030010. What I understand from this is transmitter is not able to transmit.

What can be the probable reason for this error.

Thanks & Regards

Nitin

  • Nitin,

    1. You need to refer to the device datasheet for information on supply-voltage. I believe the doc you need to refer to is SLLS557G. Yes, every CAN node must have its own transceiver. Please refer to Fig 1 in page 2 of my app.note SPRS876. My app.note has many working examples that you can directly run.
    2.  You will not see any change in CANTA, unless a transmission has been successful.

  • Hello Hareesh

    I have tried the examples as per the application note. But still data is not transmitted.

    When debugging there is no change in CANTA register .the loop keeps waiting for the corresponding TA bit.

    Also please guide about CANES register which shows the content 0x00030010 Everytime.

    Thanks & Regards

    Nitin

  • CANTEC is probably 128 because no ACK was received. Did you go through section 3 of my app.note "Debug and Design Tips to Resolve/Avoid CAN Communication Issues"? If not, please go through that section carefully. 

    Please provide a wiring diagram of your CAN setup and a scope capture of the CANRX pin on the receiver side.

  • CAN schematic.PDF

    Hello Hareesh

    Attached schematic of the setup.Not receiving any signal on receive pin of the transceiver, its at ground level.

    I have put TX_loop code in one of the DSP board and RX_loop in the other DSP board.

  • Nitin,

                Those are tested examples in my app.note. They should work. Did you take a look at the debug tips in my app.note?

     

    Can you tie the RS & LBK pins of the transceiver to GND?

     

    Debug of this should be fairly straightforward. Start probing the CANTX pin of the transmitting controller and work your way through the two transceivers