Browsing this Thread:
1 Anonymous Users
|
CAN BUS MODE切換問題
|
|
新會員
Joined
: 2007/12/27 15:25 最後登入時間
: 2008/3/31 14:42
Group:
註冊會員
Level : 1 HP : 0 / 5 MP : 1 / 267 EXP : 21
|
想請問一下各位先進 我使用18F2685 IC,在CAN BUS的MODE切換中,會發生無法切換過去的情形。就是在Sleep Mode及Normal Mode的切換中 會發生錯誤,而跳到Configuration mode 我的程式是在中斷中去執行Walkup
if(PIR3bits.WAKIF) { CAN_STB = 1; //Transceiver 1054AT STB Pin CAN_EN = 1; //Transceiver 1054AT EN Pin CanInterrupt(); //執行Mode切換及Flag清除 } 想問一下,當Walkup時,我是要先將Transceiver 1054AT打開,再切換CAN BUS的MODE,還是要先切換完MODE 再去打開Transceiver ?
發表於: 2008/1/7 20:36
|
|
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.