PSoC 4200L PWM issue

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

cross mob
lock attach
Attachments are accessible only for community members.
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
5 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

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
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
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Apart from your self-made warnings and errors 😉

   

Set trsignal input to "Double Sync".

   

 

   

Bob

0 Likes
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
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Congratulations!

   

and...

   

You're always welcome!

0 Likes