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

C164, CA step CAN

Dear Sirs, Mr. Coppi!

...I use the CAN-Module of a CA-step. Because everything was fine using the Board, I burned it without looking at the errata sheed...I was surprised at the result!
Now I want to please You help me avoid another mistake.

The behavior can be avoided if a message object is not updated by software when a
transmission of the corresponding message object is pending (TXRQ element is set)
and the CAN module is active (INIT = 0).


Does that mean, if I would disable the CAN module each time I change something (data) in an object and enable it after that everything will be o.K.?

The nodes in the CAN system ignore the remote frame with the identifier=0 and no
data frame is triggered by this remote frame.


Is this another or additional possibility?
Is there a way to disable only the identifier '0'?

I'm not so sure if I did understand the errata well, so please don't wonder about this questions.

Do You know about a distributor who could have a flash device of the C164? (It's really expensive for me to burn them so often and this could prevent al least wrong startup configurations other mistakes which are not step-specific?!)

Thanks a lot for helping me
hannes

P.S. why differs the behaviour using the RAM of the Board instead of OTP??

  • Hello Hannes,

    The correct memory map should be:

    0x00000-0x07FFF := internal ROM
    0x18000-0x1FFFF := internal ROM
    0x0F600-0x0FDFF := internal RAM
    0x0EF00-0x0EFFF := CAN area

    You wrote:

    I wondered, because in every UM i found XRAM at E000-F000 (e.g.at System Memory Map)!?

    That address area is just a 4K area left by Infineon designers for XPERIPHERALS; what REALLY IS inside that area depends on the C16x derivative, so you must consult the DATASHEET to have a precise indication about how that area is filled with peripherals. The USER'S MANUAL is GENERIC for the C164 family, the DATASHEET integrates the MANUAL with informations SPECIFIC to your C164 derivative (C164-CI 8EM).

    I think that your OTP has good chances to work correctly, this time, let me know.

    Ciao
    Bruno

  • Mr. Coppi!
    Good News at last!: After patching the Hardware everything works fine now!
    I'm really thankfull to You.
    I guess i need to post further Questions sometimes, and hope i again will hear from You!?

    Best regards hannes