• slider image 442
  • slider image 483
  • slider image 484
  • slider image 485
  • slider image 486
  • slider image 487
:::


Browsing this Thread:   1 Anonymous Users






Re: dsPIC33CK256MP205時,使用內振FRC Oscillator頻率不準
#7
新會員
新會員


查看用戶資訊
版主您好,

收到了,謝謝您的回覆~~





MCU:dsPIC33CK256MP205 C編譯器版本:XC16V2.00

發表於: 2022/11/3 11:47
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: dsPIC33CK256MP205時,使用內振FRC Oscillator頻率不準
#6
管理員
管理員


查看用戶資訊
s3618504 你好,MCU有可能會在任何超出電氣規範的情況下造成損壞,可以嘗試量測有問題的那片電路板,並確保輸入電壓和MCU使用的電容符合Datasheet的需求。或嘗試對調兩片電路板使用的MCU,來確認MCU是否正常。

關於 Internal Oscillator 的震盪頻率錯誤的部分,MCU的 Internal Oscillator 會在出廠時進行校正並儲存在Flash中,正常情況下校正值並不會在後續設計和燒錄程式中被修改,但如果曾經在燒錄時發生錯誤或燒錄時中斷或強制燒錄該該區域,就有可能會使出廠校正值遺失。

發表於: 2022/11/2 14:59
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: dsPIC33CK256MP205時,使用內振FRC Oscillator頻率不準
#5
新會員
新會員


查看用戶資訊
版主您好,

感謝您的回覆,兩片使用dsPIC33CK256MP205的電路板是相同的,只是一片是我要開發程式的debug板子,上面有dsPIC33CK256MP205 MCU及Reset電路和一些電容(如附圖),另一片是所有的零件都焊上的成品板子!!
我有確認過使用內振FRC Oscillator頻率不準的板子,使用周邊UART TX BaudRate115200,我用Logic Analyzer量測出來的BaudRate也是不準的...


MCU:dsPIC33CK256MP205 C編譯器版本:XC16V2.00

Attach file:



jpg  dsPIC33CK256MP.jpg (52.41 KB)
2745_6361d8705c7c0.jpg 1350X629 px

發表於: 2022/11/2 10:39
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: dsPIC33CK256MP205時,使用內振FRC Oscillator頻率不準
#4
管理員
管理員


查看用戶資訊
s3618504 你好,請問兩片使用 dsPIC33CK256MP205 的開發板電路是相同的嗎?

發表於: 2022/10/31 10:26
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: dsPIC33CK256MP205時,使用內振FRC Oscillator頻率不準
#3
新會員
新會員


查看用戶資訊
版主您好,

感謝您的回覆,我有試過您說的方式在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
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: dsPIC33CK256MP205時,使用內振FRC Oscillator頻率不準
#2
管理員
管理員


查看用戶資訊
s3618504 你好,可以嘗試在dsPIC33CK256MP205上使用和dsPIC33CK Curiosity Development Board相同的MCC設定方式,再查看PWM輸出是否正確。
如果問題沒有改善,也可以將專案打包寄至 Kevin.L@microchip.com 來協助確認問題。

發表於: 2022/10/28 11:02
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


dsPIC33CK256MP205時,使用內振FRC Oscillator頻率不準
#1
新會員
新會員


查看用戶資訊
版主您好,

最近使用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

Attach file:



jpg  dsPIC33CK.jpg (278.23 KB)
2745_635a4967b162f.jpg 1920X1080 px

發表於: 2022/10/27 17:04
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部







You can view topic.
不可以 發起新主題
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create PDF files.
You cannot get print page.

[進階搜尋]


:::

Microchip連結

https://www.facebook.com/microchiptechnologytaiwan/
http://www.microchip.com.tw/modules/tad_uploader/index.php?of_cat_sn=13
https://mu.microchip.com/page/tmu
http://elearning.microchip.com.tw/modules/tad_link/index.php?cate_sn=1
https://page.microchip.com/APAC-PrefCenters-TW.html
http://www.microchip.com/
http://www.microchip.com/treelink
http://www.microchipdirect.com/
http://www.microchip.com.cn/newcommunity/index.php?m=Video&a=index&id=103
http://www.microchip.com.tw/modules/tad_uploader/index.php?of_cat_sn=2
http://www.microchip.com.tw/Data_CD/eLearning/index.html
http://www.microchip.com.tw/RTC/RTC_DVD/
https://www.microchip.com/development-tools/
https://www.youtube.com/user/MicrochipTechnology
[ more... ]

教育訓練中心

!開發工具購買
辦法說明 [業界客戶] [教育單位]
----------------------------------
!校園樣品申請
辦法說明 [教師資格] [學生資格]
----------------------------------