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
Solved! Go to Solution.
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!
-----------------------------------------------------------------------------------------------------------------------
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!
-----------------------------------------------------------------------------------------------------------------------