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.

TMS570LC4357: Is it possible to write to peripheral registers with the HTU?

Part Number: TMS570LC4357

Hello, I'm trying to configure a peripheral register using the the N2HET by passing data using the HTU. 

I have the N2HET and HTU working well(I'm able to read/write from the RAM (512kB) portion of memory). However, I can't seem to write to peripheral registers. I'm specifically talking about this region here:

Is it possible to write to the peripheral registers using the HTU? Am I missing something? 

Thanks.

  • Hi Mark,

    The "Peripheral Interconnect System" section in the TMS570LC43x TRM (spnu563) defines the access privileges for the different bus masters. I have pasted that table below:

    As you can see, HTU1/2 do not have the ability to access the peripheral regions.

    Regards,

    Sunil

  • Hi Sunil,

    Thanks for the reply.

    It's weird that that table seems to contradict what is said in the HTU section. 

  • Hi Mark,

    The limitation on memory accesses from the HTU does not come from the HTU design. The HTU is still able to drive the full 32-bit address bus. The blocking is implemented in the interconnect to minimize chances of “network collisions” when multiple masters access a particular slave.

    Please note that the DMA controller is able to access the peripheral registers spaces. This would be not as efficient as using the HTU, but would save CPU bandwidth nevertheless.

    Regards,

    Sunil