I found some sample code use 0x100b1 to configure the spi pins while some use 0x10b1. which one is correct? Thanks.
MX6UL_PAD_UART2_RTS_B__ECSPI3_MISO 0x100b1 /* MISO*/ MX6UL_PAD_UART2_CTS_B__ECSPI3_MOSI 0x100b1 /* MOSI*/ MX6UL_PAD_UART2_RX_DATA__ECSPI3_SCLK 0x100b1 /* CLK*/ MX6UL_PAD_UART2_TX_DATA__ECSPI3_SS0 0x100b0 /* CS*/
MX6UL_PAD_UART2_RTS_B__ECSPI3_MISO 0x10b1 /* MISO*/ MX6UL_PAD_UART2_CTS_B__ECSPI3_MOSI 0x10b1 /* MOSI*/ MX6UL_PAD_UART2_RX_DATA__ECSPI3_SCLK 0x10b1 /* CLK*/ MX6UL_PAD_UART2_TX_DATA__ECSPI3_SS0 0x10b0 /* CS*/
thanks! do you have experience in using dma mode for spi3?
i met an RX error when I using dma mode. the PIO mode worked well.
[ 115.830065] spi_master spi2: I/O Error in DMA RX:400
[ 115.841541] spi_master spi2: failed to transfer one message from queue