JP4522846B2 - Data processing module and method for determining candidate message for sending - Google Patents

Data processing module and method for determining candidate message for sending Download PDF

Info

Publication number
JP4522846B2
JP4522846B2 JP2004376896A JP2004376896A JP4522846B2 JP 4522846 B2 JP4522846 B2 JP 4522846B2 JP 2004376896 A JP2004376896 A JP 2004376896A JP 2004376896 A JP2004376896 A JP 2004376896A JP 4522846 B2 JP4522846 B2 JP 4522846B2
Authority
JP
Japan
Prior art keywords
message
transmission
transmission request
buffer
candidate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2004376896A
Other languages
Japanese (ja)
Other versions
JP2006186569A (en
Inventor
賢一 光末
久晴 大場
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Renesas Electronics Corp
Original Assignee
Renesas Electronics Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Renesas Electronics Corp filed Critical Renesas Electronics Corp
Priority to JP2004376896A priority Critical patent/JP4522846B2/en
Publication of JP2006186569A publication Critical patent/JP2006186569A/en
Application granted granted Critical
Publication of JP4522846B2 publication Critical patent/JP4522846B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Description

本発明は、データ処理モジュール及びその送付候補メッセージの決定方法に関する。   The present invention relates to a data processing module and a method for determining a candidate transmission message.

近年、通信プロトコルとして、マルチマスタの通信プロトコルが注目されている。マルチマスタのプロトコルでは、バスが解放されているとき、バスに接続されている複数の通信ノードのいずれもがデータをバス上に送信することができ、システムの柔軟性が高い等の特徴を持っている。このようなマルチマスタの通信プロトコルとして、自動車内のECU(電子制御ユニット)間のシリアル通信プロトコルとして用いられている、特開昭61−195453号公報に記載されたマルチマスタのCAN(Controller Area Network、以下、CANという)プロトコル(ISO11898、ISO11519シリーズで規格化)が知られている。このようなマルチマスタの通信プロトコルは、通信ノードの増減が簡単にできる等システムの柔軟性が高いため、上記した自動車分野に止まらず、FA(Factory Automation)、船舶、医療機器といった分野の通信プロトコルとしても有望視されている。   In recent years, multi-master communication protocols have attracted attention as communication protocols. In the multi-master protocol, when the bus is released, any of a plurality of communication nodes connected to the bus can transmit data on the bus, and the system is highly flexible. ing. As such a multi-master communication protocol, a multi-master CAN (Controller Area Network) described in Japanese Patent Application Laid-Open No. 61-195453 is used as a serial communication protocol between ECUs (electronic control units) in an automobile. , Hereinafter referred to as CAN) (standardized by ISO 11898 and ISO 11519 series) is known. Such a multi-master communication protocol has high system flexibility such that communication nodes can be easily increased / decreased. Therefore, the multi-master communication protocol is not limited to the automobile field described above, but is a communication protocol in fields such as FA (Factor Automation), ships, and medical devices. As promising.

図7は、通信ノードとしてのCANの概略構成を表した図である。サブネットワークを構成するCANバス(図示せず)に接続されるCANトランシーバ60を有するCANモジュール11、1n、16を接続することが可能となっており、各CANモジュール11、1n、16がCPU I/F(インタフェース)40を介して、メッセージを送受信することが可能となっている。また、図7のCANモジュール19は、メッセージの受信のみを行うことが可能となっている。
特開昭61−195453号公報
FIG. 7 is a diagram showing a schematic configuration of a CAN as a communication node. It is possible to connect CAN modules 11, 1n, 16 having a CAN transceiver 60 connected to a CAN bus (not shown) constituting a sub-network, and each CAN module 11, 1n, 16 is connected to the CPU I. It is possible to send and receive messages via the / F (interface) 40. Also, the CAN module 19 in FIG. 7 can only receive a message.
JP-A 61-195453

