K20 DSPI controlling SS

cancel
Showing results for 
Search instead for 
Did you mean: 

K20 DSPI controlling SS

224 Views
DustyStew
Contributor V

I'm looking at the DSPI docs and haven't yet found how to best go about controlling slave select. Can someone provide some insight as to how the designers intended that a programmer would control a single slave select pin? Program the PCS pin as GPIO? Use the polarity control for the PCS? Put the SPI in slave mode?

TIA

Tom

0 Kudos
1 Reply

12 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Customer could control the chip select signal with PUSH TX FIFO Register In Master Mode (SPIx_PUSHR) register [PCS[5:0]] bits.

Before set related register, customer need to config related pin with DSPI chip select function.

Wish it helps.

0 Kudos