Re: Set 40MHz 失敗
|
||||
---|---|---|---|---|
版主
|
你在程式裡使用 config __FNOSC_FRC 的設定所以使用的是內部高速 RC 震盪器,而不是使用外部震盪輸入+PLL。請參考一下 p24hj64gp206.inc 裡對 coonfiguration 的定義:
The following settings are available for FOSCSEL:
改成 FNOSC_PRIPLL 的設定項
發表於: 2009/7/29 16:13
|
|||
|
Set 40MHz 失敗
|
||||
---|---|---|---|---|
新會員
|
本人用PIC24HJ64gp206, 想利用EC (10MHz) 經PLL,使MCU 運行40MHz.
跟據datasheet DS70175H-page 123 寫了附件的程式. 在puls 中希望在pin11 出一個5Mhz 的信號. 但現在只出了460kHz 的信號. 程式有誤嗎? 還是算法有誤? Attach file: Link only for registered users
發表於: 2009/7/27 12:22
|
|||
|