上述したCANプロトコルでは、特許文献1の34頁右上欄5)−3 データ交換DPRAM以下に示されたとおりメッセージ送信に先だって、送信候補メッセージを決定する探索プロセスが行われる。そして、同35頁左下欄5)−3.6 探索プロセス及び図20に示されたとおり、メッセージの探索は、分割不可能な動作として実施される。   In the above-described CAN protocol, page 34, upper right column 5) -3 data exchange DPRAM, a search process for determining a transmission candidate message is performed prior to message transmission as described below. And the lower left column of page 35 5) -3.6 As shown in the search process and FIG. 20, the message search is performed as an operation that cannot be divided.

上述したメッセージの探索プロセスは、メッセージバッファに存在する複数の送信候補メッセージから送信メッセージを探索するものであり、メッセージバッファに格納されたすべてのメッセージの識別子(識別情報;ID)を比較し、優先順位の最も高いメッセージを送信メッセージとして決定するために行われる。   The message search process described above searches for a transmission message from a plurality of transmission candidate messages existing in the message buffer, compares all message identifiers (identification information; ID) stored in the message buffer, and prioritizes them. This is performed in order to determine a message having the highest priority as a transmission message.

また、メッセージバッファ内でのメッセージの記憶場所は、メッセージのIDとメッセージバッファの番地とで関連づけられており(例えば、IDが0011のメッセージは、0〜31の番地をもつメッセージバッファの10番地)、メッセージバッファにメッセージが無い状態からメッセージがセットされた場合にも、メッセージバッファのどの部分に記憶されているか判断するため、メッセージバッファを探索する必要性があった。   The message storage location in the message buffer is associated with the message ID and the address of the message buffer (for example, the message with ID 0011 is address 10 of the message buffer having addresses 0 to 31). Even when a message is set when there is no message in the message buffer, it is necessary to search the message buffer in order to determine which part of the message buffer is stored.

このため、従来の構成では、メッセージバッファに送信要求メッセージが全く無い状態から、送信要求メッセージがセットされた場合においても、メッセージバッファの全メッセージを探索する処理を行うこととなり、送信候補メッセージを決定する時間がかかり、ひいては送信処理も遅れてしまうという問題点があった。   For this reason, in the conventional configuration, even when a transmission request message is set from a state where there is no transmission request message in the message buffer, a process for searching all messages in the message buffer is performed, and a transmission candidate message is determined. There is a problem that it takes a long time to transmit, and the transmission processing is also delayed.

本発明の第1の視点によれば、上述したCANに代表されるマルチマスタ方式のネットワークに接続されたデータ処理モジュールにおいて、送信要求メッセージ及び受信メッセージがバッファされるメッセージバッファから送信候補メッセージを決定するための送信候補メッセージ決定方法が提供される。具体的には、所定数のメッセージをバッファ可能なメッセージバッファと、前記メッセージバッファにバッファされたメッセージの送信要求状態を示す値がそれぞれセットされる所定数の送信要求レジスタと、前記所定数の送信要求レジスタに接続されて、前記メッセージバッファに送信要求状態のメッセージがない状態においては第1のレベルの信号を出力し、前記メッセージバッファに送信要求状態のメッセージが少なくとも1つある状態においては、第2のレベルを出力する論理回路と、を備えるデータ処理モジュール(CANモジュール)のメッセージハンドリング部前記論理回路から出力される信号が第2のレベルの信号である場合、前記メッセージバッファを走査して各メッセージに与えられた識別子に従って送信候補メッセージを決定し、
前記論理回路から出力される信号が第1のレベルの信号から第2のレベルの信号に変化した場合、新たにセットされた送信要求状態のメッセージを送信候補に決定するよう動作する。
According to the first aspect of the present invention, a transmission candidate message is determined from a message buffer in which a transmission request message and a reception message are buffered in a data processing module connected to a multi-master network represented by the above-mentioned CAN. A transmission candidate message determination method is provided. Specifically, a message buffer capable of buffering a predetermined number of messages, a predetermined number of transmission request registers in which values indicating transmission request states of messages buffered in the message buffer are set, and the predetermined number of transmissions A first level signal is output when there is no transmission request status message in the message buffer, and when there is at least one transmission request status message in the message buffer. message handling unit of the data processing module comprising a logic circuit for outputting a second level, the (cAN module), the case where the signal output from the logic circuit is a second level signal, scanning the message buffer Send candidate messages according to the identifier given to each message. To determine the over-di,
When the signal output from the logic circuit changes from the first level signal to the second level signal, the newly set transmission request state message is determined as a transmission candidate .

