CN2629126Y - CPU interface switching device and tax control cash collecting machine using psz interface - Google Patents

CPU interface switching device and tax control cash collecting machine using psz interface Download PDF

Info

Publication number
CN2629126Y
CN2629126Y CN 03263968 CN03263968U CN2629126Y CN 2629126 Y CN2629126 Y CN 2629126Y CN 03263968 CN03263968 CN 03263968 CN 03263968 U CN03263968 U CN 03263968U CN 2629126 Y CN2629126 Y CN 2629126Y
Authority
CN
China
Prior art keywords
interface
cpu
spi
tax
control cash
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 - Lifetime
Application number
CN 03263968
Other languages
Chinese (zh)
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 Sinosun Technology Co., Ltd.
Original Assignee
ZHAORI INFORMATION TECHNOLOGY
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 ZHAORI INFORMATION TECHNOLOGY filed Critical ZHAORI INFORMATION TECHNOLOGY
Priority to CN 03263968 priority Critical patent/CN2629126Y/en
Application granted granted Critical
Publication of CN2629126Y publication Critical patent/CN2629126Y/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Bus Control (AREA)

Abstract

The utility model relates to a CPU interface switching device and a tax controlled cash receipting machine using the PS2 interface, which comprise an auxiliary chip to switch between the PS2 interface protocol and the SPI interface protocol. The auxiliary chip is connected with the PS2 equipment via at least one PS2 interface, and is connected with the SPI interface of the tax controlled cash receipting machine CPU for communication via the PS2 bus. The utility model facilitates CPU programming and increases the efficiency of the operating system with high stability.

Description

The tax-control cash register of a kind of cpu i/f conversion equipment and use PS2 interface
Technical field
The utility model relates to a kind of cpu i/f conversion equipment, particularly relates to the improvement of the cpu interface circuit that uses PS2 interface mouse and keyboard
The utility model also relates to a kind of tax-control cash register that uses foregoing circuit simultaneously.
Background technology
As everyone knows, mouse and keyboard commonly used at present all are PS2 interface mouse and keyboard, the product of compatible PS2 interface protocol substitutes serial equipment gradually becomes cashing machine, standard external equipment interface that the POS machine is new, its advantage is can provide+the 5V power supply, is that scanner, external magnetic card read write line and password keypad can need not external power source and be directly connected on the main frame.But, be not possess the PS2 hardware protocol in CPU at present, that is to say that CPU can't directly manage the PS2 interfacing equipment.Prior art cooperates I/O mouth and exterior interrupt to realize by software (operating system) often, so just need take the time of CPU in a large number, and can not guarantee the operation of operating system real-time and effective, has therefore reduced the overall efficiency of tax-control cash register.Serial ports among the CPU is counted deficiency at present, but all has idle a plurality of spi bus interfaces.SPI, promptly synchronous peripheral interface is the three-way sync cap agreement that MOTOROLA company releases, and realizes that by serial data line (MISO, MOSI) and serial time clock line (SCK) data of chip chamber transmit, same spi bus can be managed a plurality of serial devices simultaneously.Therefore, use the PS2 interfacing equipment in tax-control cash register, during as mouse or keyboard, if by the identification of CPU software decode, will have a strong impact on CPU and operating system efficient, and mouse, keyboard are difficult to stable control.
Summary of the invention
The purpose of this utility model just is to provide a kind of cpu i/f conversion equipment, can realize the conversion between PS2 interface protocol and the SPI interface protocol after being applied in the tax-control cash register, concerning CPU, only need to use its existing spi bus interface to get final product, simple, stable to the management of PS2 equipment.
Another purpose of the present utility model is to provide a kind of tax-control cash register that uses above-mentioned cpu i/f conversion equipment, owing to utilize hardware circuit that the PS2 interface protocol is converted to the SPI interface protocol, stable more succinct to the management of PS2 equipment, so that operating system is controlled the PS2 plant efficiency is higher.
A kind of cpu i/f conversion equipment of the present utility model, wherein, this interface switching device comprises a companion chip, realizes the conversion by PS2 interface protocol and SPI interface protocol, this companion chip links to each other with PS2 equipment by at least one PS2 interface; Simultaneously, this companion chip is connected with the SPI interface communication of described tax-control cash register CPU by spi bus.
Described interface switching device wherein, also is provided with a bus buffer chip between described companion chip and the described CPU, realize the buffering to the spi bus data transmission.
Described interface switching device, wherein, described PS2 interface has two, is keyboard and mouse.
A kind of tax-control cash register that uses the PS2 interface, wherein, this tax-control cash register comprises a CPU and a cpu i/f change-over circuit, this interface conversion circuit comprises a companion chip, realization is by the conversion of PS2 interface protocol and SPI interface protocol, and this companion chip links to each other with PS2 equipment by at least one PS2 interface; Simultaneously, this companion chip is connected with the SPI interface communication of described CPU by spi bus.
Described tax-control cash register wherein, also is provided with a bus buffer chip between described companion chip and the described CPU, realize the buffering to described spi bus data transmission.
Described tax-control cash register is characterized in that, described PS2 interface has two, is keyboard and mouse.
A kind of cpu i/f conversion equipment that the utility model provides, owing to adopt the companion chip that is used to change that is provided with between PS2 interface and CPU, CPU is stable more, simple to the management of PS2 interfacing equipment.
And, a kind of tax-control cash register that uses the PS2 interface of the present utility model owing to adopt above-mentioned cpu i/f change-over circuit or transition card, make operating system to control efficient higher.
Brief Description Of Drawings
Below in conjunction with accompanying drawing,, will make the technical solution of the utility model and beneficial effect thereof apparent by detailed description to the utility model preferred embodiment.
In the accompanying drawing,
Fig. 1 is the circuit block diagram of cpu i/f conversion equipment of the present utility model;
Fig. 2 is the circuit theory diagrams of cpu i/f conversion equipment of the present utility model;
Fig. 3 is the structural principle block diagram of the tax-control cash register of use PS2 interface of the present utility model.
Embodiment
A kind of cpu i/f conversion equipment 100 of the present utility model, as Fig. 1, Fig. 2 and shown in Figure 3, comprise a companion chip 110 in its circuit, this companion chip 110 is realized the conversion of PS2 interface protocol and SPI interface protocol, the one side is connected with at least one PS2 interface 120, can connect control PS2 interfacing equipment by this PS2 interface 120, as keyboard, mouse etc.Its opposite side is connected with the CPU140 communication of tax-control cash register by spi bus 130, can control a plurality of PS2 interfacing equipments by this spi bus, as mouse, keyboard, scanner, external magnetic card read write line and password keypad etc., for controlling of CPU, especially when designing program, can realize management easily to the PS2 interfacing equipment.
Be preferably simultaneously, before described CPU, be provided with a bus buffer chip 150 on this spi bus, as shown in Figure 2, because two direction cushions, therefore two bus buffer chips 151 and 152 are arranged, realization is to the buffering of the data transmission stream of spi bus, to realize the smooth and easy quick of data transmission.Described PS2 interface 120 is at least two, comprising keyboard and mouse.So, the CPU of use the utility model product just can simplify the management to the PS2 interfacing equipment.
This kind cpu i/f change-over circuit of the present utility model can also be made forms such as interface conversion chip, and its circuit theory is same as described above, repeats no more.The convenience of interface conversion chip is the modularization processing, can directly insert circuit when producing tax-control cash register and other equipment thereof, reduces production procedure, convenient production.
A kind of tax-control cash register that uses the PS2 interface of the present utility model, as shown in Figure 3, it comprises a CPU140, and this CPU140 does not have the PS2 interface equally, it need adopt aforesaid interface switching device, and the hardware device of PS2 interface protocol is inserted among the described CPU140 by spi bus.Its improved circuit structure also repeats no more as mentioned above.
Because the interface conversion circuit that tax-control cash register of the present utility model adopts, be actually by hardware docking port agreement and change, concerning CPU, its management to the PS2 external unit is by SPI interface management mode is realized, need not to utilize in the CPU software decode or take exterior interrupt, improved the treatment effeciency of CPU, and convenient used above-mentioned PS2 interfacing equipment when CPU is programmed, made operating system efficient higher; And cost reduces.
Should be understood that; the foregoing description of the present utility model can not be used as the restriction of scope of patent protection of the present utility model; for those of ordinary skills; can make various possible changes or replacement according to the technical solution of the utility model, and all these changes or replacement all should belong to the protection domain of the utility model appended claim.

Claims (6)

