AnsweredAssumed Answered

i.MX6Q PCIe : cannot read from 0x0100_0000~0x01FF_BFFF

Question asked by Masami Yasui on Sep 28, 2017
Latest reply on Oct 17, 2017 by Masami Yasui

In i.MX6 Quad, could you tell me the conditions that make the following areas accessible?

  0x0100_0000~0x01FF_BFFF  16,368KB  PCIe

 

Currently, read access to this area causes an abnormal state (freeze).
(Non-Linux system)

 

I understand that this area is used for outbound transfer and MSI interrupt.

 

The register area below can be read and written normally.

  0x01FF_C000~0x01FF_FFFF  16KB  PCIe registers

 

The current setting is described below.

 

- PageTable of the corresponding area is defined collectively with other peripherals as a device.

    // 0x01000000 - 0x02bfffff : I/O Access #2

 

- The PCIe peripheral clock is set as follows.

    CCM_ANALOG_PLL_ENET
      ENABEL=1
      ENABLE_100M=1
      ENABLE_125M=1

      * These are set after confirming that LOCK == 1 after setting POWERDOWN = 0.

    CCM_CCGR4
      CG0=0b11

    IOMUXC_GPR1
      REF_SSP_EN=1

 

Please let me know if there are other necessary information.

i.mx6q pciepci expressimx6

Outcomes