Re: can bus的wakeup功能,不能設定filter和mask嗎?
|
||||
---|---|---|---|---|
版主
|
在PIC18F458的DATA SHEET中發現以下文字:
When the PIC18FXX8 is in SLEEP mode and the Bus Activity Wake-up Interrupt is enabled, an interrupt will be generated, and the WAKIF bit will be set when activity is detected on the CAN bus. This interrupt causes the PIC18FXX8 to exit SLEEP mode. The interrupt is reset by the MCU, clearing the WAKIF bit. 所以,看來PIC,至少PIC18FXX8是,只要偵測到CAN bus 有信號,就會被喚醒。 不曉得您說的linear filter是在那裡看到的?是那一顆?
發表於: 2005/2/3 17:04
|
|||
|
can bus的wakeup功能,不能設定filter和mask嗎?
|
||||
---|---|---|---|---|
資深會員
|
我想寫一個可以由外部資料叫f18x的進入sleep mode
再經由特訂的can資料叫醒,但發現不管是什麼id 只要是can的資料都可以叫醒pic 但似乎又有一個叫linear filter的wake up中斷enable 難道是我誤解了嗎?只要是can的資料,不管是否合乎filter 和mask,pic都會被叫醒嗎?
發表於: 2005/2/1 20:06
|
|||
|