Unlock instant, AI-driven research and patent intelligence for your innovation.

CAN bus controller data storage circuit and data storage method

A data storage circuit, CAN bus technology, applied in the direction of bus network, data exchange network, data exchange through path configuration, etc., can solve the problems of large processor programming burden, FIFO overflow, no good solution, etc., to avoid Troublesome effects of receiving configuration changes

Active Publication Date: 2019-07-05
XIAN MICROELECTRONICS TECH INST
View PDF9 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The third is that if a node receives data from multiple nodes, all node data will be stored together indiscriminately, and the processor needs to decode the frame ID for each frame of data read back to determine that the frame data comes from Where, then you can determine how to deal with it, causing a large programming burden on the processor when applying
The fourth is that the capacity of the receiving FIFO is too small. If an extended frame of 8 bytes of data is received, a maximum of 4 frames of data can be stored. When receiving continuously, if the processor cannot read the data in time, it is easy to cause FIFO overflow
For these four drawbacks, what kind of data storage method can be used to make users more convenient and concise when using it? After searching relevant literature, there is still no good solution

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • CAN bus controller data storage circuit and data storage method
  • CAN bus controller data storage circuit and data storage method
  • CAN bus controller data storage circuit and data storage method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] The present invention will be described in detail below in conjunction with the accompanying drawings.

[0030] In order to solve the problem of receiving ID and mask configuration, repeated operation when sending, receiving ID analysis and receiving FIFO with small capacity, a CAN bus controller data storage circuit structure is shown in figure 1shown. This storage circuit is composed of data storage unit and its access module. The CAN core is used to generate CAN bit timing and assemble and analyze frames in accordance with the CAN2.0 protocol. The information processing module is used to realize the data transmission between the CAN core and the mailbox. It mainly reads the sent data from the mailbox in the sending state and passes it to the CAN core for frame sending. When receiving, the data received by the CAN core is stored in the ID matching in the mailbox. The register and mailbox access module is used to realize the configuration and access of the processor...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a CAN bus controller data storage circuit and a data storage method. Data interaction between a CAN core data buffer area and an e-mail box is achieved by arranging an information processing module; the register and the mailbox access module realize information interaction between the processor and the mailbox; the RAM access arbitration module controls access to the mailbox; a dual-port RAM is adopted, the dual-port RAM is divided into 128 mailboxes, and for any one sending mailbox, if the sending ID and frame information do not need to be changed, only the data bit needs to be updated each time under the control of an information processing module; for one receiving mailbox, after the received data is read out by the processor, the processor can reconfigure the IDand the mask bit of the received data through the mirror image register, so that the mailbox can receive data of a new ID node; the mailboxes are numbered to store the data, so that the processor canclearly know which mailbox the data comes from, and ID decoding is not needed.

Description

technical field [0001] The invention belongs to the field of integrated circuit design, and in particular relates to a CAN bus controller data storage circuit and a data storage method. Background technique [0002] The currently widely used CAN bus controller chip is the SJA1000 chip produced by PHILIPS. This chip sets the node receiving ID and ID mask code (mask) in reset mode, and uses a FIFO with a capacity of 64 bytes to store the receiving data. Use 13 registers with a bit width of 8 bits to form a data buffer, which is shared by sending and receiving. When sending, since the sending and receiving share the buffer, in addition to writing new frame data into the sending buffer each time, the frame information and frame ID must also be written into the sending buffer, even if the frame information and ID sent twice exactly the same. When receiving, the processor reads the received data including frame information, frame ID and frame data from the FIFO through the recei...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/40G05B23/02
CPCG05B23/02H04L12/40013
Inventor 黄九余苏若皓娄冕郭娜娜
Owner XIAN MICROELECTRONICS TECH INST