CN112416842A - LPC bus-based FARM read-write circuit and method thereof - Google Patents
LPC bus-based FARM read-write circuit and method thereof Download PDFInfo
- Publication number
- CN112416842A CN112416842A CN202011250117.7A CN202011250117A CN112416842A CN 112416842 A CN112416842 A CN 112416842A CN 202011250117 A CN202011250117 A CN 202011250117A CN 112416842 A CN112416842 A CN 112416842A
- Authority
- CN
- China
- Prior art keywords
- data
- bus
- lpc
- read
- fram
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 11
- 238000006243 chemical reaction Methods 0.000 claims abstract description 20
- 230000005540 biological transmission Effects 0.000 claims abstract description 6
- RZVHIXYEVGDQDX-UHFFFAOYSA-N 9,10-anthraquinone Chemical compound C1=CC=C2C(=O)C3=CC=CC=C3C(=O)C2=C1 RZVHIXYEVGDQDX-UHFFFAOYSA-N 0.000 abstract description 4
- 241000218691 Cupressaceae Species 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4282—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C11/00—Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor
- G11C11/21—Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements
- G11C11/34—Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices
- G11C11/40—Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices using transistors
- G11C11/41—Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices using transistors forming static cells with positive feedback, i.e. cells not needing refreshing or charge regeneration, e.g. bistable multivibrator or Schmitt trigger
- G11C11/413—Auxiliary circuits, e.g. for addressing, decoding, driving, writing, sensing, timing or power reduction
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2213/00—Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F2213/0018—Industry standard architecture [ISA]
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Bus Control (AREA)
- Information Transfer Systems (AREA)
Abstract
A FARM read-write circuit based on an LPC bus and a method thereof solve the problem of how to effectively and quickly read and write the FARM in a flight control system. The technical scheme of the invention is as follows: the transmission data of the CPU comprises: data signals LAD [3:0], clock signals PCICLK and control signals SERIRQ, LDRQ #, LFRAM # and PCIRST #, wherein the transmission data are communicated with F85266 through an LPC bus, an F85226 protocol chip converts LPC bus signals into a local ISA bus, and a low 18-bit data bus of the local ISA bus reads and writes data of FRAM through an 18-bit address signal, a 16-bit data signal, a read-write enabling signal and a high-low byte selection signal; the invention has the advantage that the implementation scheme of 'infinite-time' data reading and writing of the 512kB large-space memory is solved, and the difficult problem that programming is needed in the conversion process through the FPGA is avoided.
Description
The technical field is as follows:
the invention relates to the technical field of read-write circuits, in particular to a FARM read-write circuit based on an LPC bus.
Background art:
in an aircraft control system, 512kB data needs to be periodically stored and read in real time, and a pilot needs to detect changes of a flight environment and various condition indexes of an aircraft in real time due to the fact that the change of a natural environment is very constant, so that a device capable of reading data rapidly for a long time needs to be designed.
The FRAM is a random access memory which can carry out 1014 times of reading and writing and completely meets the use requirement. However, how to effectively utilize the FARM and operate the FARM in the flight control system becomes a necessary condition for fast reading and writing, and if the corresponding signals are converted by a certain method and then can be used, the purpose of fast response cannot be achieved. At present, no conversion device or conversion method which can meet the corresponding requirements exists.
In an actual control system, high-speed serial buses such as PCIe, SATA, LPC and the like are mostly used, and signals need to be converted by a certain conversion chip or FPGA and the like for use.
The problem to be solved by the invention is how to effectively and rapidly read and write the FARM in the flight control system.
Disclosure of Invention
The invention aims to solve the problem of how to effectively and quickly perform periodic reading and writing on the FARM in a flight control system.
The invention provides a FARM read-write circuit based on an LPC bus.
The technical scheme of the invention is as follows: the existing high-speed serial bus of the control system is converted into a local bus through an existing protocol conversion chip or FPGA, and the FRAM of 512kB is controlled to read and write for unlimited times.
The transmission data of the CPU comprises: data signals LAD [3:0], clock signals PCICLK and control signals SERIRQ, LDRQ #, LFRAM # and PCIRST #, wherein the transmission data are communicated with F85266 through an LPC bus, an F85226 protocol chip converts LPC bus signals into a local ISA bus, and a low 18-bit data bus of the local ISA bus reads and writes data of FRAM through an 18-bit address signal, a 16-bit data signal, a read-write enabling signal and a high-low byte selection signal;
the reading and writing method of the FARM reading and writing circuit is characterized in that: the method comprises the following steps:
1) the CPU sends the data to be written and the target address to the protocol conversion chip F85226 through the LPC data bus LAD [3:0] for data conversion,
2) because the LPC bus only has 4-bit parallel bus, F85226 splices the data of 5 groups of LPC buses into a group of 18-bit parallel data, and simultaneously splices the address data of 4 groups of LPC buses into a group of 16-bit parallel addresses;
3) after the CPU data is received, the F85226 sets the control signal related to the FRAM writing to an effective state and then writes the data into the target address of the FRAM;
4) FRAM read data flow: the CPU sends the target address of the data to be read to a protocol conversion chip F85226 through a data bus LAD [3:0] for data conversion;
because the LPC bus only has 4-bit parallel bus, F85226 needs to splice the address data of 4 sets of LPC buses into a set of 16-bit parallel addresses;
f85226 sets the control signal related to FRAM reading to be in an effective state after receiving the CPU data, then reads out the data in FRAM according to the target address, and sends the data to CPU through LPC data bus LAD [3:0] after splitting 18bit data into 5 groups of 4bit data.
The invention has the advantages that:
the implementation scheme of the 'infinite-time' data read-write implementation scheme of the 512kB large-space memory is simple, the requirement can be met only by performing data conversion through one standard protocol chip, and the difficult problem that programming is needed in the conversion process through an FPGA (field programmable gate array) is solved.
Drawings
Fig. 1 is a schematic diagram of the wiring connection of the present invention.
Detailed Description
As shown in fig. 1, in the implementation scheme of the present invention, the system CPU communicates with the protocol conversion chip F85226 through the LPC bus, and the communication signals mainly include data signal LAD [3:0], clock signal PCICLK, and control signals SERIRQ, LDRQ #, LFRAM # and PCIRST #, etc. The F85226 protocol chip may convert LPC bus signals to a local ISA bus, which contains a 20-bit address bus. The invention only uses ISA bus lower 18 data bus according to actual demand. The local ISA bus reads and writes data of the FRAM through an 18-bit address signal, a 16-bit data signal, a read-write enabling signal and a high-low byte selection signal. The FRAM chip is selected from FM22L16-55-TG of Cypress company.
The system read-write data work flow is as follows:
data writing flow of FRAM: the CPU sends the data to be written and the target address to a protocol conversion chip F85226 through an LPC data bus LAD [3:0] for data conversion, and because the LPC bus only has 4-bit parallel buses, the F85226 needs to splice 5 groups of data of the LPC bus into a group of 18-bit parallel data, and simultaneously splices 4 groups of address data of the LPC bus into a group of 16-bit parallel addresses. F85226 sets FRAM write-related control signals to an active state after receiving the completion CPU data, and then writes the data into the target address of the FRAM.
FRAM read data flow: the CPU sends the target address of the data to be read to the protocol conversion chip F85226 through a data bus LAD [3:0] for data conversion, and because the LPC bus only has 4-bit parallel bus, the F85226 needs to splice the address data of 4 groups of LPC buses into a group of 16-bit parallel addresses. F85226 sets the control signal related to FRAM reading to be in an effective state after receiving the CPU data, then reads out the data in FRAM according to the target address, and sends the data to CPU through LPC data bus LAD [3:0] after splitting 18bit data into 5 groups of 4bit data.
Claims (2)
1. An LPC bus based FARM read-write circuit, comprising: f85266, FARM, CPU and LPC bus, characterized by:
the transmission data of the CPU comprises: data signal LAD [3:0], clock signal PCICLK and control signals SERIRQ, LDRQ #, LFRAM # and PCIRST #, the above-mentioned transmission data are communicated with F85266 by LPC bus, F85226 protocol chip converts LPC bus signal into local ISA bus, the low 18bit data bus of the local ISA bus reads and writes data for FRAM by 18bit address signal, 16bit data signal, read-write enable signal and high-low byte selection signal.
2. A read-write method of a FARM read-write circuit based on an LPC bus is characterized in that: the method comprises the following steps:
1) the CPU sends the data to be written and the target address to the protocol conversion chip F85226 through the LPC data bus LAD [3:0] for data conversion,
2) because the LPC bus only has 4-bit parallel bus, F85226 splices the data of 5 groups of LPC buses into a group of 18-bit parallel data, and simultaneously splices the address data of 4 groups of LPC buses into a group of 16-bit parallel addresses;
3) after the CPU data is received, the F85226 sets the control signal related to the FRAM writing to an effective state and then writes the data into the target address of the FRAM;
4) FRAM read data flow: the CPU sends the target address of the data to be read to a protocol conversion chip F85226 through a data bus LAD [3:0] for data conversion;
because the LPC bus only has 4-bit parallel bus, F85226 needs to splice the address data of 4 sets of LPC buses into a set of 16-bit parallel addresses;
5) f85226 sets the control signal related to FRAM reading to be in an effective state after receiving the CPU data, then reads out the data in FRAM according to the target address, and sends the data to CPU through LPC data bus LAD [3:0] after splitting 18bit data into 5 groups of 4bit data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011250117.7A CN112416842A (en) | 2020-11-10 | 2020-11-10 | LPC bus-based FARM read-write circuit and method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011250117.7A CN112416842A (en) | 2020-11-10 | 2020-11-10 | LPC bus-based FARM read-write circuit and method thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112416842A true CN112416842A (en) | 2021-02-26 |
Family
ID=74781775
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011250117.7A Pending CN112416842A (en) | 2020-11-10 | 2020-11-10 | LPC bus-based FARM read-write circuit and method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112416842A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113868179A (en) * | 2021-09-10 | 2021-12-31 | 中国航空工业集团公司西安航空计算技术研究所 | LPC _ DPRam communication device and data conversion method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6170027B1 (en) * | 1998-08-15 | 2001-01-02 | Winbond Electronics Corp. | LPC/ISA bridge and its bridging method |
US20030163615A1 (en) * | 2002-02-22 | 2003-08-28 | Kuo-Hwa Yu | Peripheral or memory device having a combined ISA bus and LPC bus |
CN201673402U (en) * | 2010-06-13 | 2010-12-15 | 北京国电智深控制技术有限公司 | Controller of decentralized control system |
CN102866973A (en) * | 2011-07-07 | 2013-01-09 | 精拓科技股份有限公司 | Bridging system for industrial standard constructed interface bus, device and method |
CN105302269A (en) * | 2015-11-30 | 2016-02-03 | 北京机械设备研究所 | Power failure detection and data storage circuit for microcomputer system |
-
2020
- 2020-11-10 CN CN202011250117.7A patent/CN112416842A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6170027B1 (en) * | 1998-08-15 | 2001-01-02 | Winbond Electronics Corp. | LPC/ISA bridge and its bridging method |
US20030163615A1 (en) * | 2002-02-22 | 2003-08-28 | Kuo-Hwa Yu | Peripheral or memory device having a combined ISA bus and LPC bus |
CN201673402U (en) * | 2010-06-13 | 2010-12-15 | 北京国电智深控制技术有限公司 | Controller of decentralized control system |
CN102866973A (en) * | 2011-07-07 | 2013-01-09 | 精拓科技股份有限公司 | Bridging system for industrial standard constructed interface bus, device and method |
CN105302269A (en) * | 2015-11-30 | 2016-02-03 | 北京机械设备研究所 | Power failure detection and data storage circuit for microcomputer system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113868179A (en) * | 2021-09-10 | 2021-12-31 | 中国航空工业集团公司西安航空计算技术研究所 | LPC _ DPRam communication device and data conversion method |
CN113868179B (en) * | 2021-09-10 | 2024-04-02 | 中国航空工业集团公司西安航空计算技术研究所 | Communication device of LPC-DPRam and data conversion method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105389248A (en) | Lamp number control system of non-volatile memory solid-state hard disk | |
CN105529045A (en) | Lamp signal control system for nonvolatile memory solid state disk | |
CN109902042B (en) | Method and system for realizing high-speed data transmission between DSP and ZYNQ | |
US8266361B1 (en) | Access methods and circuits for devices having multiple buffers | |
CN112416842A (en) | LPC bus-based FARM read-write circuit and method thereof | |
CN103856364A (en) | Bus signal monitoring device and method | |
CN206411658U (en) | A kind of NandFlash storage systems based on FPGA | |
CN102047229A (en) | Embedded programmable component for memory device training | |
CN104021099A (en) | Method for controlling data transmission and DMA controller | |
CN108563591B (en) | Data acquisition flash memory read-write method and system | |
CN111897262B (en) | Data processing method of parallel signal acquisition processing system based on multiple DSPs | |
CN101911035B (en) | Bridge circuit interfacing a processor to external devices via memory address mapping | |
CN104123246A (en) | Interface expansion device and serial attached SCSI expander | |
CN211293916U (en) | Data storage recording device and avionics system data acquisition and storage recording device | |
CN112860624A (en) | Computer mainboard based on 2000-4 treater of soaring | |
US20130151900A1 (en) | Debug system and method | |
CN111177027A (en) | Dynamic random access memory, memory management method, system and storage medium | |
CN102207921B (en) | Based on system and the method thereof of UASP protocol realization multiport Storage Media | |
CN111831597B (en) | GPIB control system and method based on PRU in gateway of Internet of things | |
CN201341148Y (en) | PCI interface type CANOPEN network data analyzer | |
CN117827725B (en) | EMC interface expansion module, system and method based on FPGA | |
CN109631885B (en) | Navigation method based on dual-port RAM | |
CN110750476A (en) | Method, device, system and medium for bridging SPI bus and parallel bus | |
CN101478451A (en) | PCI interface type CANOPEN network data analyzer and control method thereof | |
CN203299591U (en) | Multichannel synchronous data collection card based on PC104 bus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |