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

論壇索引


Board index » All Posts




Re: 請教 MPLAB C18 CONFIG bit 的設定
高級會員
高級會員


我在C18 2.20 內,並沒有看到CPD,CCP2MUX,,..等設定?

好像是 2.20 與 2.40 版的p18f452.h 與lkr 不一樣.

是否能提供 C18 2.40 全部的 h與 lkr 檔案.

發表於: 2005/6/6 3:03
頂部


Re: 新手上路
新會員
新會員


感謝啦.....版主....要昰有什問題在請教你

發表於: 2005/6/6 2:22
頂部


EEPROM?
新會員
新會員


請問各位前輩
1.如何在 MPLAB 使用 PICSTART 預燒 EEPROM 資料到 PIC16F676 ?

2.MCU 寫入,讀出 EEPROM 需花費多時間? 使用PIC16F676.

謝謝您!

發表於: 2005/6/6 0:28
頂部


Re: 新手上路
管理員
管理員


以下是幾個建議:

1. 由 Microchip 網站上 download MPLAB IDE
www.microchip.com
MPLAB IDE 枝援 Microchip 所有 MCU 的 Assenbly
Language , 軟體模擬 , Linker , Project 而且可外掛
C-Compiler 以及可接模擬器與燒錄器 ..... 還有很多 ...

2. 由 Microchip 台灣網站 download W100 & W400 的教材及範例 ; 看你要從 PIC16XXX(W100) 或是 PIC18XXX(W400) 開始. ( 在網站右邊的 "教育訓練 -> 課程教材 ) 中 download.

3. 由 Microchip 網站 Download 相關的 data Sheet . 以便更進一步的參考相關的規格 .


發表於: 2005/6/5 22:02
頂部


Re: About USB device VID & HID
管理員
管理員


Tiffany,

使用 USB 來模擬 RS-232 當然也須要 Driver 和 VID , PID.
Microchip 在 MCHPFSUSB 的軟體套裝中就有 CDC 的 Driver 了 !

PC 的應用程式在存取 RS-232 時是以裝置被 Open 時的 Handler 為對象 . 而這些內部的交互作用在 Driver 端就解決了;
不要操心這一部份 ! 倒是 CDC Driver 分配到的 COM Port 值都很後面. 要確定 PC 的 GUI 有能支援範圍如此廣的 COM 號碼 .

對了, 相信你已經收到 Sunlicense 的申請文件了吧 !

Best Regards,

發表於: 2005/6/5 21:49
頂部


新手上路
新會員
新會員


我原本都昰玩51..因為開發上的需求所以想換個跑到玩玩pic
請問個為老手...我要怎切入比較快速呢...且須具備哪幾種開發軟體呢....謝謝

發表於: 2005/6/5 21:05
頂部


Re: 中斷所需時間
資深會員
資深會員


不好意思,中斷響應延遲會在PIC16系列的參考手冊上提到。
摘錄如下:

中斷回應延時被定義爲從中斷事件發生(中斷標誌位元被置位元)到位址0004h 的指令開始執行(該中斷是允許時)之間的這段時間。
對同步中斷(一般是器件的內部中斷),回應延時爲3 個指令周期。
對非同步中斷(一般是器件的外部中斷,如INT 引腳中斷或RB 埠的電平變化中斷),中斷回應延時將是3 - 3.75個指令周期。確切的延時取決於中斷事件在指令周期的哪個時刻發生(圖8-2)。

所以應該是3-4個Tcy,所以Timer像這類內部中斷應是3Tcy,INT中斷應是4Tcy。

P.155只是說明非同步中斷的部分。

發表於: 2005/6/5 19:50
頂部


Re: 中斷所需時間
中級會員
中級會員


PDF檔P.155
是這個嗎?
For external interrupt events, such as the INT pin or
PORTB change interrupt, the interrupt latency will be
three or four instruction cycles. The exact latency
depends when the interrupt event occurs. The latency
is the same for one or two-cycle instructions. Individual
interrupt flag bits are set regardless of the status of their
corresponding mask bit, PEIE bit or GIE bit.
好像是又好像不是......

發表於: 2005/6/5 13:56
頂部


Re: 中斷所需時間
資深會員
資深會員


進入中斷 4Tcy ,跳到中斷副程式 goto 需 2Tcy 。
從中斷回到主程式 2Tcy

請善用DataSheet,這些在DataSheet都找的到。

發表於: 2005/6/5 13:22
頂部


中斷所需時間
中級會員
中級會員


請問877A
由程式跳到中斷副程式(還沒紀錄進中斷前暫存器的狀態)需花多少時間

做完中斷副程式(已還原中斷前暫存器的狀態)跳回原程式需花多少時間

發表於: 2005/6/5 2:34
頂部



« 1 ... 7059 7060 7061 (7062) 7063 7064 7065 ... 7522 »



:::

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

教育訓練中心

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