How can I make a 4/3 clock divider

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

cross mob
HuEl_264296
Level 5
Level 5
First like given 25 sign-ins First solution authored

I need a 3mbps UART, but I also want to run my PSoC5 at 64MHz. This creates a conflict, because a 3mbps UART needs either a 24MHz or a 48MHz clock, and so I can't use a 64MHz master clock. (It's a shame I can't get access to the 48MHz USB clock).

   

One way around this would be to create a 4/3 or 8/3 clock divider. I've looked online, but can't find any examples of how to do this.  Does anyone know if it's possible to do such a thing in Verilog?

   

Many thanks - Hugo

0 Likes
1 Solution
odissey1
Level 9
Level 9
First comment on KBA 1000 replies posted 750 replies posted
        You can get 3MHz from 64MHz bus_clock using DDS32 module http://www.cypress.com/comment/405656#comment-405656 Whether it will work as a clock for UART, that is the question, because of the jitter produced at high frequency. Then next option is custom PLL, which is also doable by PSoC.   

View solution in original post

0 Likes
1 Reply
odissey1
Level 9
Level 9
First comment on KBA 1000 replies posted 750 replies posted
        You can get 3MHz from 64MHz bus_clock using DDS32 module http://www.cypress.com/comment/405656#comment-405656 Whether it will work as a clock for UART, that is the question, because of the jitter produced at high frequency. Then next option is custom PLL, which is also doable by PSoC.   
0 Likes