Re: dsPIC33CK256MP205時,使用內振FRC Oscillator頻率不準
|
||||
---|---|---|---|---|
新會員
|
版主您好,
收到了,謝謝您的回覆~~ MCU:dsPIC33CK256MP205 C編譯器版本:XC16V2.00
發表於: 2022/11/3 11:47
|
|||
|
Re: dsPIC33CK256MP205時,使用內振FRC Oscillator頻率不準
|
||||
---|---|---|---|---|
新會員
|
版主您好,
感謝您的回覆,兩片使用dsPIC33CK256MP205的電路板是相同的,只是一片是我要開發程式的debug板子,上面有dsPIC33CK256MP205 MCU及Reset電路和一些電容(如附圖),另一片是所有的零件都焊上的成品板子!! 我有確認過使用內振FRC Oscillator頻率不準的板子,使用周邊UART TX BaudRate115200,我用Logic Analyzer量測出來的BaudRate也是不準的... MCU:dsPIC33CK256MP205 C編譯器版本:XC16V2.00
發表於: 2022/11/2 10:39
|
|||
|
Re: dsPIC33CK256MP205時,使用內振FRC Oscillator頻率不準
|
||||
---|---|---|---|---|
管理員
|
s3618504 你好,請問兩片使用 dsPIC33CK256MP205 的開發板電路是相同的嗎?
發表於: 2022/10/31 10:26
|
|||
|
Re: dsPIC33CK256MP205時,使用內振FRC Oscillator頻率不準
|
||||
---|---|---|---|---|
新會員
|
版主您好,
感謝您的回覆,我有試過您說的方式在dsPIC33CK256MP205上使用和dsPIC33CK Curiosity Development Board相同的MCC設定方式,查看PWM輸出是(81.6KHz)不正確的,然後我也有試過手邊另一塊焊有dsPIC33CK256MP205板子,將同樣的程式燒入,查看PWM輸出是(100KHz)正確的,所以我確定是dsPIC33CK256MP205板子的問題,只是不知道為什麼這片dsPIC33CK256MP205板子的內振FRC Oscillator會不準? 使用元件:dsPICCK256MP205 ,C編譯器版本:XC16V2.00
發表於: 2022/10/28 13:32
|
|||
|
Re: dsPIC33CK256MP205時,使用內振FRC Oscillator頻率不準
|
||||
---|---|---|---|---|
管理員
|
s3618504 你好,可以嘗試在dsPIC33CK256MP205上使用和dsPIC33CK Curiosity Development Board相同的MCC設定方式,再查看PWM輸出是否正確。
如果問題沒有改善,也可以將專案打包寄至 Kevin.L@microchip.com 來協助確認問題。
發表於: 2022/10/28 11:02
|
|||
|
dsPIC33CK256MP205時,使用內振FRC Oscillator頻率不準
|
||||
---|---|---|---|---|
新會員
|
版主您好,
最近使用MPLAB XIDE V6.00在開發dsPIC33CK256MP205時,使用內振FRC Oscillator設定16MHz當主頻, 周邊使用PWM設定100KHz的頻率,使用Logic Analyzer抓取pwm訊號量測出的頻率為81.6KHz,請問需要校正嗎? 或要從哪裡校正?手邊有另一個開發板dsPIC33CK Curiosity Development Board同樣是設內振FRC Oscillator 設定16MHz當主頻,周邊使用PWM設定100KHz的頻率,使用Logic Analyzer抓取pwm訊號量測出的頻率為100KHz 是準的... MCU:dsPIC33CK256MP205 C編譯器版本:XC16V2.00
發表於: 2022/10/27 17:04
|
|||
|