Other Parts Discussed in Thread: TMDS64EVM, SK-AM64B
Tool/software:
Hello,
when working with the 16 bit GPMC interface I'm seeing two back-to-back reads from the interface, despite there is read of just a 16 bit word (aka short aka int16_t) by the process. I.e. when reading from address 0, there is also read from address 1, but the result from address 1 becomes discarded, obviously. Writing a 16 bit word is resulting in a single write as expected. So that's fine.
The access to the GPMC window is simply done through an mmapped area from /dev/mem.
I found the problem described here as well: AM6442: GPMC 16 bit read issue
There is also linked a more in-depth explanation here: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/316742/am335x-gpmc-phantom-chip-select-generation/1106520#1106520
In fact, the theory behind is clear to me. However, I do not know how to implement the according settings with this pgprot-stuff. I'm afraid that this can only be done through a device driver...
Are there any advises how to accomplish that?
Thanks,
Mario