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.

GPMC TIMEOUTSTARTVALUE units

Hello!

Quote from AM335x ARM Cortex-A8 Microprocessors (MPUs) Technical Reference Manual (Rev. I), Table 7-65. GPMC_CONFIG1_0 Register Field Descriptions, page 393:

TIMEPARAGRANULARITY: Signals timing latencies scalar factor (Rd/WRCycleTime, AccessTime, PageBurstAccessTime, CSOnTime, CSRd/WrOffTime, ADVOnTime, ADVRd/WrOffTime, OEOnTime, OEOffTime,
WEOnTime, WEOffTime, Cycle2CycleDelay, BusTurnAround, TimeOutStartValue)

Same document, Table 7-60. GPMC_TIMEOUT_CONTROL Register Field Descriptions, page 387:

TIMEOUTSTARTVALUE: Start value of the time-out counter (000 corresponds to 0 GPMC.FCLK cycle, 1h corresponds to 1 GPMC.FCLK cycle, and 1FFh corresponds to 511 GPMC.FCLK cycles)

Also, TIMEOUTSTARTVALUE is GPMC-wide parameter and TIMEPARAGRANULARITY is CS-wide.

Here comes the question: what is the time unit for timeout counter: GMPC_FCLK period or (TIMEPARAGRANULARITY_i + 1) * GPMC_FCLK period? ('i' represents CS number)