LPSPI --> set PCS to high or low

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

LPSPI --> set PCS to high or low

跳至解决方案
1,275 次查看
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?

标签 (1)
0 项奖励
回复
1 解答
988 次查看
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 项奖励
回复
1 回复
989 次查看
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 项奖励
回复