また、本発明の第2の視点によれば、上述の送信候補メッセージ決定方法を実施するために適した構成、回路構成を備えたデータ処理モジュールが提供される。   Moreover, according to the 2nd viewpoint of this invention, the data processing module provided with the structure suitable for implementing the above-mentioned transmission candidate message determination method, and a circuit structure is provided.

本発明によれば、メッセージバッファに送信要求メッセージが全く無い状態からメッセージが送信されるまでの時間を著しく短縮することが可能となる。   According to the present invention, it is possible to significantly shorten the time from when there is no transmission request message in the message buffer to when a message is transmitted.

続いて、本発明を実施するための最良の形態について図面を参照して詳細に説明する。図1は、本実施の形態に係るCANモジュール(データ処理モジュール)とCPU51、RAM52、周辺回路53を1チップで構成したCANデバイス100の概略構成を表した図である。例えば、周辺回路53は、I/O回路を含み、CANデバイス100の外部に設けられた各種センサ及び表示装置と接続され外部と内部との間のインターフェースを行い、CPU51は、各種センサからのデータをI/Oを介して取り出すと共にRAMを利用して所望の処理を実行してメッセージバッファに書き込む処理及びメッセージバッファに書き込まれたメッセージを取り出し所望の処理を実行した後I/Oを介して外部に接続された表示装置にデータを送信することを行う。   Next, the best mode for carrying out the present invention will be described in detail with reference to the drawings. FIG. 1 is a diagram illustrating a schematic configuration of a CAN device 100 in which a CAN module (data processing module) according to the present embodiment, a CPU 51, a RAM 52, and a peripheral circuit 53 are configured in one chip. For example, the peripheral circuit 53 includes an I / O circuit, and is connected to various sensors and display devices provided outside the CAN device 100 and performs an interface between the outside and the inside. The CPU 51 receives data from the various sensors. Is taken out via I / O, and the RAM is used to execute a desired process to write to the message buffer, and the message written to the message buffer is taken out and the desired process is executed. The data is transmitted to the display device connected to the.

CANモジュールは、メッセージハンドリング部2と、メッセージバッファ3と、CANプロトコル送信層4、マスクセット5を備えている。メッセージハンドリング部2は、受信したメッセージをメッセージバッファ3にストアする処理や、メッセージバッファ3にストアされた送信要求メッセージから後述する手順に従って、送信候補メッセージを選択し、送信候補番号レジスタ21にセットする処理等を行う。   The CAN module includes a message handling unit 2, a message buffer 3, a CAN protocol transmission layer 4, and a mask set 5. The message handling unit 2 selects a transmission candidate message according to a process to store the received message in the message buffer 3 or a transmission request message stored in the message buffer 3 according to a procedure described later, and sets it in the transmission candidate number register 21. Perform processing.

メッセージバッファ3は、メッセージ優先度を表す識別子(ID)、送信要求メッセージであるか否かやメッセージ本文長を指定するコントロールフィールド(制御セグメント)、メッセージ本文の順で所定数のメッセージをバッファ可能となっている。図2は、32個のメッセージをバッファ可能なメッセージバッファの構成を表したものであり、アドレスを指定して任意の番号のメッセージを特定することが可能となっている。   The message buffer 3 can buffer a predetermined number of messages in the order of an identifier (ID) indicating message priority, a control field (control segment) that specifies whether or not the message is a transmission request message, and a message body length, and a message body. It has become. FIG. 2 shows the structure of a message buffer capable of buffering 32 messages. It is possible to specify a message of an arbitrary number by specifying an address.

