QSPI

The QB QSPI driver can be configured and instanced using the qspi node. For example:

qspi {
    /* Instance numbering starts from 0 */
        qspi@0 {
            Instance = <0>;
            /* OpMode DmaChannel ChipSelect CSActiveBwPkts CyclesBwPkts TxClkTapDelay RxClkTapDelay */
            Controller Properties = <1 0 0 1 3 0 0>;
}; 

Where:

  • OpMode is set to 0 for SDR mode or 1 for DDR mode.
  • DmaChannel specifies the GPC DMA channel to be used by the QSPI driver.
  • ChipSelect is set to 0 for Active_Low or 1 for Active_High.
  • CSActiveBwPkts is Chip Select to be active between QSPI packets. Set 1 to enable Chip Select, or 0 to disable it.
  • CyclesBwPkts is the number of wait cycles between QSPI packets.
  • TxClkTapDelay and RxClkTapDelay specify the tab delay.