SPI 1 K60 TOWER confusion

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

SPI 1 K60 TOWER confusion

1,243 Views
luke_8
Contributor I

I am confused in documentation.

 

1) In TWR-K60512 users manual there are SPI1 on B7 - B11 tower pins

     B7 - SPI1_CLK     usage PTE2

     B8 - SPI1_CS1     

     B9 - SPI1_CS0    usage PTE4

     B10 - SPI1_MOSI   usage PTE1

     B11 - SPI1_MISO   usage PTE3

 

2) In K60 reference manual chapter 10.3.1 there is signal multiplexing and pin assignment

There are SPI signals described as SPI1_SIN, SPI1_SCK, SPI1_SOUT.

Why the different labeling of signals in documents for one device?

 

The last curious thing is that I found that the my software using SPI1 sends data on the B11 which is PTE3  - MISO or SIN!!!

 

 

 

 

 

     

0 Kudos
2 Replies

538 Views
mnorman
NXP Employee
NXP Employee

HI, Luke,

 

The Tower System tries to use generic signal names for the Elevator Connectors.  Sometimes these will not match up exactly with the signal names for a given MCU or MPU that is designed into a Tower System controller module.  That's what you are seeing here.  The Kinetis SPI module does not automatically swap the input and output data based on the mode of operation (master or slave).  The signal names used are "Serial In (SIN)" and "Serial Out (SOUT)".  On the TWR-K60N512, we set the Kinetis MCU up as the master and connection SIN to the generic MISO (master in, slave out) signal, and SOUT to the generic MOSI (master out, slave in) signal. 

 

Hope that helps,

-mnorman

0 Kudos

538 Views
luke_8
Contributor I

I send a service request and the reply was that there is an error in documentation so I my finding was correct

0 Kudos