• 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: PIC24的RTCC一直做不出來
#3
中級會員
中級會員


查看用戶資訊
可以了 謝謝

發表於: 2008/12/30 18:05
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: PIC24的RTCC一直做不出來
#2
版主
版主


查看用戶資訊
這種反組譯過的程式很難去了解,因為 RTCC 主要是硬體做掉了,軟體的動作不多。你可以參考教與訓練 204 ADV 裡的練習一,那裡就有中文得教材與RTCC 的範例練習。

發表於: 2008/12/30 16:09
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


PIC24的RTCC一直做不出來
#1
中級會員
中級會員


查看用戶資訊
PIC24F128GA010有一組RTCC,
請問,如何才能夠讓 SOSC ENABLE? RTC ENABLE?

在explorer 16 時驗板環境下,使用PIC C compiler
88: setup_rtc(RTC_enable,0x00);
01522 207421 mov.w #0x742,0x0002
01524 200462 mov.w #0x46,0x0004
01526 200573 mov.w #0x57,0x0006
01528 780882 mov.w 0x0004,[0x0002]
0152A 780883 mov.w 0x0006,[0x0002]
0152C A8A627 bset.b 0x0627,#5
0152E 280004 mov.w #0x8000,0x0008
01530 883134 mov.w 0x0008,0x0626
01532 A922FC bclr.b 0x02fc,#1
01534 A9A627 bclr.b 0x0627,#5
為何RCFGCAL還是0x0000?

發表於: 2008/12/30 15:44
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... ]

教育訓練中心

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