欢迎访问ic37.com |
会员登录 免费注册
发布采购

ATMEGA16M1-15MZ 参数 Datasheet PDF下载

ATMEGA16M1-15MZ图片预览
型号: ATMEGA16M1-15MZ
PDF下载: 下载PDF文件 查看货源
内容描述: [IC MCU 8BIT 16KB FLASH 32QFN]
分类和应用: 微控制器
文件页数/大小: 318 页 / 7595 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号ATMEGA16M1-15MZ的Datasheet PDF文件第146页浏览型号ATMEGA16M1-15MZ的Datasheet PDF文件第147页浏览型号ATMEGA16M1-15MZ的Datasheet PDF文件第148页浏览型号ATMEGA16M1-15MZ的Datasheet PDF文件第149页浏览型号ATMEGA16M1-15MZ的Datasheet PDF文件第151页浏览型号ATMEGA16M1-15MZ的Datasheet PDF文件第152页浏览型号ATMEGA16M1-15MZ的Datasheet PDF文件第153页浏览型号ATMEGA16M1-15MZ的Datasheet PDF文件第154页  
16.5.2.2 Tx Data and Remote Frame  
1. Several fields must be initialized before sending:  
Identifier tag (IDT)  
Identifier extension (IDE)  
Remote transmission request (RTRTAG)  
Data length code (DLC)  
Reserved bit(s) tag (RBnTAG)  
Data bytes of message (MSG)  
2. The MOb is ready to send a data or a remote frame when the MOb configuration is set (CONMOB).  
3. Then, the CAN channel scans all the MObs in Tx configuration, finds the MOb having the highest priority and tries  
to send it.  
4. When the transmission is completed the TXOK flag is set (interrupt).  
5. All the parameters and data are available in the MOb until a new initialization.  
16.5.2.3 Rx Data and Remote Frame  
1. Several fields must be initialized before receiving:  
Identifier tag (IDT)  
Identifier mask (IDMSK)  
Identifier extension (IDE)  
Identifier extension mask (IDEMSK)  
Remote transmission request (RTRTAG)  
Remote transmission request mask (RTRMSK)  
Data length code (DLC)  
Reserved bit(s) tag (RBnTAG)  
2. The MOb is ready to receive a data or a remote frame when the MOb configuration is set (CONMOB).  
3. When a frame identifier is received on CAN network, the CAN channel scans all the MObs in receive mode, tries  
to find the MOb having the highest priority which is matching.  
4. On a hit, the IDT, the IDE and the DLC of the matched MOb are updated from the incoming (frame) values.  
5. Once the reception is completed, the data bytes of the received message are stored (not for remote frame) in the  
data buffer of the matched MOb and the RXOK flag is set (interrupt).  
6. All the parameters and data are available in the MOb until a new initialization.  
16.5.2.4 Automatic Reply  
A reply (data frame) to a remote frame can be automatically sent after reception of the expected remote frame.  
1. Several fields must be initialized before receiving the remote frame:  
Reply valid (RPLV) in a identical flow to the one described in Section 16.5.2.3 “Rx Data and Remote Frame” on  
page 150.  
2. When a remote frame matches, automatically the RTRTAG and the reply valid bit (RPLV) are reset. No flag (or  
interrupt) is set at this time. Since the CAN data buffer has not been used by the incoming remote frame, the MOb  
is then ready to be in transmit mode without any more setting. The IDT, the IDE, the other tags and the DLC of the  
received remote frame are used for the reply.  
3. When the transmission of the reply is completed the TXOK flag is set (interrupt).  
4. All the parameters and data are available in the MOb until a new initialization.  
150  
ATmega16/32/64/M1/C1 [DATASHEET]  
7647O–AVR–01/15  
 
 复制成功!