Does SS clear MCU SPI FSM/shift counters in slave mode

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

Does SS clear MCU SPI FSM/shift counters in slave mode

1,250 Views
asdf_gone
Contributor I

Hi all, I am wondering if setting SS high while SPI slv in these MCUs (MC9S12ZVMRM, MC68HC908GZ60) returning a read data would reset the SPI slv logics such as FSM and shift, so the next transaction could function correctly. 

In MC9S12ZVMRM, it didn't list that as an error case, but in MC68HC908GZ60, it treats that as an erronous situation, but the manual didn't quite explain what would happen to the SPI slv logics. 

My assumption is that SPI slv generally would reset its logics after CS is high, but I would like to make sure with yall. 

0 Kudos
Reply
4 Replies

1,193 Views
lama
NXP TechSupport
NXP TechSupport

Hi,

Yes SS resets the status of the slave.

Best regards, Ladislav

1,160 Views
asdf_gone
Contributor I
The status includes the shift register counter for the slave output, right? I know it is a bit silly to ask, but have you guys tested this error case?
0 Kudos
Reply

1,096 Views
lama
NXP TechSupport
NXP TechSupport

Hi,

yes there is a counter. The peripheral structure is an IP block and should be used as black box. Of course, the number of pulses must be calculated and action must be done if there is an issue.

Best regards,

Ladislav

0 Kudos
Reply

1,205 Views
asdf_gone
Contributor I

Any help would be greatly appreciated, thanks

0 Kudos
Reply