Re: P18F452電路
|
||||
---|---|---|---|---|
中級會員
|
參照:
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: (0.00 KB) (0.00 KB)
發表於: 2008/10/24 13:23
|
|||
|
Re: P18F452電路
|
||||
---|---|---|---|---|
資深會員
|
參照:
雖然我知道ICD2的手冊是規定不能加電容沒錯 不過我使用ICD2時,都沒把0.1u電容拿掉 可是都正常ㄟ,燒錄、debug都沒問題 有人試過,結果是不能動作的嗎?
發表於: 2008/10/24 10:53
|
|||
|
Re: P18F452電路
|
||||
---|---|---|---|---|
資深會員
|
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
|
|||
|
Re: P18F452電路
|
||||
---|---|---|---|---|
初級會員
|
你的電源怎麼不是接VDD ?? 而是接VPP??
發表於: 2008/10/24 7:46
|
|||
|
Re: P18F452電路
|
||||
---|---|---|---|---|
資深會員
|
你接錯了
發表於: 2008/10/23 18:03
|
|||
不要問我哪裡來,我只是個流浪天涯的工程師
|
||||
|
P18F452電路
|
||||
---|---|---|---|---|
中級會員
|
圖中紅線處MCLR和VDD(IO 11 32)要連在一起嗎
有時候電源接上去會初始化失敗 是這個問題嗎 還是說一般要怎麼避免POWER所造成的脈衝 謝謝 Attach file: (0.00 KB)
發表於: 2008/10/23 15:14
|
|||
|