參數(shù)資料
型號(hào): ML9620GAZ210
廠商: OKI ELECTRIC INDUSTRY CO LTD
元件分類: 微控制器/微處理器
英文描述: 1 CHANNEL(S), 1M bps, LOCAL AREA NETWORK CONTROLLER, PQFP44
封裝: 0.80 MM PITCH, PLASTIC, QFP-44
文件頁數(shù): 38/79頁
文件大?。?/td> 449K
代理商: ML9620GAZ210
ML9620 User’s Manual
Chapter 3
Operational Description
3 - 3
3.3
Message Handler State Machine
The Message Handler controls the data transfer between the RX/TX Shift Register of the CAN Control, the
Message RAM and the IFm Registers.
The Message Handler FSM controls the following functions:
Data Transfer from IFm Registers to the Message RAM.
Data Transfer from Message RAM to the IFm Registers.
Data Transfer from Shift Register to the Message RAM.
Data Transfer from Message RAM to Shift Register.
Data Transfer from Shift Register to the Acceptance Filtering unit.
Scanning of Message RAM for a matching Message Object.
Handling of TxRqst flags.
Handling of interrupts.
3.3.1 Data Transfer from / to Message RAM
When the MCU initiates a data transfer between the IFm Registers and Message RAM, the Message Handler sets
the Busy bit in the respective Command Register to ‘1’.
After the transfer has completed, the Busy bit is set back
to ‘0’.
The respective Command Mask Register specifies whether a complete Message Object or only parts of it will be
transferred.
Due to the structure of the Message RAM it is not possible to write single bits/bytes of one Message
Object, it is always necessary to write a complete Message Object into the Message RAM.
Therefore the data
transfer from the IFm Registers to the Message RAM requires of a read-modify-write cycle.
First that parts of
the Message Object that are not to be changes are read from the Message RAM and then the complete contents of
the Message Buffer Registers are into the Message Object.
After the partial write of a Message Object, that Message Buffer Registers that are not selected in the Command
Mask Register will set to the actual contents of the selected Message Object.
After the partial read of a Message Object, that Message Buffer Registers that are not selected in the Command
Mask Register will be left unchanged.
3.3.2 Transmission of Messages
If the shift register of the CAN Control cell is ready for loading and if there is no data transfer between the IFm
Registers and Message RAM, the MsgVal bits in the Message Valid Register TxRqst bits in the Transmission
Request Register are evaluated.
The valid Message Object with the highest priority pending transmission request
is loaded into the shift register by the Message Handler and the transmission is started.
The Message Object’s
NewDat bit is reset.
After a successful transmission and if no new data was written to the Message Object (NewDat = ‘0’) since the
start of the transmission, the TxRqst bit will be reset.
If TxIE is set, IntPnd will be set after a successful
transmission.
If the ML9620 has lost the arbitration or if an error occurred during the transmission, the message
will be retransmitted as soon as the CAN bus is free again.
If meanwhile the transmission of a message with
higher priority has been requested, the messages will be transmitted in the order of their priority.
相關(guān)PDF資料
PDF描述
MLX90308LUD-CAB MICROCONTROLLER, UUC
MM58167MWC 0 TIMER(S), REAL TIME CLOCK, UUC24
MM58274CVX 0 TIMER(S), REAL TIME CLOCK, PQCC20
MM908E621ACDWB/R2 8-BIT, FLASH, 8 MHz, MICROCONTROLLER, PDSO54
MM908E621ACDWB 8-BIT, FLASH, 8 MHz, MICROCONTROLLER, PDSO54
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
ML9620GAZ23A-7 制造商:ROHM Semiconductor 功能描述:
ML9620GAZ23B 制造商:ROHM Semiconductor 功能描述:CAN BUS CONTROLLER
ML9620GAZ23B-7 制造商:ROHM Semiconductor 功能描述:
ML9649-001CVWA-5017 制造商:ROHM Semiconductor 功能描述:RHOML9649-001CVWA-5017 OKI LCD DRIVER
ML9649-007CVWA-5017 制造商:ROHM Semiconductor 功能描述:RHOML9649-007CVWA-5017 OKI LCD DRIVER