S32K396 flexio SPI example not working

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

S32K396 flexio SPI example not working

Jump to solution
480 Views
Henrik-Wires
Contributor III

Cannot get the FlexIO SPI example Dspi_Flexio_Ip_Transfer_S32K396 to work. I have wired everything up as per the included description.txt but the FlexIO transaction never completes and the example is stuck at continiously checking Flexio_Spi_Ip_GetStatus().

Using Design Studio 3.6.3 (with 3.6.4 update) and RTD 6.0.0.

0 Kudos
Reply
1 Solution
448 Views
Henrik-Wires
Contributor III
Found the culpit. PTB28 is not wired to the MB by default on S32K396-BGA-DC1. Instead it is wired to the PHY connector.

Changing pinout to using PTF0-3 for LPSPI2 works much better.

And I am guessing this is also why the other example does not work as there is a lot of PHY pins not connected to the MB connectors.

It is almost as if you have selected pinouts to make life extra hard in using your tools.

View solution in original post

0 Kudos
Reply
3 Replies
458 Views
Henrik-Wires
Contributor III

The other Spi_Transfer_S32K396 works, and is more closely aligned with what we are doing. So not a blocker for us.

0 Kudos
Reply
455 Views
Henrik-Wires
Contributor III
But not fully. Master do not receive data from slave. Will investigate further on monday.
0 Kudos
Reply
449 Views
Henrik-Wires
Contributor III
Found the culpit. PTB28 is not wired to the MB by default on S32K396-BGA-DC1. Instead it is wired to the PHY connector.

Changing pinout to using PTF0-3 for LPSPI2 works much better.

And I am guessing this is also why the other example does not work as there is a lot of PHY pins not connected to the MB connectors.

It is almost as if you have selected pinouts to make life extra hard in using your tools.
0 Kudos
Reply