CN103345455B - Patient monitor and many MCU internal storage data switch thereof - Google Patents

Patient monitor and many MCU internal storage data switch thereof Download PDF

Info

Publication number
CN103345455B
CN103345455B CN201310271914.7A CN201310271914A CN103345455B CN 103345455 B CN103345455 B CN 103345455B CN 201310271914 A CN201310271914 A CN 201310271914A CN 103345455 B CN103345455 B CN 103345455B
Authority
CN
China
Prior art keywords
mcu
spi
internal storage
spi bus
storage data
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.)
Active
Application number
CN201310271914.7A
Other languages
Chinese (zh)
Other versions
CN103345455A (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.)
Shenzhen Comen Medical Instruments Co Ltd
Original Assignee
Shenzhen Comen Medical Instruments Co Ltd
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 Shenzhen Comen Medical Instruments Co Ltd filed Critical Shenzhen Comen Medical Instruments Co Ltd
Priority to CN201310271914.7A priority Critical patent/CN103345455B/en
Publication of CN103345455A publication Critical patent/CN103345455A/en
Priority to PCT/CN2014/079150 priority patent/WO2014206181A1/en
Application granted granted Critical
Publication of CN103345455B publication Critical patent/CN103345455B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/20Handling requests for interconnection or transfer for access to input/output bus
    • G06F13/28Handling requests for interconnection or transfer for access to input/output bus using burst mode transfer, e.g. direct memory access DMA, cycle steal

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Bus Control (AREA)

Abstract

A kind of patient monitor and many MCU internal storage data switch thereof, comprise at least two MCU, spi bus and at least two internal memories, be interconnected between described MCU by described spi bus, described MCU independently connects described internal memory; Described spi bus is the spi bus under DMA pattern, and the internal memory be connected with described MCU exchanges data mutually by the spi bus under DMA pattern.Described patient monitor and many MCU internal storage data switch thereof exchange the data in the internal memory connected separately between MCU automatically with fixing clock frequency, only need between MCU, by this fixing clock frequency, data mutual for needs are put into respective internal memory, reach the object of high-speed communication, connected by spi bus between MCU in addition, whole device wiring is simple.Owing to using the DMA pattern of SPI, intervene without the need to MCU, greatly reduce system overhead, improve system effectiveness.

Description

