What is the max SPI clock imx28 can handle in slave mode?

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

What is the max SPI clock imx28 can handle in slave mode?

889件の閲覧回数
mmaaxx
Contributor III

Hello, I'm trying to make imx28 work at 20Mhz in slave mode.

 

I modified the mxs_spi driver, so it works in slave mode. And, it seems to work well at 4-10 Mhz, But when I'm trying to send the data at 12.5Mhz, SPI receives nothing, It doesn't even generate interrupts. 

 

I'm having a hard time figuring out what is the max SPI clock imx28's spi peripheral could handle in a slave mode. According to the datasheet, it could handle up to 50us min clock phase => 20Mhz total. 

 

Any suggestions?

 

Thanks!

ラベル(1)
0 件の賞賛
2 返答(返信)

595件の閲覧回数
yongkimin
Contributor III

I read your question! That is same what I consider it. I'd like to make SPI Slave driver in Linux platform.

Currently I designing my board using a i.XM28. The Kernel of Linux is 2.6.35.

But, the SPI driver of BSP is designed only Master mode. So I should modify it to Slave mode.

Can you assist me your experience. Thanks!

0 件の賞賛

595件の閲覧回数
MarekVasut
Senior Contributor I

Can you please share your modifications for the mxs spi driver to support spi slave? Thanks!

0 件の賞賛