CANプロトコル送信層4は、CANプロトコルに従ってCANトランシーバとデータの送受信を行う。マスクセット5は、メッセージの所定部分(例えばIDの一部)をマスクする際に用いられ、例えば、IDが2進数4ビットのデータであるとして、0〜31番地のメッセージバッファのn番地のメッセージバッファにIDの1100が割り振られていた場合において、上位2ビットにマスクをかけることによって1100以外に0000、0100、1000が番地のメッセージバッファに格納されることになるよう用いられる。   The CAN protocol transmission layer 4 transmits / receives data to / from the CAN transceiver according to the CAN protocol. The mask set 5 is used when masking a predetermined part of the message (for example, a part of the ID). For example, assuming that the ID is binary 4-bit data, the message at address n in the message buffer at addresses 0 to 31 is used. When ID 1100 is assigned to the buffer, 0000, 0100 and 1000 other than 1100 are stored in the address message buffer by masking the upper 2 bits.

続いて、本実施の形態の動作について、従来の送信候補決定方法と対比しながら詳細に説明する。図3は、従来の送信候補メッセージの探索処理の流れを表した図であり、図4は、本実施の形態に係る送信候補メッセージの探索処理の流れを表した図である。   Next, the operation of the present embodiment will be described in detail in comparison with a conventional transmission candidate determination method. FIG. 3 is a diagram illustrating a flow of a conventional transmission candidate message search process, and FIG. 4 is a diagram illustrating a flow of a transmission candidate message search process according to the present embodiment.

始めに従来の送信候補メッセージの探索処理の流れについて説明する。メッセージバッファ3に新たに送信要求メッセージがセットされる等、送信候補メッセージを更新する必要が生じた場合、メッセージバッファ3の探索処理が開始される。図3を参照すると、まず、CANモジュールのメッセージハンドリング部2は、メッセージバッファ3にストアされたメッセージを読み出し(ステップS101)、識別子を比較する(ステップS102)探索処理を、順次インクリメントを行いながら繰り返し実行する。メッセージバッファ3の最後のメッセージまで順次比較処理が完了すると(ステップS103のYES)、メッセージバッファ3にストアされた送信要求メッセージのうち最も優先度の高いメッセージが送信候補として選択され、その番号が送信候補番号レジスタ21にセットされる(ステップS104)。   First, the flow of processing for searching for a conventional transmission candidate message will be described. When a transmission candidate message needs to be updated, such as when a new transmission request message is set in the message buffer 3, a search process for the message buffer 3 is started. Referring to FIG. 3, first, the message handling unit 2 of the CAN module reads the message stored in the message buffer 3 (step S101), compares the identifiers (step S102), and repeats the search process while sequentially incrementing. Execute. When the sequential comparison processing is completed up to the last message in the message buffer 3 (YES in step S103), the message with the highest priority is selected as a transmission candidate among the transmission request messages stored in the message buffer 3, and the number is transmitted. The candidate number register 21 is set (step S104).

一方、本実施の形態に係るCANモジュールにおける送信候補メッセージの探索処理の流れによれば、送信候補メッセージを更新する必要が生じた場合、図4に示されたように、まず、CANモジュールのメッセージハンドリング部2は、メッセージバッファ3全体で送信要求メッセージが無い状態において、送信要求メッセージがセットされたケースに該当するのか否かを判定する(ステップS001)。   On the other hand, according to the flow of processing for searching for a transmission candidate message in the CAN module according to the present embodiment, when it becomes necessary to update the transmission candidate message, first, as shown in FIG. The handling unit 2 determines whether or not the case where the transmission request message is set in a state where there is no transmission request message in the entire message buffer 3 (step S001).

