LPSPI --> set PCS to high or low

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

LPSPI --> set PCS to high or low

Jump to solution
1,204 Views
adrianwenger
Contributor III

Hi,

i want to set the CS to high or low to deactivate or activate the slave device.

How can i perform this?

Labels (1)
0 Kudos
Reply
1 Solution
917 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

The CS is automatically activated/deactivated by the SPI module.

Only select which CS you want to use in TCR[PCS], set its polarity CFGR1[PCSPOL] and a delay between the last/first SCK edge and CS assertion/deassertion using CCR[SCKPCS, PCSSCK, DBT].

Regards,

Daniel

View solution in original post

0 Kudos
Reply
1 Reply
918 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

The CS is automatically activated/deactivated by the SPI module.

Only select which CS you want to use in TCR[PCS], set its polarity CFGR1[PCSPOL] and a delay between the last/first SCK edge and CS assertion/deassertion using CCR[SCKPCS, PCSSCK, DBT].

Regards,

Daniel

0 Kudos
Reply