• slider image 514
  • slider image 516
  • slider image 517
  • slider image 518
  • slider image 519
:::


Browsing this Thread:   3 Anonymous Users






Re: P18F452電路
#7
版主
版主


查看用戶資訊
APP001 是實驗版有 Voltage Superviser 當然是好事,可是考慮到成本MCP130 就會拿掉了。
要避免VDD 的干擾,正確的加入旁路合電容是很重要的。VDD和Vss 隨便加電蓉與正確加旁路電容效果差的很多。
一般MCLR 用 10K pull-up 及0.1uF 下地就可以了,只是用ICD2 除錯時那 0.1uF 電容要暫時不裝,否則 ICD2 不會工作的。

發表於: 2008/10/24 14:47
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: P18F452電路
#6
中級會員
中級會員


查看用戶資訊
參照:

tonys 寫道:
MCLR 不應該接到 VDD。 VDD 應接到電源(+5V)。

通電時的電源不穩時間過長,需增加 MCU 處在 MCLR (reset) 狀態的時間,可以用以下方式之一或兩種:
1. 在 Configuration bits 裡致能 Power-Up Timer
註: 有少數幾個 PIC18 型號的 Power-Up Timer 可能會影響進入 debug
2. 在 MCLR 接一個小電容 (如0.1u) 到地。 但作 debug 或燒錄時都不能加,完成 debug 與燒錄後才能加。
(以上 debug 指使用 ICD2/RealICE/PK2)
3. 在 Configuration bits 裡致能 Brown-out detect,並選擇適當工作電壓值




1.請問Power-Up Timer
只要在Configuration bits 設定ENABLE就可以了嗎
3.Brown-out detect 我電源只有3.3V
Brown-out 電壓設2V即可?
如圖111.jpg]
這樣的接法對嗎
這樣的接法我試過
不過就是有時候會初使化失敗

看他APP001的線路有MCP130做上電延遲
如圖222.jpg
所以想請問有沒有比較通用又穩定的做法
適用於燒錄和DEBUG

Attach file:



jpg  (0.00 KB)


jpg  (0.00 KB)


發表於: 2008/10/24 13:23
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: P18F452電路
#5
資深會員
資深會員


查看用戶資訊
參照:

tonys 寫道:
2. 在 MCLR 接一個小電容 (如0.1u) 到地。 但作 debug 或燒錄時都不能加,完成 debug 與燒錄後才能加。
(以上 debug 指使用 ICD2/RealICE/PK2)

雖然我知道ICD2的手冊是規定不能加電容沒錯
不過我使用ICD2時,都沒把0.1u電容拿掉

可是都正常ㄟ,燒錄、debug都沒問題
有人試過,結果是不能動作的嗎?

發表於: 2008/10/24 10:53
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: P18F452電路
#4
資深會員
資深會員


查看用戶資訊
MCLR 不應該接到 VDD。 VDD 應接到電源(+5V)。

通電時的電源不穩時間過長,需增加 MCU 處在 MCLR (reset) 狀態的時間,可以用以下方式之一或兩種:
1. 在 Configuration bits 裡致能 Power-Up Timer
註: 有少數幾個 PIC18 型號的 Power-Up Timer 可能會影響進入 debug
2. 在 MCLR 接一個小電容 (如0.1u) 到地。 但作 debug 或燒錄時都不能加,完成 debug 與燒錄後才能加。
(以上 debug 指使用 ICD2/RealICE/PK2)
3. 在 Configuration bits 裡致能 Brown-out detect,並選擇適當工作電壓值

發表於: 2008/10/24 8:10
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: P18F452電路
#3
初級會員
初級會員


查看用戶資訊
你的電源怎麼不是接VDD ?? 而是接VPP??

發表於: 2008/10/24 7:46
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: P18F452電路
#2
資深會員
資深會員


查看用戶資訊
你接錯了

發表於: 2008/10/23 18:03
不要問我哪裡來,我只是個流浪天涯的工程師
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


P18F452電路
#1
中級會員
中級會員


查看用戶資訊
圖中紅線處MCLR和VDD(IO 11 32)要連在一起嗎
有時候電源接上去會初始化失敗
是這個問題嗎
還是說一般要怎麼避免POWER所造成的脈衝
謝謝

Attach file:



jpg  (0.00 KB)


發表於: 2008/10/23 15:14
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... ]

教育訓練中心

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