i.MX27 SPI issue

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

i.MX27 SPI issue

790 次查看
AndrewG1z
Contributor I

Hello all

I am developing a driver for a RFID chip. My MCU is a i.MX27 and the plan is to communicate with the RFID via SPI. However the RFID chip requires that I change the SPI mode (value of POL)  between write and read.

The mx_spi driver does not allow me to do the change on-the-fly. It uses the POL and PHA values configured when I added the SPI bus for the RFID.

Any hints how I can make the mx27 write on the SPI in one mode and read in another?

Thank you in advance for you suggestions.

标记 (1)
0 项奖励
回复
0 回复数