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

論壇索引


Board index » All Posts (s3618504)




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


版主您好,

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





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

發表於: 2022/11/3 11:47
頂部


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


版主您好,

感謝您的回覆,兩片使用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
頂部


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
頂部


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


版主您好,

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


Re: PICKIT4 無法debug
#5
新會員
新會員


Darren您好,

了解,今天會將PICKIT4寄出到代理商(華豫寧)那裏,代理商會幫忙轉寄,
謝謝您的回覆~~

發表於: 2022/4/12 16:12
頂部


Re: PICKIT4 無法debug
#6
新會員
新會員


KevinLu 您好,

我已經有更換USB傳輸線並使用
"Hardware Tool Emergency Firmware Boot Recovery Utility"回復原廠設定,進入debug mode時還是會出現下面訊息

Reception on endpoint 129 failed (err = -10121)
Reception on endpoint 129 failed (err = -10121)
A communication error with the debug tool has occurred. The tool will attempt to recover momentarily.

Unable to run the target device.
Transmission on endpoint 2 failed (err = -10121)

請問可以送修嗎?

手上有PICKIT3進入debug mode是沒有問題的!!

發表於: 2022/4/12 11:40
頂部


PICKIT4 無法debug
#7
新會員
新會員


各位先進,

想請問,我的PICKIT4之前使用都正常,可是最近使用,可以進入debug mode,可是無法debug,會出現下面的錯誤訊息,有辦法可以修復嗎!!
(我已經有做了回復原廠設定了)

Reception on endpoint 129 failed (err = -10121)
A communication error with the debug tool has occurred. The tool will attempt to recover momentarily.

我使用的XIDE V5.30版 mcu:PIC16F19156 xc8:V2.10版

發表於: 2022/4/8 10:03
頂部






:::

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... ]

教育訓練中心

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