Spi Slave some infos

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

Spi Slave some infos

跳至解决方案
581 次查看
pietrodicastri
Senior Contributor II

Good morning..

In Slave mode The SPIx_MCR has some useless bits it seems.

The CONT_SCKE is it useless??

Is the MTFE useless??

Is the PCSSE useless???

Is the PCSIS useless?? Only the PCS0 is used in slave (confirm please), so the polarity is an option or is fixed to active low?

Is SMPL_PT useless???

Is the bit rate setting useless in slave??

Are the delays useless in slave mode??

Thank You

标签 (1)
标记 (1)
0 项奖励
1 解答
463 次查看
Carlos_Mendoza
NXP Employee
NXP Employee

Hi Pietro di Castri,

Answering your questions:

The CONT_SCKE is it useless?? Yes, it is only useful in Master mode.

Is the MTFE useless?? Yes, it is only useful in Master mode.

Is the PCSSE useless??? Yes, it is only useful in Master mode.

Is the PCSIS useless?? Yes, it is only useful in Master mode.

Only the PCS0 is used in slave (confirm please), so the polarity is an option or is fixed to active low? Yes, the polarity can be changed modifying the CPOL bit on the Clock and Transfer Attributes Register (SPIx_CTARn_SLAVE), please notice that both master and slave must have identical clock polarities.

Is SMPL_PT useless??? Yes, it is only useful in Master mode.

Is the bit rate setting useless in slave?? Yes, these settings are only useful in Master mode.

Are the delays useless in slave mode?? Yes, these settings are only useful in Master mode.

Hope it helps!

Best Regards,

Carlos Mendoza

Technical Support Engineer

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
1 回复
464 次查看
Carlos_Mendoza
NXP Employee
NXP Employee

Hi Pietro di Castri,

Answering your questions:

The CONT_SCKE is it useless?? Yes, it is only useful in Master mode.

Is the MTFE useless?? Yes, it is only useful in Master mode.

Is the PCSSE useless??? Yes, it is only useful in Master mode.

Is the PCSIS useless?? Yes, it is only useful in Master mode.

Only the PCS0 is used in slave (confirm please), so the polarity is an option or is fixed to active low? Yes, the polarity can be changed modifying the CPOL bit on the Clock and Transfer Attributes Register (SPIx_CTARn_SLAVE), please notice that both master and slave must have identical clock polarities.

Is SMPL_PT useless??? Yes, it is only useful in Master mode.

Is the bit rate setting useless in slave?? Yes, these settings are only useful in Master mode.

Are the delays useless in slave mode?? Yes, these settings are only useful in Master mode.

Hope it helps!

Best Regards,

Carlos Mendoza

Technical Support Engineer

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 项奖励