Skip to content

Commit

Permalink
Remove PLL postdiv assert. Fixes #1047 (#1189)
Browse files Browse the repository at this point in the history
  • Loading branch information
liamfraser authored Jan 24, 2023
1 parent 177b030 commit c578422
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/rp2_common/hardware_pll/pll.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@ void pll_init(PLL pll, uint refdiv, uint vco_freq, uint post_div1, uint post_div

// post_div1 should be >= post_div2
// from appnote page 11
// postdiv1 is designed to operate with a higher input frequency
// than postdiv2
assert(post_div2 <= post_div1);
// postdiv1 is designed to operate with a higher input frequency than postdiv2

// Check that reference frequency is no greater than vco / 16
assert(ref_mhz <= (vco_freq / 16));
Expand Down

0 comments on commit c578422

Please sign in to comment.