Patient monitor and many MCU internal storage data switch thereof
Technical field
The present invention relates to field of medical device, particularly relate to patient monitor and many MCU internal storage data switch thereof.
Background technology
At present in order to meet in patient monitor system to the high request of real-time performance, two or more MCU(MicroControlUnit can be used in a system, micro-control unit), for the situation the most simply using two MCU, the work that a usual MCU process requirement of real-time is not high, as data store, user interactions etc., the work that another process real-time is higher, as the work such as high-speed plotting, decoding.Must need certain high-speed communication mechanism between these two MCU, common way shares with a slice internal memory, and exclusive reference, utilizes the data transmission rate that rambus reaches higher.
Adopt the scheme of shared drive, generally use rambus directly to connect two or more MCU and same memory chip, direct like this connection by rambus must need a large amount of address of arrangement and data bus, physical connection is complicated, fabric swatch requires higher, its control of work in addition in order to coordinate these MCU and internal memory can be comparatively complicated, and need to consume a large amount of system overheads and control, system effectiveness is low.
Summary of the invention
Based on this, be necessary to realize the complicated and low problem of system effectiveness for general many MCU internal storage data switch, provide a kind of realize simple, system effectiveness is high and can meet patient monitor and many MCU internal storage data switch thereof of high-speed communication.
A kind of many MCU internal storage data switch, comprise at least two MCU, spi bus and at least two internal memories, be interconnected between described MCU by described spi bus, described MCU independently connects described internal memory;
Described spi bus is the spi bus under direct memory access (DirectMemoryAccess, DMA) pattern, and the internal memory be connected with described MCU exchanges data mutually by the spi bus under DMA pattern.
Wherein in an embodiment, the equal and opposite in direction of described internal memory.Wherein in an embodiment, in described, save as the independent memory region divided in described MCU.
Wherein in an embodiment, save as in described and be arranged at outside described MCU and the memory chip be connected with described MCU.
Wherein in an embodiment, described many MCU internal storage data switch also comprises the power supply be connected with described MCU.
Wherein in an embodiment, described spi bus comprises clk data line, nss data line, mosi data line and miso data line, is connected between described MCU by described clk data line, described nss data line, described mosi data line with described miso data line.
Wherein in an embodiment, described many MCU internal storage data switch also comprises at least two SPI/LVDS converters and LVDS bus, described MCU is connected with described SPI/LVDS converter by described spi bus, is connected between every two described SPI/LVDS converters by described LVDS bus.
A kind of patient monitor, comprises many MCU internal storage data switch described above.
Above-mentioned many MCU internal storage data switch, MCU is independently connected with internal memory, high speed SPI bus is adopted to connect MCU, its spi bus is set to DMA direct memory access mode, namely a kind of timing mechanism is adopted, automatically the data in the internal memory connected separately between MCU are exchanged with fixing clock frequency (as 100 milliseconds), only need between MCU, by this fixing clock frequency, data mutual for needs are put into respective internal memory, reach the object of high-speed communication, connected by spi bus between MCU in addition, whole device wiring is simple.Owing to using the DMA pattern of SPI, intervene without the need to MCU, greatly reduce system overhead, improve system effectiveness, thus above-mentioned many MCU internal storage data switch be a kind of realize simple, system effectiveness is high and can meet the device of high-speed communication.
Accompanying drawing explanation
Fig. 1 is the structural representation of described many MCU internal storage data switch first embodiment;
Fig. 2 is the structural representation of described many MCU internal storage data switch second embodiment.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below with reference to the accompanying drawings and embodiment, the present invention is further elaborated.Should be appreciated that concrete enforcement described herein is only in order to explain the present invention, does not limit the present invention.
For the ease of explaining, described many MCU internal storage data switch is described, in following embodiment and accompanying drawing, all adopt the situation of 2 MCU to explain, be to be understood that, when MCU quantity is two or more, embodiment and accompanying drawing are only that simple quantity adds up.
As shown in Figure 1, a kind of many MCU internal storage data switch, comprise at least two MCU100, spi bus 200 and at least two internal memories 300, be interconnected between described MCU100 by described spi bus 200, described MCU100 independently connects described internal memory 300;
Described spi bus 200 is the spi bus under DMA pattern, and the internal memory 300 be connected with described MCU100 exchanges data mutually by the spi bus under DMA pattern.
Spi bus is a kind of synchronous serial Peripheral Interface, and it can make MCU and various peripherals carry out in a serial fashion communicating to exchange information, and its hardware capability is very powerful, so the software relevant with SPI is just quite simple, MCU can process other things more.DMA direct memory access technology is the valuable feature of all modern computers, and it allows the hardware unit of friction speed to link up, and does not need a large amount of interrupt load depending on MCU.
Above-mentioned many MCU internal storage data switch, MCU is independently connected with internal memory, high speed SPI bus is adopted to connect MCU, its spi bus is set to DMA direct memory access mode, namely a kind of timing mechanism is adopted, automatically the data in the internal memory connected separately between MCU are exchanged with fixing clock frequency (as 100 milliseconds), only need between MCU, by this fixing clock frequency, data mutual for needs are put into respective internal memory, reach the object of high-speed communication, connected by spi bus between MCU in addition, whole device wiring is simple.Owing to using the DMA pattern of SPI, intervene without the need to MCU, greatly reduce system overhead, improve system effectiveness, thus above-mentioned many MCU internal storage data switch be a kind of realize simple, system effectiveness is high and can meet the device of high-speed communication.
Wherein in an embodiment, the equal and opposite in direction of described internal memory.
Memory size is set to identical be convenient to realize internal storage data and exchange, because the data in each region of memory are exchanging with an identical transformation parameter, the equal wiring that can simplify in described many MCU internal storage data switch of memory size, improves its data exchange rate.Wherein in an embodiment, in described, save as the independent memory region divided in described MCU.
In the present embodiment, the independently region of memory divided in MCU is saved as in described, internal memory is set directly in MCU the structure simplifying described many MCU internal storage data switch, improve the speed of exchanges data between MCU and internal memory, be conducive to the speed promoting described many MCU internal storage data switch transmission data.
Wherein in an embodiment, save as in described and be arranged at outside described MCU and the memory chip be connected with described MCU.
Inside save as the memory chip of peripheral hardware outside MCU, its die size can change according to the needs of reality use, and the maximal value of its internal memory can not be subject to the restriction of MCU performance, meets the actual user demand under multiple different situations.
As shown in Figure 2, wherein in an embodiment, described many MCU internal storage data switch also comprises the power supply 400 be connected with described MCU100.
Power supply 400 is for powering for the device of described many MCU internal storage data switch.
Wherein in an embodiment, described spi bus comprises clk data line, nss data line, mosi data line and miso data line, is connected between described MCU by described clk data line, described nss data line, described mosi data line with described miso data line.
Clk data line, nss data line, mosi data line and miso data line are 4 data lines that SPI uses, use above-mentioned 4 data lines can realize the basic function of SPI, so in the present embodiment described spi bus comprise clk data line, nss data line, mosi data line and miso data line can under the prerequisite guaranteeing SPI basic function, simplify its structure to greatest extent, reduce its implementation cost.
As indicated with 2, wherein in an embodiment, described many MCU internal storage data switch also comprises at least two SPI/LVDS converters 500 and LVDS bus 600, described MCU100 is connected with described SPI/LVDS converter 500 by described spi bus 200, is connected between every two described SPI/LVDS converters 500 by described LVDS bus 600.
Because spi bus efficient communication distance only has 50cm, time apart from each other between two MCU, multiple spi bus is just needed to connect.In the present embodiment, be provided with at least two SPI/LVDS converters and LVDS bus, when needing remote SPI to connect between two MCU, two MCU are first connected with described SPI/LVDS converter respectively by spi bus, are connected again between SPI/LVDS converter by LVDS bus.Be to be understood that SPI/LVDS converter can for multiple can farther distance be connected by spi bus between MCU with LVDS bus.Also need in addition to understand, in the present embodiment SPI/LVDS converter can be other signals with the converter of SPI, connected by the bus of this signal between its converter.
A kind of patient monitor, comprises many MCU internal storage data switch described above.
The above embodiment only have expressed several embodiment of the present invention, and it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.

