This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Multiple repeat transmissions using Atmel T89C51CC01

Hi,

I'm writting code for the above chip. I can receive messages into my application using the CAN simulator no problem.
However, when I launch a message from my application, it is continuously re-transmitted (as seen on the can bus simulator). The TXOK flag is set OK and I get into my interrupt but, the only way I have been able to stop re-transmissions is by setting the CANCONCH register for the page to 0 and disabling the page.
What am I doing wrong, should the simulator mimic a reply ACK to prevent multiple re-transmissions or is it my responsibility to disable further transmissions?

Any clues?

Regards
Rob McKinley

Parents
  • I agree with you, Hans...
    Just one note:
    CAN is *always* in closed loop
    - try to pull out physical connector of the node and you have got open loop. Simulator does not know about has transmitter differencial line connected or does not. Realy, you should have this option in simulator otherwise you will not be able to simulate such situations when no node has received a frame from transmitter.

    Good days!

Reply
  • I agree with you, Hans...
    Just one note:
    CAN is *always* in closed loop
    - try to pull out physical connector of the node and you have got open loop. Simulator does not know about has transmitter differencial line connected or does not. Realy, you should have this option in simulator otherwise you will not be able to simulate such situations when no node has received a frame from transmitter.

    Good days!

Children
  • Dear Oleg Sergeev,

    Thank you very much for the superb explanations about TTC mode.
    Now i understund what this mode is and i will re-read the manual more carefuly.

    Also, if you have some news from Atmel regarding CAN macro problem in TTC mode, plz inform us: it's verry important.

    PS:
    Sorry to Robert for using his thread for a litte "of topic " subject, but Oleg's reply was so interesting that i must ask him some details.

    Cheers!!