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.

am335x and IPC Spinlocks - how?

Other Parts Discussed in Thread: AM3358

Hello Forum,

I need to use the Spinlock options of the am3358 IPC module (TRM 17.2)

After few attempts, I eventually tried reading the registers of the IPC using devmem2.

The mailbox registers are readable OK, but the Spinlock registers, if read, devmem2 returns a "bus error" message.

Am I doing something incorrectly or maybe they are read-protected, or powered down, or anything else?

 

root@am335x:~# devmem2 0x480c8000          // Mailbox ...

Read at address 0x480C8000 (0x40272000): 0x00000400  // -- this is correct

root@am335x:~# devmem2 0x480cA000        // Spinlock revision register ...
Bus error           /// -- this is what I'm asking of.

Please suggest.

Thank you!

(Also I'd like to note that there are 32 Spinlock registers listed in the TRM, while datasheets state them are 128. This is confusing, and make me thinking there might be no at all. If this is just a known documentation error, the I apologize for being dark)