What spi mode is on ls1043ardb

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

What spi mode is on ls1043ardb

929件の閲覧回数
randy_wang
Contributor II

Hi,

Does the spi bus mode 0 in the ls1043ardb default setting?

if the default setting is not mode 0, how can I set it to mode 0?

Thanks.

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

833件の閲覧回数
randy_wang
Contributor II

Hi Ufedor,

I don't realy understand the Qspi.

My question is that the SPI has mode 0, 1, 2, 3.

and I need the SPI mode 0 to communicate with the device.

Thanks.

0 件の賞賛
返信

833件の閲覧回数
ufedor
NXP Employee
NXP Employee

The SPI clocking is fully configurable and all 4 modes are supported - refer to the QorIQ LS1043A Reference Manual, 34.4.3 Clock and Transfer Attributes Register (In Master Mode) (SPI_CTARn).

The mode 0 is configured by default after reset.

0 件の賞賛
返信

833件の閲覧回数
ufedor
NXP Employee
NXP Employee

Please refer to the QorIQ LS1043A Reference Manual, 30.1.4 QuadSPI boot initialization sequence:

"QSPI_A_CS0 is used for boot initialization. QSPI is only accessed in 1-bit mode and at low speed for RCW/PBI fetch.
PBI can reconfigure the QSPI to either higher frequency or 2-/4-bit mode as required for the QSPI boot to occur faster."