cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4 MCU

Anonymous
Not applicable

Hello,

   

I am having an issue with using the UDB PWM component with 48 MHz HFCLK clocking. Since I was using the USB component, I must set the HFCLK to 48 MHz. When building the project, this warning message apperars:

   

 

   

Warning-1366: Setup time violation found in a path from clock ( clk1m ) to clock ( clkphase ).

   

 

   

And it indicates the max frequency being only 29.8 MHz.

   

Thanks for your help!

   

 

   

I have attached the project to this post.

0 Likes
Reply
5 Replies
Esteemed Contributor II

The trigger input of the PWM was not connected. After connection with an input GPIO set to double sync the project compiled error-free.

   

There are some components not on latest revision. Consider updating (Creator v3.3 CP3 -> Project -> Update Components)

   

 

   

Bob

0 Likes
Reply
Anonymous
Not applicable

Ah, I'm sorry! I forgot the project contained two different files. It was the "pcbtesttablet1" project that required attention, which does have the trigger pin connected. The "design01" project was created by mistake. Thanks!

0 Likes
Reply
Esteemed Contributor II

Apart from your self-made warnings and errors 😉

   

Set trsignal input to "Double Sync".

   

 

   

Bob

0 Likes
Reply
Anonymous
Not applicable

That worked!! I can't believe it's such a simple setting that I overlooked. Spent 4 hours trying to find it, and I feel so dumb.

   

 

   


   ヘ⌒ヽフ
( ・ω・) Thanks Bob~~
/ ~つと) 
 

0 Likes
Reply
Esteemed Contributor II

Congratulations!

   

and...

   

You're always welcome!

0 Likes
Reply