imx.6ull spi3 pin configuration in dts

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

imx.6ull spi3 pin configuration in dts

609件の閲覧回数
winstonshi_aure
Contributor II

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*/

0 件の賞賛
2 返答(返信)

581件の閲覧回数
Rita_Wang
NXP TechSupport
NXP TechSupport

It is 0x10b1, you can see the register in the RM.

721.PNG

0 件の賞賛

570件の閲覧回数
winstonshi_aure
Contributor II

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

タグ(1)
0 件の賞賛