ここで、メッセージバッファ3全体で送信要求メッセージが無い状態において、送信要求メッセージがセットされたケースに当たらない場合(ステップS001のNO)、即ち、メッセージバッファ3に複数の送信要求メッセージが既にストアされている場合は、メッセージハンドリング部2は、従来どおりメッセージを読み出し(ステップS002)、識別子を比較する(ステップS003)探索処理を、順次インクリメントを行いながら繰り返し実行し、メッセージバッファ3にストアされた送信要求メッセージのうち最も優先度の高いメッセージを送信候補に決定する(ステップS005)。   Here, when there is no transmission request message in the entire message buffer 3, if the transmission request message is not set (NO in step S001), that is, a plurality of transmission request messages are already stored in the message buffer 3. If so, the message handling unit 2 reads the message as usual (step S002), compares the identifiers (step S003), repeatedly executes the search process while sequentially incrementing, and stores the transmission stored in the message buffer 3 Among the request messages, the message with the highest priority is determined as a transmission candidate (step S005).

一方、メッセージバッファ3全体で送信要求メッセージが無い状態において、送信要求メッセージがセットされたケースに該当する場合は(ステップS001のYES、メッセージハンドリング部2は、セットされた送信要求メッセージを送信候補メッセージに決定する(ステップS005)。   On the other hand, when there is no transmission request message in the entire message buffer 3, when the transmission request message is set (YES in step S001, the message handling unit 2 transmits the set transmission request message as a transmission candidate message). (Step S005).

図5は、上記したステップS001における判定処理を実行するための判定回路の構成の一例とその出力波形を表した図である。図5の左側を参照すると、メッセージバッファ3の管理用に設けられた送信要求レジスタ(TRQ)31、3n、・・・331と、これらと接続された論理和ゲート70が示されている。送信要求レジスタ(TRQ)31、3n、・・・331は送信時に1がセットされ、当該メッセージを送信要求状態となり、送信完了時に0クリアされる。図5の右側のタイミングチャートからも明らかなとおり、送信要求レジスタ31、3n、・・・331のいずれかがレベル0からレベル1に反転すると、論理和ゲート70の出力信号pがレベル0(第1のレベル)からレベル1(第2のレベル)となる。従って、論理和ゲート70の出力信号pがレベル0からレベル1と変化したタイミングにおいて書き込まれたメッセージを、送信候補メッセージとし、送信候補番号レジスタにメッセージバッファ3のメッセージ番号をセットすることができる。   FIG. 5 is a diagram illustrating an example of a configuration of a determination circuit for executing the determination process in step S001 and an output waveform thereof. Referring to the left side of FIG. 5, transmission request registers (TRQ) 31, 3n,... 331 provided for managing the message buffer 3 and an OR gate 70 connected thereto are shown. The transmission request registers (TRQ) 31, 3n,... 331 are set to 1 at the time of transmission, the message is in a transmission request state, and cleared to 0 when transmission is completed. As is clear from the timing chart on the right side of FIG. 5, when any of the transmission request registers 31, 3n,... 331 is inverted from level 0 to level 1, the output signal p of the OR gate 70 is level 0 (first 1 level) to level 1 (second level). Therefore, a message written at the timing when the output signal p of the OR gate 70 changes from level 0 to level 1 can be set as a transmission candidate message, and the message number of the message buffer 3 can be set in the transmission candidate number register.

図6は、本実施の形態において、送信候補番号レジスタ21にメッセージバッファ3のメッセージ番号がセットされる流れを表したブロック図である。同図に示されたとおり、送信候補の探索処理が終了した場合に、探索処理の結果のメッセージ番号が送信候補番号レジスタ21にセットされる。また、メッセージバッファにストアされた送信要求状態のメッセージが0である場合(ΣTRQ=0)において送信要求状態(TRQ=1)のメッセージが新たにセットされた場合に、当該送信要求状態(TRQ=1)のメッセージ番号が送信候補番号レジスタ21にセットされるようになっている。   FIG. 6 is a block diagram showing a flow in which the message number of the message buffer 3 is set in the transmission candidate number register 21 in the present embodiment. As shown in the figure, when the transmission candidate search process is completed, the message number as a result of the search process is set in the transmission candidate number register 21. Further, when the message in the transmission request state stored in the message buffer is 0 (ΣTRQ = 0), when a message in the transmission request state (TRQ = 1) is newly set, the transmission request state (TRQ = The message number 1) is set in the transmission candidate number register 21.

以上のように、本実施の形態によれば、メッセージバッファに送信要求メッセージが無い状態から送信要求メッセージがセットされた場合に、当該送信要求メッセージを送信候補とすることによって、メッセージバッファ内の探索を行うことなく速やかに送信候補を決定することが可能となる。   As described above, according to the present embodiment, when a transmission request message is set from a state where there is no transmission request message in the message buffer, a search in the message buffer is performed by setting the transmission request message as a transmission candidate. It is possible to quickly determine transmission candidates without performing.

以上、本発明の実施の形態を説明したが、その原理からも明らかなとおり、本発明の技術的範囲は、上述した実施の形態に限定されるものではなく、メッセージバッファにおける唯一の送信要求メッセージがセットされたことを検出し、当該メッセージを送信候補とするという本発明の要旨を逸脱しない範囲で、各種の変形・置換をなしうることが可能であることはいうまでもない。   Although the embodiment of the present invention has been described above, as is apparent from the principle, the technical scope of the present invention is not limited to the above-described embodiment, and is the only transmission request message in the message buffer. It goes without saying that various modifications and substitutions can be made without departing from the gist of the present invention in which it is detected that the message is set and the message is set as a transmission candidate.

本発明の第1の実施の形態に係るCANデバイスの概略構成を表した図である。1 is a diagram illustrating a schematic configuration of a CAN device according to a first embodiment of the present invention. 本発明の第1の実施の形態に係るメッセージバッファの構成を表した図である。It is a figure showing the structure of the message buffer based on the 1st Embodiment of this invention. 従来の送信候補メッセージの探索処理の流れを表した図である。It is a figure showing the flow of the search process of the conventional transmission candidate message. 本実施の形態に係る送信候補メッセージの探索処理の流れを表したである。It shows the flow of a search process for a transmission candidate message according to the present embodiment. 本発明を実現するための回路構成の一例と、その出力波形を表した図である。It is a figure showing an example of the circuit structure for implement | achieving this invention, and its output waveform. 本発明の一実施の形態の動作を説明するための図である。It is a figure for demonstrating operation | movement of one embodiment of this invention. CAN(Controller Area Network)の概略構成を表した図である。It is a figure showing the schematic structure of CAN (Controller Area Network).

符号の説明Explanation of symbols

2 メッセージハンドリング部
3 メッセージバッファ
4 CANプロトコル送信層
5 マスクセット
11、1n、16、19 CANモジュール(CAN コントローラ)
21 送信候補番号レジスタ
31、3n、331 送信要求レジスタ
40 CPU I/F
51 CPU
52 RAM
53 周辺回路
60 CANトランシーバ
70 論理和ゲート
100 CANデバイス
2 Message handling section 3 Message buffer 4 CAN protocol transmission layer 5 Mask set 11, 1n, 16, 19 CAN module (CAN controller)
21 Transmission candidate number register 31, 3n, 331 Transmission request register 40 CPU I / F
51 CPU
52 RAM
53 Peripheral circuit 60 CAN transceiver 70 OR gate 100 CAN device

Claims (3)

マルチマスタ方式のネットワークに接続されたデータ処理モジュールにおける送信候補メッセージの決定方法であって、
所定数のメッセージをバッファ可能なメッセージバッファと、前記メッセージバッファにバッファされたメッセージの送信要求状態を示す値がそれぞれセットされる所定数の送信要求レジスタと、前記所定数の送信要求レジスタに接続されて、前記メッセージバッファに送信要求状態のメッセージがない状態においては第1のレベルの信号を出力し、前記メッセージバッファに送信要求状態のメッセージが少なくとも1つある状態においては、第2のレベルを出力する論理回路と、を備えるデータ処理モジュールのメッセージハンドリング部、前記論理回路から出力される信号が第2のレベルの信号である場合、前記メッセージバッファを走査して各メッセージに与えられた識別子に従って送信候補メッセージを決定し、
前記論理回路から出力される信号が第1のレベルの信号から第2のレベルの信号に変化した場合、新たにセットされた送信要求状態のメッセージを送信候補に決定すること、
を特徴とする送信候補メッセージの決定方法。
A method for determining a transmission candidate message in a data processing module connected to a multi-master network,
A message buffer capable of buffering a predetermined number of messages, a predetermined number of transmission request registers each having a value indicating a transmission request state of a message buffered in the message buffer, and the predetermined number of transmission request registers. The first level signal is output when there is no transmission request message in the message buffer, and the second level is output when there is at least one transmission request message in the message buffer. A message processing unit of a data processing module comprising: a logic circuit that , when the signal output from the logic circuit is a second level signal, scans the message buffer according to an identifier given to each message Decide on a candidate message to send ,
When a signal output from the logic circuit changes from a first level signal to a second level signal, a newly set transmission request state message is determined as a transmission candidate;
A method for determining a transmission candidate message characterized by the above.
マルチマスタ方式のネットワークに接続されるデータ処理モジュールにおいて、
所定数のメッセージをバッファ可能なメッセージバッファと、
前記メッセージバッファにバッファされたメッセージの送信要求状態を示す値がそれぞれセットされる所定数の送信要求レジスタ
前記所定数の送信要求レジスタに接続されて、前記メッセージバッファに送信要求状態のメッセージがない状態においては第1のレベルの信号を出力し、前記メッセージバッファに送信要求状態のメッセージが少なくとも1つある状態においては、第2のレベルを出力する論理回路と、
送信候補メッセージのメッセージ番号を格納するための送信候補番号レジスタを有し、前記論理回路から出力される信号が第2のレベルの信号である場合、前記メッセージバッファを走査して各メッセージに与えられた識別子に従って送信候補メッセージを決定して前記送信候補番号レジスタに前記決定した送信候補メッセージのメッセージ番号をセットし、前記論理回路から出力される信号が第1のレベルの信号から第2のレベルの信号に変化した場合、新たにセットされた送信要求状態のメッセージのメッセージ番号を前記送信候補レジスタにセットするメッセージハンドリング部と、
を備えたこと、
を特徴とするデータ処理モジュール。
In a data processing module connected to a multi-master network,
And message buffers can buffer a predetermined number of messages,
A predetermined number of transmission request register value indicating a transmission request state of message buffer to the message buffer is set respectively,
Connected to the predetermined number of transmission request registers, outputs a first level signal when there is no transmission request state message in the message buffer, and has at least one transmission request state message in the message buffer. In a state, a logic circuit that outputs a second level;
A transmission candidate number register for storing a message number of a transmission candidate message, and when the signal output from the logic circuit is a second level signal, the message buffer is scanned and given to each message The transmission candidate message is determined according to the identifier, the message number of the determined transmission candidate message is set in the transmission candidate number register, and the signal output from the logic circuit is changed from the first level signal to the second level signal. A message handling unit that sets a message number of a newly set transmission request message in the transmission candidate register when the signal is changed ,
Having
A data processing module.
前記メッセージハンドリング部は、前記論理回路から出力される第1のレベルの信号から第2のレベルの信号への変化を判定する判定回路を備えること、
を特徴とする請求項記載のデータ処理モジュール。
The message handling unit includes a determination circuit that determines a change from a first level signal output from the logic circuit to a second level signal ;
The data processing module according to claim 2 .
JP2004376896A 2004-12-27 2004-12-27 Data processing module and method for determining candidate message for sending Expired - Fee Related JP4522846B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004376896A JP4522846B2 (en) 2004-12-27 2004-12-27 Data processing module and method for determining candidate message for sending

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004376896A JP4522846B2 (en) 2004-12-27 2004-12-27 Data processing module and method for determining candidate message for sending

Publications (2)

Publication Number Publication Date
JP2006186569A JP2006186569A (en) 2006-07-13
JP4522846B2 true JP4522846B2 (en) 2010-08-11

Family

ID=36739359

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004376896A Expired - Fee Related JP4522846B2 (en) 2004-12-27 2004-12-27 Data processing module and method for determining candidate message for sending

Country Status (1)

Country Link
JP (1) JP4522846B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4540570B2 (en) * 2005-07-29 2010-09-08 ルネサスエレクトロニクス株式会社 Data processing module, device, system, and transmission candidate message search method
JP6531750B2 (en) 2016-12-12 2019-06-19 トヨタ自動車株式会社 Transmitter

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000244585A (en) * 1999-02-22 2000-09-08 Mitsubishi Electric Corp Bus interface circuit
JP2000310153A (en) * 1999-04-26 2000-11-07 Denso Corp Automotive control device
JP2002204238A (en) * 2000-12-28 2002-07-19 Denso Corp Communication controller
JP2002204243A (en) * 2000-12-28 2002-07-19 Denso Corp Multiplex communication device for vehicle

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10178455A (en) * 1996-12-19 1998-06-30 Fujitsu Ltd Common buffer control system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000244585A (en) * 1999-02-22 2000-09-08 Mitsubishi Electric Corp Bus interface circuit
JP2000310153A (en) * 1999-04-26 2000-11-07 Denso Corp Automotive control device
JP2002204238A (en) * 2000-12-28 2002-07-19 Denso Corp Communication controller
JP2002204243A (en) * 2000-12-28 2002-07-19 Denso Corp Multiplex communication device for vehicle

Also Published As

Publication number Publication date
JP2006186569A (en) 2006-07-13

Similar Documents

Publication Publication Date Title
KR100970300B1 (en) Method and device for accessing data of a message memory of a communication component
KR100977897B1 (en) Method for storing messages in a message memory and corresponding message memory
JP2003318995A (en) Transmitter and electronic control unit
US11715337B2 (en) Controller diagnostic device and method thereof
JP2017118407A (en) Communication system
JP4522846B2 (en) Data processing module and method for determining candidate message for sending
JP4817834B2 (en) Interrupt control device and interrupt control method
JP4601456B2 (en) Data processing module and method for determining storage location of received message
JP2006253922A (en) Gateway apparatus and data transfer method for the gateway apparatus
JP4492955B2 (en) Data processing module and method for determining candidate message for sending
JP4531555B2 (en) Data processing module and method for determining candidate message for sending
JP4708901B2 (en) Data processing module and method for preparing message transmission
US8126008B2 (en) Communication system and communication apparatus
JP4721741B2 (en) Data processing module and message receiving method thereof
US20050138236A1 (en) Direct memory access control device and method for automatically updating data transmisson size from peripheral
US11916808B2 (en) Base wireless device and wireless communication method
KR100728870B1 (en) Dual port ram and method of losslessly transmitting data using the dual port ram
JP2010258811A (en) Communication system
JP2007213304A (en) Cache memory system and multiprocessor system
JP2007034892A (en) Data processing module and its message transmission termination processing method
JP4540570B2 (en) Data processing module, device, system, and transmission candidate message search method
JP2004350138A (en) Data relaying apparatus and multiplex communication system
JP2009194719A (en) Data communication device and method for determining transmission candidate message
JP4031002B2 (en) ATM cell transfer system and address polling control method
JP2013126119A (en) Gateway unit and network system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070912

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100208

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100223

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100426

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20100525

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100526

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130604

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130604

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140604

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees