imx6ull spi master could not read data from FRAM.

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

imx6ull spi master could not read data from FRAM.

1,689件の閲覧回数
alven
Contributor I

I use the spi master to read the data from the SPI slave FRAM mb85rs512t by the free rtos SDK non-blocking transfer. only one slave device was connected to the SPI interface.

 it contains the read command and some dummy data in a transfer. as the data sheet, the CS line should keep low during the whole operation and was set to automatic mode. and the spi was set to single burst and 8 bit as the burst length.so basically the interrupt works well . However the read data is always 0.

But when I change it to the block mode , and set the CS manual mode.  or i use the loop back test to see the data, both of them work well.

So could anyone show me how to configure the CS pin automatic configuration ? or any other advice. was blocked here for several days.

 

 

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

1,665件の閲覧回数
jinu_mohan
Contributor I

@art 

Hi im also having the same problem not able to read data from sensor using MIMXRT1060 module. the sdk only having example to communicate between controllers not to connect with external sensors 

im using SPI_EVKRT1060_lpspi_polling_b2b_transfer_master these examples 

0 件の賞賛
返信

1,676件の閲覧回数
art
NXP Employee
NXP Employee

To make me able to accurately answer your question, please first specify what
exactly i.MX family processor do you use and what software runs on top of it. Is
it MCUXpresso SDK? If so, plesae specify the SDK version.

Best Regards,
Artur

0 件の賞賛
返信