SPI chip select issue in imx7d-SABRESD

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

SPI chip select issue in imx7d-SABRESD

827 Views
deven_solanki
Contributor III

Hi,

I have been working in imx7d sabresd. Right now I am testing SPI interface(in mikrobus - ECSPI3). In board SPI chip select is GPIO6_IO22(address 3033_0228) and i configured it as a chip select from device tree ,and GPIO5_IO9(address 3033_01ac) is configure as a GPIO not as a SS2(chip select) and it is in LOW state. When I am trying to communicate over SPI, because of low state of this pin(GPIO5_IO9) that SPI device also get selected and I am getting wrong data.

I tried by isolating GPIO5_IO9 connection from SPI(through hardware), so it is working fine.

Is this expected behaviour in imx7d?

If I want to do this by software, how can i do?

Million thanks in advance.

Tags (3)
0 Kudos
Reply
1 Reply

640 Views
igorpadykov
NXP Employee
NXP Employee

Hi DEVEN

on sabre schematic SPF-28590 p.16,  TP_ESPI_SS_B is connected by jumper JP1

to TP_SPI_SS_B, had you checked it.

Schematics (2)
Design files for i.MX 7Dual (REV D)
Design files, including hardware schematics, Gerbers, and OrCAD files for i.MX 7Dual (REV D)
http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/i.mx-applications-process...

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------