• 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: MCLR & INTOSC clock oscillator is disabled.的問題請教
#5
新會員
新會員


查看用戶資訊
了解,非常感謝 Beee 的詳細指導。

發表於: 2009/12/27 18:23
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: MCLR & INTOSC clock oscillator is disabled.的問題請教
#4
資深會員
資深會員


查看用戶資訊
不會 , 當I/O時 , 只能作 INPUT 使用 ( 須加 一個 10KR 左右 PULL UP 電阻)
自己作實驗 不就清楚了嗎 ? 映像又深刻 .......

你的學習過程好像跟別人不太一樣
INCLUDE P16F690.INC
LIST P=16F690
__CONFIG 0334H


通常 CONFIG 寫法 :
list p=16f690
    
#include <p16F690.INC>
    
__CONFIG   _PWRTE_ON _WDT_OFF _INTRC_OSC_NOCLKOUT _FCMEN_OFF _IESO_OFF&_MCLRE_ON

  CONFIG 參數用法 
參考 檔案 P16F690.INC 的尾巴 有寫 

  P16F690
.INC 在 C:/Promgram File/Microchip/MPASM Suite/

     
CONFIG 為普通程式所動不到的地方 主要在設定一些硬體架構 在燒錄MCU時 燒錄進去 

    上面的參數 其實只是一些 16 進位數 
再作 運算 而得到一組數字 比較囉嗦 但易懂 .....

       
按 版主的說法是 多看 DATASHEET   ,  左邊的 RTC 教材 ...... ( 下載中心 )

發表於: 2009/12/27 17:39
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: MCLR & INTOSC clock oscillator is disabled.的問題請教
#3
新會員
新會員


查看用戶資訊
感謝 Beee 的指教,我是新手下次提問會注意。

還是無法理解,容我再請教一次。

於 PIC16F690 Data Sheet 14.1 Configuration Bits 中 MCLRE 我設為 0 (作 digital input 用) 並將此硬體腳位接地,一樣會被 RESET 嗎?

非常感謝你

發表於: 2009/12/27 5:35
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: MCLR & INTOSC clock oscillator is disabled.的問題請教
#2
資深會員
資深會員


查看用戶資訊
對 ! 被 RESET ..... 是 -MCLR 不是 IO

下次提問 , 麻煩將 出處 也提示出來 , 我想沒那麼多人有美國時間還去查原始出處 .....

14.1 Configuration Bits

發表於: 2009/12/27 4:12
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


MCLR & INTOSC clock oscillator is disabled.的問題請教
#1
新會員
新會員


查看用戶資訊
請教各位前輩,關於16F690 原廠資料
When MCLR is asserted in INTOSC or RC mode, the internal clock oscillator is disabled.
此行的意思是當使用內部振盪或 RC 振盪模式且 MCLR 為 I/O 並接地時,時脈振盪將會被停止嗎?

感謝各位

發表於: 2009/12/27 2:33
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... ]

教育訓練中心

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