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.

TDA4VM: GPMC configuration through R5F

Part Number: TDA4VM

Hi Support Team,

Im trying to configure GPMC through R5f mcu2_1 and i have tried configuring it in this case im using a 16 bit nor asycronous configuration, here during this test the output which i checked the data, chip-select and the write enable are happening correctly but the address line are always high, I have also shared my gpmc configurations below

#define GPMC_SYSCONFIG_VALUE          0x00000008
#define GPMC_IRQENABLE_VALUE          0x00000000
#define GPMC_TIMEOUT_CONTROL_VALUE    0x00000000
#define GPMC_CONFIG1_0_VALUE          0X01001000
#define GPMC_CONFIG1_1_VALUE          0X01001000
#define GPMC_CONFIG2_0_VALUE          0X000f0f00
#define GPMC_CONFIG2_1_VALUE          0X000f0f00
#define GPMC_CONFIG3_0_VALUE          0X00000000
#define GPMC_CONFIG3_1_VALUE          0X00000000
#define GPMC_CONFIG4_0_VALUE          0X0f010f01
#define GPMC_CONFIG4_1_VALUE          0X0f010f01
#define GPMC_CONFIG5_0_VALUE          0X030e1010
#define GPMC_CONFIG5_1_VALUE          0X030e1010
#define GPMC_CONFIG6_0_VALUE          0X8e000000
#define GPMC_CONFIG6_1_VALUE          0X8e000000
#define GPMC_CONFIG7_0_VALUE          0x00000F60//F20
#define GPMC_CONFIG7_1_VALUE          0x00000F61//F21
  • Hi Balaji,

    Can you please let me know which CSL Example you are using for GPMC?
    I didn't see GPMC driver support for JACINTO Platforms.

  • Hi Anil,

    Thankyou for your response, Im trying this with the J721e EVM board , I have not refered any example file,
    As there is no driver support i stared configuring through register level and in this case the data, chip select and the Write Enable pins are working fine except the Address lines and also i have removed out the MCASP and UART pins which were conflicting on the pinmux.

    I have a another dout that configuring through registers also the GPMC would not work?

    Thanks

  • Balaji,

    As I am new to this GPMC driver, how many address lines are required in case of GPMC, any one of the address lines is not working?

    I found one diag example in the internal PDK folder, where we are configuring.

    gpmc_cfg.addrDataMux = GPMC_MUXADDDATA_NOMUX (Defined as Zero);

    But there is no driver support in the internal PDK folder as well.

    It will be good if we have any CSL GPMC example that is supported by J721E_EVM.

  • Hi Anil,

    Im using 16 address lines, and 16 data lines 2 chip select, I have not seen the Mux/demux which is drived through a i2c expander, at default it was configured for MCASP and now i configured it to GPMC and its working fine.

    Thanks

  • Good!

    Can you please close this thread if the issue is resolved.