i.Mx6 SPI-Slave interrupts

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

i.Mx6 SPI-Slave interrupts

2,294件の閲覧回数
arti
Contributor I

Hi All,

I am currently working on i.Mx6 SPI-Slave and I am able to communicate with Master.

(When I transmit 5 data from Master, Test register Rx count will also read as 5 and so on)

If I continuously transmit data from Master, RxFifo gets full and when I poll for the status register, status RO gets set. (as expected)

But I am neither getting ROEN nor RFEN interrupts. 

Have any one faced similar issue before with iMx6 SPI.

Whenever I start the device I get a TC interrupt and I dont receive subsequent interrupts..

Initialization process that I have followed right now

  1. Disable ECSPI block
  2. Enable ECSPI
  3. Enable clock
  4. Set control and config registers: SPI burst length set is 32 bit (1f)
  5. Enabled interrupts for ROEN, RFEN, RDREN, RREN

Please let me know if you need detailed configuration.

Thanks in advance.

Arti

タグ(2)
0 件の賞賛
返信
1 返信

1,617件の閲覧回数
robert99
Contributor I

Hello Arti,

I'm just curious about your success writing an i.MX6 SPI Slave driver supporting Interrupts? Can you give me a brief conclusion about your experiences? Did you also use DMA?

Thank's a lot,

Robert

0 件の賞賛
返信