1, a kind of cpu i/f conversion equipment is characterized in that, this interface switching device comprises a companion chip, realizes the conversion by PS2 interface protocol and SPI interface protocol;
This companion chip links to each other with the PS2 peripheral hardware by at least one PS2 interface;
Simultaneously, this companion chip is connected with the SPI interface communication of described CPU by spi bus.
2, interface switching device according to claim 1 is characterized in that, also is provided with a bus buffer chip between described companion chip and the described CPU, realizes the buffering to the spi bus data transmission.
3, interface switching device according to claim 2 is characterized in that, described PS2 interface has a plurality of.
4, a kind of tax-control cash register that uses the PS2 interface is characterized in that, this tax-control cash register comprises a CPU and a cpu i/f change-over circuit, and this interface conversion circuit comprises a companion chip, realizes the conversion by PS2 interface protocol and SPI interface protocol; And
This companion chip links to each other with the PS2 peripheral hardware by at least one PS2 interface;
Simultaneously, this companion chip is connected with the SPI interface communication of described CPU by spi bus.
5, tax-control cash register according to claim 4 is characterized in that, also is provided with a bus buffer chip between described companion chip and the described CPU, realizes the buffering to described spi bus data transmission.
6, tax-control cash register according to claim 5 is characterized in that, described PS2 interface has a plurality of.
CN 03263968 2003-05-27 2003-05-27 CPU interface switching device and tax control cash collecting machine using psz interface Expired - Lifetime CN2629126Y (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 03263968 CN2629126Y (en) 2003-05-27 2003-05-27 CPU interface switching device and tax control cash collecting machine using psz interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 03263968 CN2629126Y (en) 2003-05-27 2003-05-27 CPU interface switching device and tax control cash collecting machine using psz interface

Publications (1)

Publication Number Publication Date
CN2629126Y true CN2629126Y (en) 2004-07-28

Family

ID=34255899

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 03263968 Expired - Lifetime CN2629126Y (en) 2003-05-27 2003-05-27 CPU interface switching device and tax control cash collecting machine using psz interface

Country Status (1)

Country Link
CN (1) CN2629126Y (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8274972B2 (en) 2005-07-15 2012-09-25 Samsung Electronics Co., Ltd. Communication system with switchable connection

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8274972B2 (en) 2005-07-15 2012-09-25 Samsung Electronics Co., Ltd. Communication system with switchable connection

Similar Documents

Publication Publication Date Title
CN100361101C (en) Shared terminal, host computer and use thereof
CN2629126Y (en) CPU interface switching device and tax control cash collecting machine using psz interface
CN203025515U (en) Network industrial control module with function of POE (Power Over Ethernet) power supply
CN1492299A (en) Computer system with power management and its method
CN1897450A (en) DC motor servo controlling card based on DSP
CN1936874A (en) CPU interface conversion apparatus and tax-controlled cashier using PS2 interface
CN1273903C (en) General purpose serial bus multifunctional changeover controller
CN216052644U (en) Test digital-to-analog conversion acquisition card
CN1691456A (en) Interlocking control circuit for paralleling power supply
CN200962230Y (en) Intelligent multi-function work attendance checking device
CN2783417Y (en) Notebook computer capable of being used as mobile memory device
CN2638328Y (en) Power-supply signal converter
CN202383665U (en) Peripheral terminal for panel devices
CN2541883Y (en) On/off and reset device of computer controlled by sefety controlling system
CN205210761U (en) CPEX industrial control computer mainboard based on explain majestic nest plate
CN2560040Y (en) SCSI slave controller
CN205594375U (en) Communication system based on PLC
CN2896709Y (en) Kilomega-digit network fire-retardant-wall device
CN200966068Y (en) A computer cluster network monitor system node card
CN2487026Y (en) Sharing device
CN2849837Y (en) Embedded computer bus device
CN2652039Y (en) Computer series double-circuit step-by-step motor controller
CN202003273U (en) Modularized computer
CN1225694C (en) Intelligent network-switching equipment having common same user output-input interface
CN213634257U (en) GPIO expansion card based on LPC bus

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee

Owner name: ZHAORI SCIENCE & TECHNOLOGY (SHENZHEN) CO., LTD.

Free format text: FORMER NAME OR ADDRESS: SHENZHEN ZHAORI INFORMATION TECHNOLOGY CO., LTD.

CP03 Change of name, title or address

Address after: 518040 Guangdong city of Shenzhen province Futian District Che Kung Temple Tairan Industrial Zone 213 building 6 floor C block

Patentee after: Zhaori Science & Technology (Shenzhen) Co., Ltd.

Address before: 518000 Guangdong city of Shenzhen province Futian District Che Kung Temple Tairan Industrial Zone

Patentee before: Zhaori Information Technology Co., Ltd.,Shenzhen

C56 Change in the name or address of the patentee

Owner name: SHENZHEN ZHAORI TECHNOLOGY CO., LTD.

Free format text: FORMER NAME: ZHAORI SCIENCE + TECHNOLOGY (SHENZHEN) CO., LTD.

CP01 Change in the name or title of a patent holder

Address after: 518040 Guangdong city of Shenzhen province Futian District Che Kung Temple Tairan Industrial Zone 213 building 6 floor C block

Patentee after: Shenzhen Sinosun Technology Co., Ltd.

Address before: 518040 Guangdong city of Shenzhen province Futian District Che Kung Temple Tairan Industrial Zone 213 building 6 floor C block

Patentee before: Sinosun Technology (Shenzhen) Co., Ltd.

C17 Cessation of patent right
CX01 Expiry of patent term

Expiration termination date: 20130527

Granted publication date: 20040728