• 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: can bus的wakeup功能,不能設定filter和mask嗎?
#3
管理員
管理員


查看用戶資訊
Yes , CAN 在收到外部信號的 Trigger 時 , 都會 Wake up CPU. 但是第一筆資料會被 Ignore 而且不會因為剛睡醒時收錯資料而產生 Error Frame.

至於 BRGCON3 裡面的 WAKFIL , 是設定一個 Low Pass Filter 而已 . 並非決定要不要對資料做 Filter 的動作.

CAN Module 和 CPU 是一體的 , 當 CAN 要收資料時當然必須先有 Power 啦 !

Best Regards,

發表於: 2005/2/3 17:23
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: can bus的wakeup功能,不能設定filter和mask嗎?
#2
版主
版主


查看用戶資訊
在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
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


can bus的wakeup功能,不能設定filter和mask嗎?
#1
資深會員
資深會員


查看用戶資訊
我想寫一個可以由外部資料叫f18x的進入sleep mode
再經由特訂的can資料叫醒,但發現不管是什麼id
只要是can的資料都可以叫醒pic
但似乎又有一個叫linear filter的wake up中斷enable

難道是我誤解了嗎?只要是can的資料,不管是否合乎filter
和mask,pic都會被叫醒嗎?

發表於: 2005/2/1 20:06
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... ]

教育訓練中心

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