can question

I am using RTX51_full,and I made a program with CAN controller(sja1000),now I have a trouble with can communiction.Except of CAN,all others seem well.When I add some code that independent of CAN operation,the CAN may cause fail,even when I change the Code Optimization level the CAN communication may get OK or fail.
Can someone give me advise
thank in advance

Parents
  • Just to confirm, are you definitely
    sure that your CAN hardware is working correctly?

    If so, are you sure that you are communicating between your
    microprocessor and CAN chip - can you
    for instance write values into the CAN
    chip, and then read them back again?

    What sort of clues do you have?

    Also, not quite sure what you mean in
    your original e-mail - are you saying
    that it does actually work some of the
    time, ie intermittantly; or not at all?

    Yours,


    Richard.

Reply
  • Just to confirm, are you definitely
    sure that your CAN hardware is working correctly?

    If so, are you sure that you are communicating between your
    microprocessor and CAN chip - can you
    for instance write values into the CAN
    chip, and then read them back again?

    What sort of clues do you have?

    Also, not quite sure what you mean in
    your original e-mail - are you saying
    that it does actually work some of the
    time, ie intermittantly; or not at all?

    Yours,


    Richard.

Children
More questions in this forum