Advantage of Input Sync

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
AnRa_1522781
Level 2
Level 2

Hi,

   

In PSoC4100M some of the ports don't have input double/single sync option. Is there a particular advantage of syncing the digital input to HFCLK?

   

 

   

Best Regards 

0 Likes
3 Replies
Anonymous
Not applicable

In any system, if a signal is synchronized to a clock, then it will be considered for all the timing calculations like setup time, hold time, skew and so on. So, you would know if there are any timing violations. If the pins Sync mode is transparent, then the signal will be treated as asynchronous till it gets synced to any other clock later inside the system. 

   

I did not see any ports in PSOC 4 M that does not having input sync. Can you tell me which port does not have this feature?

0 Likes
AnRa_1522781
Level 2
Level 2

In Application Note, AN86439 - PSoC 4 - Using GPIO Pins, a note on page 33 says that Port4 and higher cannot be synchronized. 

   

Does this mean that if I read the pin after sufficient delay then I would read the correct value ie either high or low?

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Synchronization is needed for signal paths to be processed at the right time avoiding glitches. Because reading with a Pin_Read() is asynchronous in nature, no sync sampling is needed. The same applies to Pin_Write(). This will explain why neither sync nor double sync is provided for pins of ports >= 4.

   

 

   

Bob

0 Likes