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.

issue regarding gpmc cs and adv assertion

Hi,

We are accessing DDR3 connected to FPGA through GPMC bus from DM8148.  We are using address/data multiplexed mode. We are seeing an unexpected  behaviour of gpmc_cs and gpmc_adv signals. I've attached the snapshot captured using Xilinx FPGA chipscope. 

In the figure, following signals show the signaling issue.

 i_gpmc_cs_n_IBUF                à Chip select

i_gpmc_we_n_IBUF               à Write Enable

i_gpmc_oe_n_IBUF               à Output Enable

i_gpmc_addr_valid_n_IBUF     à Address Data Valid

 All the above signals are active low.

With the first two active chip select signals, there is no i_gpmc_we_n_IBUF or i_gpmc_oe_n_IBUF assertion. Hence there is no valid transaction which will lead to wastage of clock cycles.

 Please let us know any possible causes for this behavior of GPMC.

  • Hello,

    The ROM Code initializes only 12 GPMC address lines (gpmc_a0 to gpmc_a11), not all 25 address lines, can this cause the issue? What address space do you intend to use?

    You can also check for GPMC tips and hints here:

    http://processors.wiki.ti.com/index.php/Tips_for_configuring_OMAP35x,_AM35x,_and_AM-DM37x_GPMC_registers

    DM814x TRM, chapter 11 GPMC, section 11.4 Use Cases And Tips.

    Regards,

    Pavel

  • Hi Pavel,

    The reference link for our implementation is given below.

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/t/235797.aspx?pi70909=1

    Actually, we faced two issues. One issue was discussed in the post above. The other issue is this. Can you please help in this issue after seeing that link??

    Regards

    Vaishnavi

  • Hi Vaishnavi,

    Why you are connecting DDR memory to the DM814x GPMC peripheral (through FPGA), instead of using the DM814x DDR peripheral?

    Regarding the GPMC_CSx and GPMC_ADV signals assertion, are you align with the DM814x TRM ? See :

    Figure 11-2. GPMC to 16-Bit Address/Data-Multiplexed Memory

    11.2.4.8.2.3 Address/Data-Multiplexing Interface

    For random synchronous or asynchronous memory interfacing (DEVICETYPE = 00), an address- and data-multiplexing protocol can be selected through the GPMC_CONFIG1_i[[9-8] MUXADDDATA bit (i = 0 to 5). The ADV signal must be used as the external device address latch control signal. For the associated chip-select configuration, ADV assertion and deassertion time and OE assertion time must be set to the appropriate value to meet the address latch setup/hold time requirements of the external device

    11.2.4.9 Timing Setting

    11.2.4.9.2 CS: Chip-Select Signal Control Assertion/Deassertion Time

    11.2.4.9.3 ADV_ALE: Address Valid/Address Latch Enable Signal Control Assertion/Deassertion Time

    BR

    Pavel