How to simulate the PSoC4 clock with program tools

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

cross mob
ViDv_264506
Level 5
Level 5
50 sign-ins 25 sign-ins 5 solutions authored

 Hi, 

   

 

   

in the artickle "Using Clocks with PSoC 4" http://www.cypress.com/?id=2401 Brad Budlong has described how to convert the PSoC4 clock signal to a data signal. 

   

 

   

My question is "How to simulate the PSoC4 clock with program tools". Using the Control_Reg for this purpose is possible on PSoC 5LP (because the Control_Reg outpus are data) but not on PSoC4. In other words how to convert  "data to clocks" on the PSoC4 platform.

   

 

   

Regards,

   

 

   

Viktor

0 Likes
2 Replies
Anonymous
Not applicable
        Just use System/Clock module. And check property, Clock type: Existing.   
0 Likes
HeLi_263931
Level 8
Level 8
100 solutions authored 50 solutions authored 25 solutions authored
        When you have a data signal, and want to use it as a clock, you either connect it to a clock input. Or you use a sync component to synchronize it to the bus clock. The latter way is preferred because it allows Creator to know all timing details.   
The last option would be to attach the data signal to an internal pin and specify this pin as clock (in the design wide resources) .   
0 Likes