Claims (7)

1. the internal storage data of MCU a more than switch, is characterized in that, comprise at least two MCU, spi bus and at least two internal memories, be interconnected between described MCU by described spi bus, described MCU independently connects described internal memory;
Described spi bus is the spi bus under DMA pattern, and the internal memory be connected with described MCU exchanges data mutually by the spi bus under DMA pattern;
Described device also comprises at least two SPI/LVDS converters and LVDS bus, and described MCU is connected with described SPI/LVDS converter by described spi bus, is connected between every two described SPI/LVDS converters by described LVDS bus; When needing remote SPI to connect between two MCU, two MCU are first connected with described SPI/LVDS converter respectively by spi bus, are connected again between SPI/LVDS converter by LVDS bus.
2. many MCU internal storage data switch according to claim 1, is characterized in that, the equal and opposite in direction of described internal memory.
3. many MCU internal storage data switch according to claim 1 and 2, is characterized in that, saves as the independent memory region divided in described MCU in described.
4. many MCU internal storage data switch according to claim 1 and 2, is characterized in that, saves as and be arranged at outside described MCU and the memory chip be connected with described MCU in described.
5. many MCU internal storage data switch according to claim 1 and 2, is characterized in that, also comprises the power supply be connected with described MCU.
6. many MCU internal storage data switch according to claim 1 and 2, it is characterized in that, described spi bus comprises clk data line, nss data line, mosi data line and miso data line, is connected between described MCU by described clk data line, described nss data line, described mosi data line with described miso data line.
7. a patient monitor, is characterized in that, comprises as the many MCU internal storage data switch in claim 1-6 as described in any one.
CN201310271914.7A 2013-06-28 2013-06-28 Patient monitor and many MCU internal storage data switch thereof Active CN103345455B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310271914.7A CN103345455B (en) 2013-06-28 2013-06-28 Patient monitor and many MCU internal storage data switch thereof
PCT/CN2014/079150 WO2014206181A1 (en) 2013-06-28 2014-06-04 Patent monitor and multi-mcu memory data exchange device for same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310271914.7A CN103345455B (en) 2013-06-28 2013-06-28 Patient monitor and many MCU internal storage data switch thereof

Publications (2)

Publication Number Publication Date
CN103345455A CN103345455A (en) 2013-10-09
CN103345455B true CN103345455B (en) 2016-03-30

Family

ID=49280253

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310271914.7A Active CN103345455B (en) 2013-06-28 2013-06-28 Patient monitor and many MCU internal storage data switch thereof

Country Status (2)

