Re: 請教高手關於p24hj64時脈的設定
|
||||
---|---|---|---|---|
高級會員
|
重新檢查過了~TQFP轉接版沒問題
在請教一下版主~晶片有微溫是正常的嗎~? 很怕在焊接的過程造成晶片受損~!!
發表於: 2007/7/6 13:59
|
|||
|
Re: 請教高手關於p24hj64時脈的設定
|
||||
---|---|---|---|---|
版主
|
TQFP 轉接板沒焊好,用放大鏡檢查一下。
發表於: 2007/7/5 20:05
|
|||
|
Re: 請教高手關於p24hj64時脈的設定
|
||||
---|---|---|---|---|
高級會員
|
有檢查過了~
現在的狀況適時好時壞~ 會是電路的問題嗎~? 電路是洞洞版+TQFP轉接版~~
發表於: 2007/7/5 17:02
|
|||
|
Re: 請教高手關於p24hj64時脈的設定
|
||||
---|---|---|---|---|
版主
|
之前的程式以用在很多的範例都妹有問題,要不要檢查一下 configuration 的設定。
發表於: 2007/7/5 16:33
|
|||
|
Re: 請教高手關於p24hj64時脈的設定
|
||||
---|---|---|---|---|
高級會員
|
版主我試過了~
不管是使用外部crystal或內部RC~還是會有之前的問題~?
發表於: 2007/7/4 23:05
|
|||
|
Re: 請教高手關於p24hj64時脈的設定
|
||||
---|---|---|---|---|
高級會員
|
謝謝版主~
我試試看~ ^^
發表於: 2007/7/4 16:36
|
|||
|
請教高手關於p24hj64時脈的設定
|
||||
---|---|---|---|---|
高級會員
|
當我只設定PLLFBD<PLLDIV>時,其餘為預設值,此時fcy=80MIPS,系統很正常;一旦修改CLKDIV<PLLPOST,PLLPRE>這兩個參數其中一個時,除錯過程中會發生PC值變為"0".
以下是我的程式: int main(void) { PLLFBD = 0x001E; CLKDIVbits.PLLPOST = 0; //(1) CLKDIVbits.PLLPRE = 0; //(2) while(_LOCK!=1){}; //(3) ... ... ... } 如果少掉(1)(2)(3)的步驟-->正常 如果多上(1)(2)的步驟-->出現上述問題 加上(1)(2)(3)的步驟-->RESET多次可正常動作 請問各位高手是否我設定的方式錯誤~? tools:MPLAB IDE V7.61a+C30+ICD2 小弟是p24hj新手~請多指教~!!
發表於: 2007/6/30 14:52
|
|||
|