When does the FlexIO shifter read data from input pin

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

When does the FlexIO shifter read data from input pin

216 Views
Fanta
Contributor I

Hi,

I'm learning to use FlexIO in S32K3. I set the shifter in receive mode and the shift occurs on the positive edge. About the function of shifter, I wonder which description below is correct.

1) When there is a positive edge, the shifter reads one bit data from the input pin first, and then the shift occurs.

2)The shift occurs first, and then the shifter reads one bit data from the input pin.

Thanks

0 Kudos
Reply
1 Reply

200 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @Fanta,

When the shifter is configured to shift on a positive edge, the sampling and shifting are effectively synchronized with that edge. So, at the moment of the positive edge, the shifter samples the input pin and shifts the sampled bit into the shift register.

 

Regards,

Daniel

0 Kudos
Reply