Country Link
CN (1) CN103345455B (en)
WO (1) WO2014206181A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103345455B (en) * 2013-06-28 2016-03-30 深圳市科曼医疗设备有限公司 Patient monitor and many MCU internal storage data switch thereof
CN112416832A (en) * 2020-11-06 2021-02-26 光华临港工程应用技术研发(上海)有限公司 Communication system based on MIPS framework processor

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201084214Y (en) * 2007-07-19 2008-07-09 杭州海兴电器有限公司 A clavier split-type multifunctional prepayment electric energy meter
CN102087609A (en) * 2011-02-23 2011-06-08 中国人民解放军国防科学技术大学 Dynamic binary translation method under multi-processor platform
CN102495818A (en) * 2011-12-09 2012-06-13 上海爱信诺航芯电子科技有限公司 Method for improving communication speed rate of software-mode serial peripheral interface (SPI)
CN102567253A (en) * 2010-12-13 2012-07-11 深圳市硅格半导体有限公司 DMA (direct memory access)-based SPI (serial peripheral interface) data transmission method and DMA-based SPI data transmission device
CN102750240A (en) * 2012-06-29 2012-10-24 惠州市德赛西威汽车电子有限公司 Channel extension method based on embedded MCU (Microprogrammed Control Unit)
CN103051817A (en) * 2011-10-14 2013-04-17 苏州鼎尚信息技术有限公司 Method and voice terminal device for realizing pulse code modulation (PCM) information interaction by utilizing serial peripheral interface (SPI) interface

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
BG62375B1 (en) * 1996-07-23 1999-09-30 Институт за Маркетинг и Сондажи "MBMD" Device for monitoring the behaviour of tv viewer audience
KR20070063791A (en) * 2005-12-15 2007-06-20 주식회사 만도 Electrical control system of vehicles
KR20110020429A (en) * 2009-08-24 2011-03-03 현대모비스 주식회사 Ecu failure diagnosis method using individual duplicate spi
US20110246678A1 (en) * 2010-03-30 2011-10-06 Hung-June Wu method for automatic mapping and updating of computer switching devices
KR101811432B1 (en) * 2011-07-14 2017-12-22 현대모비스 주식회사 Advanced Watchdog Apparatus And Method Thereof
CN103345455B (en) * 2013-06-28 2016-03-30 深圳市科曼医疗设备有限公司 Patient monitor and many MCU internal storage data switch thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201084214Y (en) * 2007-07-19 2008-07-09 杭州海兴电器有限公司 A clavier split-type multifunctional prepayment electric energy meter
CN102567253A (en) * 2010-12-13 2012-07-11 深圳市硅格半导体有限公司 DMA (direct memory access)-based SPI (serial peripheral interface) data transmission method and DMA-based SPI data transmission device
CN102087609A (en) * 2011-02-23 2011-06-08 中国人民解放军国防科学技术大学 Dynamic binary translation method under multi-processor platform
CN103051817A (en) * 2011-10-14 2013-04-17 苏州鼎尚信息技术有限公司 Method and voice terminal device for realizing pulse code modulation (PCM) information interaction by utilizing serial peripheral interface (SPI) interface
CN102495818A (en) * 2011-12-09 2012-06-13 上海爱信诺航芯电子科技有限公司 Method for improving communication speed rate of software-mode serial peripheral interface (SPI)
CN102750240A (en) * 2012-06-29 2012-10-24 惠州市德赛西威汽车电子有限公司 Channel extension method based on embedded MCU (Microprogrammed Control Unit)

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于LVDS技术的高速图像采集系统的设计;孙春风等;《仪表技术与传感器》;20090315;全文 *
基于多主型SPI接口的CAN总线中继器设计;王亮等;《自动化与仪表》;20090315;第18页右列第3行至第21页右栏第18行 *

Also Published As

Publication number Publication date
WO2014206181A1 (en) 2014-12-31
CN103345455A (en) 2013-10-09

Similar Documents

Publication Publication Date Title
CN103064805B (en) SPI controller and communication means
CN202167015U (en) Serial interface converting circuit
CN109828941A (en) AXI2WB bus bridge implementation method, device, equipment and storage medium
CN102841869B (en) Multi-channel I2C controller based on FPGA
CN203812236U (en) Data exchange system based on processor and field programmable gate array
CN104318301A (en) TF card having communication function
CN104834620A (en) SPI (serial peripheral interface) bus circuit, realization method and electronic equipment
EP3644192B1 (en) Master chip, slave chip, and dma transfer system between chips
CN103345455B (en) Patient monitor and many MCU internal storage data switch thereof
CN110765053B (en) N-M AXI bus controller and configurable arbitration mechanism implementation method thereof
CN105786741B (en) SOC high-speed low-power-consumption bus and conversion method
CN107704407A (en) A kind of system and method for being used for data processing between SPI and UART
CN105677609A (en) Bus structure of SoC system
CN103488605A (en) Bus architecture for multiprocessor parallel communication
CN110888831B (en) Multi-power domain asynchronous communication device
CN202406141U (en) Fire wall
CN106886298A (en) A kind of device for supporting USB and PS2 interface adaptives four to cut a reinforcing KVM exchangers
CN102541788A (en) APB (advanced peripheral bus) bridge and method for executing reading or writing by using APB bridge
CN202906873U (en) Multi-functional communication interface signal converter
CN101192208A (en) Dual bus circuit based on 8-bit processor
CN204695305U (en) A kind of SPI communication interface based on joint product and this joint product
CN209860929U (en) Communication bus structure
CN208190652U (en) A kind of mainboard of full duplex Universal Synchronous Asynchronous serial transceiver
CN202948401U (en) Computer keyboard capable of being connected with outer storage devices
CN214311734U (en) Communication device based on SPI communication interface

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant