-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #163 from yrabbit/gw1ns-2-1
stage2. Add PLL support for GW1NS-2 chips
- Loading branch information
Showing
4 changed files
with
43 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
`define PLL_DYN | ||
`define PLL_DEVICE "GW1NS-2C" | ||
`define PLL_FCLKIN "24" | ||
`define PLL_ODIV_SEL 8 | ||
|
||
`define PLL_FBDIV_SEL 12 | ||
`define PLL_IDIV_SEL 5 | ||
|
||
`define PLL_FBDIV_SEL_1 9 | ||
`define PLL_IDIV_SEL_1 2 | ||
|
||
`define PLL_FBDIV_SEL_LCD 29 | ||
`define PLL_IDIV_SEL_LCD 7 | ||
|
||
`define KEY rst |