Hi,
I want to using GPMC to access a CPLD in my target, I configured GPMC with following parameters, but GPMC clock only occurs once when I access CPLD at the first time. After that there is no clock is sent, why?
The following is detailed GPMC configuration:
1. firstly I configure CS3 as mode 0 since I use it as chip-select
2. configure CONTROL.CONTROL_PADCONF_GPMC_NCS7[24] INPUTENABLE1 = 1, using is as gpmc clock.
3. configure GPMC registers:
AM3X_GPMC_CONFIG1_3 = 0x28001000: configure read/write as synchronous mode, 16bit device, NOR like
AM3X_GPMC_CONFIG2_3 ~ AM3X_GPMC_CONFIG6_3: default value
AM3X_GPMC_CONFIG7_3 = 0x00000f58: I configured base address as 0x18000000 with 16M size
Is there other anything need to do? Why only the first time can send clock, but after that there is no clock any more?
Does I need to enable gpmc clock? where can I configure it?