ELCouz
Joined: 18 Jul 2007 Posts: 427 Location: Montreal,Quebec
|
PLL, HS fuse question !! |
Posted: Mon Jan 14, 2008 8:58 pm |
|
|
Dear members,
I'm trying to get working my new project using the DsPIC30F6015 for the first time... but i ran into a problem
read the following image...
the microchip clearly state that I need to use the HS/2 or HS/3 fuse with PLL (12mhz crystal).
The 30F6015.h doesnt list the HS3 or HS2 thing with pll
see by yourself
Code: |
//////// Fuses: XTL,HS,XT,XT_PLL4,XT_PLL8,XT_PLL16,ER_IO,ER,EC,EC_IO,EC_PLL4
//////// Fuses: EC_PLL8,EC_PLL16,LP,FRC,LPRC,PR,NOCKSFSM,CKSNOFSM,CKSFSM,WDT
//////// Fuses: NOWDT,WPSB1,WPSB2,WPSB3,WPSB4,WPSB5,WPSB6,WPSB7,WPSB8,WPSB9
//////// Fuses: WPSB10,WPSB11,WPSB12,WPSB13,WPSB14,WPSB15,WPSB16,WPSA1,WPSA8
//////// Fuses: WPSA64,WPSA512,NOPUT,PUT4,PUT16,PUT64,BROWNOUT,NOBROWNOUT
//////// Fuses: BORV20,BORV27,BORV42,BORV47,LPOL_HIGH,LPOL_LOW,HPOL_HIGH
//////// Fuses: HPOL_LOW,PWMPIN,NOPWMPIN,MCLR,NOMCLR,PROTECT,NOPROTECT,WRT
//////// Fuses: NOWRT,DEBUG,NODEBUG,COE,NOCOE,ICS0,ICS1,ICS2,ICS3
|
How i can run the dspic with a HS2 - HS3 with pll of 4x,8x or 16x?
XT is only for crystal up to 10 mhz , mine is 12mhz
Do i need to activate it manualy ... set a register to get it work ?
If yes , how ?
oh yeah, i'm using PCWHD 4.057
Many thanks !!! :D
Laurent |
|