When does the FlexIO shifter read data from input pin

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

When does the FlexIO shifter read data from input pin

218 次查看
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 项奖励
回复
1 回复

202 次查看
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 项奖励
回复