MPC5744P spi slave mode

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

MPC5744P spi slave mode

694 Views
lyk
Contributor I

I have a question on spi slave mode:

        If I use SPI0 in slave mode, and set the PC4 as chip select pin, how to config PC4.

0 Kudos
Reply
1 Reply

555 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

it is enough to set respective MSCR[IBE] bit, e.g.

SIUL2.MSCR[36].B.IBE = 1;    // C[4]: Enable pad for input - SPI_0 CS0

BR, Petr