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.

eCan shadow register TMS320F2812

Other Parts Discussed in Thread: TMS320F2812

Dear TI support team,

we use the TMS320F2812 with CAN. I found this hint in an ECAN sw example:

"Create a shadow register structure for the CAN control registers. This is
 needed, since, only 32-bit access is allowed to these registers. 16-bit access
 to these registers could potentially corrupt the register contents. This is
 especially true while writing to a bit (or group of bits) among bits 16 - 31"

My questions are:

- is the read access definitely not affected?

- is writing to bits among 0-15 not affected?

- can I find a detailed description in the errata sheet?

Thanks,

Wolfgang

  • Mr.Kopp,

    Reads could be unreliable (i.e. not returning the correct values).

    The description in the example only refers to the probability of the issue. The correct approach is to employ this method for both R/W and for all bits.

    This is not a "bug", rather a limitation of the architecture of the device. Hence , there is no errata for this.

    Hareesh