AnsweredAssumed Answered

Could the rom scripts of sdma be used to access to the peripheral with eim interface

Question asked by jie jia on Jul 3, 2014
Latest reply on Jul 8, 2014 by igorpadykov

I want to read data from fpga using eim bus. I sure the eim configuration work well because I get the correct results when I read or write data using ioread16() and iowrite16(). Now I want to transport data using sdma. The sdma peripheral type are used to choose the rom script, which one should I choose?

enum sdma_peripheral_type {

  IMX_DMATYPE_SSI, /* MCU domain SSI */

  IMX_DMATYPE_SSI_SP, /* Shared SSI */

  IMX_DMATYPE_MMC, /* MMC */

  IMX_DMATYPE_SDHC, /* SDHC */

  IMX_DMATYPE_UART, /* MCU domain UART */

  IMX_DMATYPE_UART_SP, /* Shared UART */

  IMX_DMATYPE_FIRI, /* FIRI */

  IMX_DMATYPE_CSPI, /* MCU domain CSPI */

  IMX_DMATYPE_CSPI_SP, /* Shared CSPI */

  IMX_DMATYPE_SIM, /* SIM */

  IMX_DMATYPE_ATA, /* ATA */

  IMX_DMATYPE_CCM, /* CCM */

  IMX_DMATYPE_EXT, /* External peripheral */

  IMX_DMATYPE_MSHC, /* Memory Stick Host Controller */

  IMX_DMATYPE_MSHC_SP, /* Shared Memory Stick Host Controller */

  IMX_DMATYPE_DSP, /* DSP */

  IMX_DMATYPE_MEMORY, /* Memory */

  IMX_DMATYPE_FIFO_MEMORY,/* FIFO type Memory */

  IMX_DMATYPE_SPDIF, /* SPDIF */

  IMX_DMATYPE_IPU_MEMORY, /* IPU Memory */

  IMX_DMATYPE_ASRC, /* ASRC */

  IMX_DMATYPE_ESAI, /* ESAI */

  IMX_DMATYPE_HDMI,

};

Outcomes