i.MX27 SPI issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX27 SPI issue

443 Views
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.

Tags (1)
0 Kudos
0 Replies