- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear all,
如何設定 TC397 CAN module 產生 Wake Up Frame 或 Wake Up Pattern?
有程式範例或如何填 CAN module 的暫存器? Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
上述的WUF是针对传统方式,新的方式下任意帧可以唤醒,除非您指定帧的ID。
传统方式附图
新的方式请参考下列文档:
https://www.can-cia.org/fileadmin/resources/documents/slides/icc_2017_slides_hell.pdf
The WUF above is for the legacy method, with the new method any frame can be WUF unless you specify the ID of the frame.
Traditional method with diagram
For the new approach please refer to the following documents.
https://www.can-cia.org/fileadmin/resources/documents/slides/icc_2017_slides_hell.pdf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
有指定帧、任意帧唤醒有两种方式。
比如TJA1145支持指定帧唤醒,当总线上有唤醒帧时,INH会变成高电平使能外部的电源芯片
比如,报文过滤器与唤醒帧寄存器匹配时,INH会输出12V。另外,定义网络管理帧由厂商自定义,
比如通过11位的指定域和ID MASK共同来配合确定唤醒帧。
若指定的位域是0x1A0,ID MASK是000 0000 0100b,那么唤醒帧就是0X1A4和0X1A0
所以要发送的唤醒帧要视被唤醒的器件而定。
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
要如何設定 TC397 產生喚醒偵(Wake up Frame)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1 对于(500k)波特率,有3个位处于显性,并超过6微秒即可
2 可能需要根据接收器件的要求来填充PAYLOAD
3 如何发送帧可以参考MCMCAN 的DEMO CODE
若波特率为500 kBit/s:
对于经典格式 classical base format frames (CBFF):
- 需要3个显性位来满足唤醒条件6微秒 (1 bit == 2 μs -> 3 bit == 6 μs):
- RTR, IDE, and r0 (ISO 11898-1:2003)
- RTR, IDE and FDF (ISO 11898-1:2016)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
上述的WUF是针对传统方式,新的方式下任意帧可以唤醒,除非您指定帧的ID。
传统方式附图
新的方式请参考下列文档:
https://www.can-cia.org/fileadmin/resources/documents/slides/icc_2017_slides_hell.pdf
The WUF above is for the legacy method, with the new method any frame can be WUF unless you specify the ID of the frame.
Traditional method with diagram
For the new approach please refer to the following documents.
https://www.can-cia.org/fileadmin/resources/documents/slides/icc_2017_slides_hell.pdf