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: GPMC Prefetch TRANSFERCOUNT for 16-Bit NAND?



Hi Everyone,

the AM335x-TRM states:

"In both prefetch and write-posting modes, the engine respectivelly uses byte or 16-bit word access requests for an 8- or 16-bit wide NAND device attached to the linked chip-select. The FIFOTHRESHOLD and TRANSFERCOUNT fields must be programmed accordingly as a number of bytes or a number of 16-bit word."

in chapter "7.1.3.3.12.4.1 General Facts About the Engine Configuration". The rest of the TRM mentions only bytes in the context of field TRANSFERCOUNT. What is correct?

Additionally, in prefetch mode when connected to a 16-Bit NAND, writing the value 1 in field TRANSFERCOUNT increases the field COUNTVALUE of register GPMC_PREFETCH_STATUS to 0x3FC1. Is this a bug?

Can someone please clarify?

TIA, Rudi