[go: up one dir, main page]

CN105355032B - It is built-in can repeatedly programmable memory learning-oriented remote-control circuit structure and learning method - Google Patents

It is built-in can repeatedly programmable memory learning-oriented remote-control circuit structure and learning method Download PDF

Info

Publication number
CN105355032B
CN105355032B CN201410419841.6A CN201410419841A CN105355032B CN 105355032 B CN105355032 B CN 105355032B CN 201410419841 A CN201410419841 A CN 201410419841A CN 105355032 B CN105355032 B CN 105355032B
Authority
CN
China
Prior art keywords
module
memory
repeatedly
read
program read
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
CN201410419841.6A
Other languages
Chinese (zh)
Other versions
CN105355032A (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.)
CRM ICBG Wuxi Co Ltd
Original Assignee
Wuxi China Resources Semico 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 Wuxi China Resources Semico Co Ltd filed Critical Wuxi China Resources Semico Co Ltd
Priority to CN201410419841.6A priority Critical patent/CN105355032B/en
Publication of CN105355032A publication Critical patent/CN105355032A/en
Application granted granted Critical
Publication of CN105355032B publication Critical patent/CN105355032B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Selective Calling Equipment (AREA)

Abstract

The present invention relates to built in one kind can repeatedly programmable memory learning-oriented remote-control circuit structure and learning method, including micro controller module;Can one-time programming ROM module, to store program and fixed pattern data;Can multiple program read-only memory module, to store the pattern data learnt;Can multiple programmable memory control module, to store it is described can repeatedly the address of program read-only memory module, can repeatedly the value of program read-only memory module read-write and can multiple program read-only memory module control signal;Signal transmitting and receiving module;Hardware scanning module, to scan the key being pressed and judge push-button type.Using built in this kind can multiple programmable memory learning-oriented remote-control circuit structure and learning method, realizing repeatedly can replace external eeprom circuit by program read-only memory by built-in, save cost, the process of simplification, raising efficiency increases number of keys, has wider application range.

Description

It is built-in can repeatedly programmable memory learning-oriented remote-control circuit structure and learning method
Technical field
The present invention relates to remote control technical field more particularly to learning-oriented remote control technical fields, in particular to one Kind built in can repeatedly programmable memory learning-oriented remote-control circuit structure and learning method.
Background technique
It is most in prior art to use MCU (Micro Controller Unit, a microcontroller) governor circuit (Electrically Erasable Programmable Read-Only Memory, electrically erasable is read-only to deposit with an EEPROM Reservoir) circuit, it is communicated by two I/O ports;The keyboard-coding data learnt are stored in eeprom circuit, when signaling It is read in governor circuit from eeprom circuit again;
Eeprom circuit and MCU governor circuit are encapsulated in the same plastic-sealed body by another newer scheme, serial number Being linked together according to port by binding line reduces scheme cost, and the process of study and signaling is same as above the technical side mentioned Case is identical.
The shared disadvantage of both the above mode:
Both 1, all employ two circuits, periphery is relative complex, increase entire remote controler cost (circuit cost, Packaging cost, welding cost etc.);
2, two I/O ports can at least be occupied by communicating with each other between two circuits, make achievable to subtract by bond number under equal conditions It is small;
3, it the write-in of data or reads and all uses serial mode, keep the period read or write elongated, low efficiency, time-consuming
Summary of the invention
The purpose of the present invention is overcoming the above-mentioned prior art, providing a kind of can be realized can by built-in Multiple program read-only memory replaces external eeprom circuit, saves cost, simplifies process, raising efficiency, increases key Number it is built-in can repeatedly programmable memory learning-oriented remote-control circuit structure and learning method.
To achieve the goals above, it is of the invention it is built-in can the repeatedly learning-oriented remote-control circuit structure of programmable memory and Learning method has following constitute:
This it is built-in can repeatedly programmable memory learning-oriented remote-control circuit structure, be mainly characterized by, the circuit knot Structure includes:
Micro controller module, to generate corresponding control signal and timing according to Instruction decoding and execute corresponding control Movement;
Can one-time programming ROM module, to store program and fixed pattern data;
Can multiple program read-only memory module, to store the pattern data learnt;
Can multiple programmable memory control module, to store it is described can multiple program read-only memory module ground Location, it is described can repeatedly the value of program read-only memory module read-write and it is described can multiple program read-only memory module control Signal processed;
Signal transmitting and receiving module sends and receives decoding to remote signal;
Hardware scanning module, to scan the key being pressed and judge push-button type.
Preferably, it is described can repeatedly program read-only memory be can repeatedly program read-only memory or the read-only storage of flash memory Device.
Preferably, the signal transmitting and receiving module is infrared module.
Preferably, described can repeatedly programmable memory control module include:
Address register, to store it is described can multiple program read-only memory module address;
Read and write numerical register, to store it is described can multiple program read-only memory module read-write value;
Control sign register, to store it is described can multiple program read-only memory module control signal.
Preferably, the micro controller module and can repeatedly program read-only memory module be parallel communications.
The invention further relates to a kind of based on can the multiple learning-oriented remote-control circuit structure of programmable memory built in described Learning method, which is characterized in that the method the following steps are included:
(1) after specifying key to be learned, the microcontroller can repeatedly program the key of study only in described Read corresponding space erasing in memory module;
(2) the signal transmitting and receiving module described in receives pattern data to be learned and is decoded;
(3) the micro controller module control described in can will repeatedly program read-only deposit described in the write-in of decoded pattern data Corresponding space in memory modules.
Preferably, it is described can repeatedly programmable memory control module include address register, read-write numerical register and Control sign register, the key by study it is described can multiple corresponding space in program read-only memory module Erasing, comprising the following steps:
(11) by it is described can sector that repeatedly program read-only memory module needs to wipe first address write-in it is described In address register;
(12) pass through the erasing position in the enabled control sign register of the micro controller module.
Preferably, after the step (3), it is further comprising the steps of:
(4) when pressing key pressing, the signal transmitting and receiving module launches pattern data corresponding to the key.
More preferably, the signal transmitting and receiving module launches pattern data corresponding to the key, including following step It is rapid:
(41) the hardware scanning module described in is scanned and judges the push-button type being pressed, if it is common key-press, Then continue step (42), if it is study key, then continues step (43);
(42) micro controller module described in reads to be stored in and described can store in one-time programming ROM module The corresponding pattern data of the key, then proceed to step (44);
(43) micro controller module described in reads to be stored in and described can repeatedly store in program read-only memory module The corresponding pattern data of the key, then proceed to step (44);
(44) signal transmitting and receiving module described in is by through the micro controller module, treated that pattern data are launched.
Further, described can programmable memory control module include repeatedly address register, read-write numerical value deposit Device and control sign register, readings be stored in it is described can repeatedly store in program read-only memory module be somebody's turn to do by The corresponding pattern data of key, comprising the following steps:
(431) by need to read can the address repeatedly in program read-only memory module write the address register In;
(432) pass through the reading position in the enabled control sign register of the micro controller module;
It (433) will be in the key of reading corresponding pattern data write-in read-write numerical register.
Using built in the invention can multiple programmable memory learning-oriented remote-control circuit structure and learning method, tool It has the advantages that:
1, it reduces and uses a circuit, and simplify peripheral circuit, so that remote controler overall cost declines;
2, more two common I/O ports under equal conditions, so that supported increased by bond number;
3, internal parallel communications improves the read or write speed of memory, simplifies programming complexity.
Detailed description of the invention
Fig. 1 be it is of the invention it is built-in can the multiple learning-oriented remote-control circuit structure of programmable memory structural schematic diagram.
Fig. 2 be it is of the invention it is built-in can the multiple learning method of the learning-oriented remote-control circuit structure of programmable memory process Figure.
Fig. 3 be it is of the invention it is built-in can the multiple signaling process of the learning-oriented remote-control circuit structure of programmable memory process Figure.
Fig. 4 be it is of the invention to can repeatedly program read-only memory erasing flow chart.
Fig. 5 be it is of the invention to can repeatedly program read-only memory write-in flow chart.
Fig. 6 be it is of the invention to can repeatedly program read-only memory read flow chart.
Specific embodiment
It is further to carry out combined with specific embodiments below in order to more clearly describe technology contents of the invention Description.
The present invention is mainly by micro controller module (MCU), and (One-Time Programmable ROM, can be primary by OTPROM Program read-only memory) module, (Multiple-Time Programmable ROM can repeatedly program read-only storage to MTPROM Device) module, MTP control circuit module can multiple programmable memory control module, infrared module, that is, signal transmitting and receiving module and hard Part scan module etc. constitutes (as shown in Figure 1).
Micro controller module major function be by processes such as Instruction decoding, deposits, generate corresponding control signal and when Sequence completes the corresponding function of program institute.
OTPROM module is mainly used for storing the pattern data of program and certain fixations, it is the read-only of support write-once Memory.
MTPROM module is mainly used for the pattern data that storage learns, it is the read-only memory for supporting repeatedly to be written.
MTP control circuit module mainly include MTP_ADR (address register), MTP_DAT (read-write data register), Three groups of registers of MTP_CON (control register), are respectively used to the value of the address of storage MTP, MTP write-in or reading, and The control signal of MTP.The value that this three groups of registers are controlled by MCU can be completed to MTPROM writing, reading or erasing Etc. processes.
Infrared module is mainly used for the transmitting of remote signal and receives decoding process.
Hardware scanning module is mainly used for cooperating the wake-up of the complete paired systems of software and determines effective key.
The process (as shown in Figure 2) of study:
1, learning state, and the key of specified study are entered by peripheral key;
2, after determining learning key, by the key, corresponding space is wiped in MTP;
3, the extraneous remote signal learnt is received by infrared module decodes, according to " 0 " (low level), " 1 " (high electricity It is flat), level width and carrier frequency etc. form pattern data;
4, by corresponding program, make MCU to control the write-in that MTP completes related pattern data.
The process (as shown in Figure 3) of signaling:
1, remote controler presses some key, judges which key is pressed by hardware scanning module and software;
2, if it is common key-press, then the corresponding pattern data being stored in OTP are read;If it is study key, then read Take the corresponding pattern data in MTP;
3, by the pattern data read by the processing of MCU, then launch via infrared module.
In the present invention, the space according to needed for one pattern data of the capacity of MTPROM and storage, by MTPROM points At 16 sectors, each sector stores the pattern data of a key, therefore can could support up 16 learning-oriented keys.
To the process (as shown in Figure 4) of MTPROM erasing:
It 1, will be in the first address write-in MTP_ADR register for the sector that need to wipe;
2, the erasing position in MTP_CON register is enabled by MCU, MTPROM starts to carry out erase process;
3, after 65ms, the erasing move to designated sector is completed.
To the process (as shown in Figure 5) of MTPROM write-in:
1, the address being written will be needed to write in MTP_ADR register;
2, the data being written will be needed to write in MTP_DAT register;
3, the write-in position in MTP_CON register is enabled by MCU module, MTPROM starts to carry out writing process;
4, after 150 μ s, the write activity to specified address, specified data is completed.
The process (as shown in Figure 6) that MTPROM is read:
1, the address read will be needed to write in MTP_ADR register;
2, the reading position in MTP_CON register is enabled by MCU module, MTPROM starts to carry out readout;
3, after 10 μ s, the reading operation to specified address is completed, the value of reading is saved in MTP_DAT register.
Common study remote controller is learnt using MCU governor circuit and signaling, the code of external eeprom circuit storage study Type data, due to using two circuits, scheme is at high cost, the present invention built-in MTPROM in MCU governor circuit, outer for substituting The eeprom circuit connect reduces scheme cost;
Common study remote controller MCU and EEPROM communication at least occupies two I/O ports, and the present invention can reduce occupancy two I/O port keeps MCU programming more flexible;
Common study remote controller MCU and EEPROM use serial communication, and data throughout is small, MCU and MTP in the present invention Between parallel communications, data throughout is big.
Built-in MTPROM can be substituted for built-in FlashROM (flash ROM) etc., but the cost meeting of the latter Height is a bit.
Using built in the invention can multiple programmable memory learning-oriented remote-control circuit structure and learning method, tool It has the advantages that:
1, it reduces and uses a circuit, and simplify peripheral circuit, so that remote controler overall cost declines;
2, more two common I/O ports under equal conditions, so that supported increased by bond number;
3, internal parallel communications improves the read or write speed of memory, simplifies programming complexity.
In this description, the present invention is described with reference to its specific embodiment.But it is clear that can still make Various modifications and alterations are without departing from the spirit and scope of the invention.Therefore, the description and the appended drawings should be considered as illustrative And not restrictive.

Claims (8)

1. built in one kind can repeatedly programmable memory learning-oriented remote-control circuit structure, including, micro controller module, to basis Instruction decoding generates corresponding control signal and timing and executes corresponding control action;Signal transmitting and receiving module, to be remotely controlled letter Number send and receive decoding, which is characterized in that the circuit structure includes:
Can one-time programming ROM module, to store program and fixed pattern data;
Can multiple program read-only memory module, to store the pattern data learnt;
Can multiple programmable memory control module, to store it is described can the repeatedly address of program read-only memory module, institute State can repeatedly the value of program read-only memory module read-write and it is described can multiple program read-only memory module control letter Number;
Hardware scanning module, to scan the key being pressed and judge push-button type;
It is described repeatedly programmable memory control module to include:
Address register, to store it is described can multiple program read-only memory module address;
Read and write numerical register, to store it is described can multiple program read-only memory module read-write value;
Control sign register, to store it is described can multiple program read-only memory module control signal;
Described can repeatedly program read-only memory module be built in the micro controller module.
2. it is according to claim 1 it is built-in can multiple programmable memory learning-oriented remote-control circuit structure, which is characterized in that The signal transmitting and receiving module is infrared module.
3. it is according to claim 1 it is built-in can multiple programmable memory learning-oriented remote-control circuit structure, which is characterized in that The micro controller module and can program read-only memory module be repeatedly parallel communications.
4. it is a kind of based on it is of any of claims 1 or 2 it is built-in can repeatedly programmable memory learning-oriented remote-control circuit structure Learning method, which is characterized in that the method the following steps are included:
(1) after specifying key to be learned, the key of study can repeatedly be programmed read-only deposit in described by the microcontroller Corresponding space erasing in memory modules;
(2) the signal transmitting and receiving module described in receives pattern data to be learned and is decoded;
(3) micro controller module control described in by the write-in of decoded pattern data it is described can multiple program read-only memory Corresponding space in module.
5. it is according to claim 4 it is built-in can the multiple learning-oriented remote-control circuit structure of programmable memory learning method, It is characterized in that, the key by study it is described can repeatedly corresponding space be wiped in program read-only memory module It removes, comprising the following steps:
(11) by it is described can sector that repeatedly program read-only memory module needs to wipe the first address write-in address In register;
(12) pass through the erasing position in the enabled control sign register of the micro controller module.
6. it is according to claim 4 it is built-in can the multiple learning-oriented remote-control circuit structure of programmable memory learning method, It is characterized in that, after the step (3), it is further comprising the steps of:
(4) when pressing key pressing, the signal transmitting and receiving module launches pattern data corresponding to the key.
7. it is according to claim 6 it is built-in can the multiple learning-oriented remote-control circuit structure of programmable memory learning method, It is characterized in that, the signal transmitting and receiving module launches pattern data corresponding to the key, comprising the following steps:
(41) the hardware scanning module described in is scanned and judges the push-button type being pressed, if it is common key-press, then after Continuous step (42) then continue step (43) if it is study key;
(42) micro controller module described in read be stored in it is described can store in one-time programming ROM module should The corresponding pattern data of key, then proceed to step (44);
(43) micro controller module described in read be stored in it is described can repeatedly store in program read-only memory module should The corresponding pattern data of key, then proceed to step (44);
(44) signal transmitting and receiving module described in is by through the micro controller module, treated that pattern data are launched.
8. it is according to claim 7 it is built-in can the multiple learning-oriented remote-control circuit structure of programmable memory learning method, It is characterized in that, to be stored in described key that can repeatedly store in program read-only memory module corresponding for the reading Pattern data, comprising the following steps:
(431) by need to read can the address repeatedly in program read-only memory module write in the address register;
(432) pass through the reading position in the enabled control sign register of the micro controller module;
It (433) will be in the key of reading corresponding pattern data write-in read-write numerical register.
CN201410419841.6A 2014-08-22 2014-08-22 It is built-in can repeatedly programmable memory learning-oriented remote-control circuit structure and learning method Active CN105355032B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410419841.6A CN105355032B (en) 2014-08-22 2014-08-22 It is built-in can repeatedly programmable memory learning-oriented remote-control circuit structure and learning method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410419841.6A CN105355032B (en) 2014-08-22 2014-08-22 It is built-in can repeatedly programmable memory learning-oriented remote-control circuit structure and learning method

Publications (2)

Publication Number Publication Date
CN105355032A CN105355032A (en) 2016-02-24
CN105355032B true CN105355032B (en) 2019-06-04

Family

ID=55330996

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410419841.6A Active CN105355032B (en) 2014-08-22 2014-08-22 It is built-in can repeatedly programmable memory learning-oriented remote-control circuit structure and learning method

Country Status (1)

Country Link
CN (1) CN105355032B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108417011A (en) * 2018-04-27 2018-08-17 上海中基国威电子股份有限公司 A kind of programmable Infrared Remote-Control Sending circuit of the erasable multisystem of repetition
CN109686076A (en) * 2018-12-28 2019-04-26 天长市志铖电子科技有限公司 A kind of control method and remote controler of remote controler
CN110321078B (en) * 2019-06-18 2022-06-17 海芯科技(厦门)有限公司 Method for preventing system from mistakenly erasing MTP data of single chip microcomputer under interference

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6326753A (en) * 1986-07-21 1988-02-04 Hitachi Ltd Memory bus control method
JPH0581049A (en) * 1991-09-20 1993-04-02 Fujitsu Ltd Time management system for memory
CN1530799A (en) * 2003-03-14 2004-09-22 笙泉科技股份有限公司 Remote controller waveform learning device
US7389391B2 (en) * 2005-04-29 2008-06-17 Mediatek, Inc. Memory disposition methods and systems
JP4324803B2 (en) * 2005-07-14 2009-09-02 ソニー株式会社 Remote control transmitter
CN101452643B (en) * 2007-11-30 2010-12-08 无锡华润矽科微电子有限公司 Learning type infrared remote-controller
CN101458500A (en) * 2007-12-14 2009-06-17 上海海尔集成电路有限公司 Microcontroller
CN101571992B (en) * 2008-04-30 2011-04-13 杭州士兰微电子股份有限公司 Systems and method for testing remote controller
CN201725424U (en) * 2010-01-20 2011-01-26 深圳市磐创科技有限公司 Improved learning remote controller
CN201993906U (en) * 2010-12-24 2011-09-28 苏州华芯微电子股份有限公司 Remote encoding intelligent decoding system
CN102385796A (en) * 2011-12-14 2012-03-21 上海物鼎传感技术有限公司 Learning infrared remote control device based on wireless sensing network and method for realizing same

Also Published As

Publication number Publication date
CN105355032A (en) 2016-02-24

Similar Documents

Publication Publication Date Title
CN110442304A (en) Apparatus and method to perform sequential read operations
CN100446126C (en) Flash memory access using a plurality of command cycles
CN101506780B (en) Nonvolatile memory system, and data read/write method for nonvolatile memory system
KR101395778B1 (en) Memory card and memory system including the same and operating method thereof
CN105355032B (en) It is built-in can repeatedly programmable memory learning-oriented remote-control circuit structure and learning method
CN102096647A (en) Multi-chip memory system and related data transfer method
JP4936086B2 (en) Memory device distributed controller system
US20090198770A1 (en) System and method of updating codes in controller
US20120198131A1 (en) Data writing method for rewritable non-volatile memory, and memory controller and memory storage apparatus using the same
CN102662913A (en) Method and MCU (microcontroller unit) chip for improving storage performance of MCU
KR20080073544A (en) Memory card and memory system including it
US9558382B2 (en) Method for an acquisition of data from external digital sensors with an RFID smart tag and a tag integrated circuit for carrying out said method
KR100725271B1 (en) USB-SD storage device having a plurality of DMA channels and a storage method thereof
US9502118B2 (en) NAND memory addressing
CN101593556B (en) Method of programming non-volatile memory device
CN102103643A (en) Method for storing test vector during chip testing
TWI553642B (en) Methods for executing data access commands and flash memory devices using the same
CN202473263U (en) FLASH memorizer circuit supporting high erasing times
CN110113530B (en) Method and device for reconfiguring instruction chain of space infrared camera
CN110209433B (en) Method for identifying concentrators of different models
CN101853702A (en) Flash memory and method thereof for improving reading speed by using built-in self test
CN113836059B (en) Control system applied to EEPROM (electrically erasable programmable read-Only memory)
CN100523849C (en) Method for testing EFlash serial interface based on selective bit number
CN106356096B (en) Erasing and writing control method and circuit for nonvolatile memory
KR100388219B1 (en) Flash memory embeded one-chip micro controller unit

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 214135 -6, Linghu Avenue, Wuxi Taihu international science and Technology Park, Wuxi, Jiangsu, China, 180

Patentee after: China Resources micro integrated circuit (Wuxi) Co.,Ltd.

Address before: No.180-22, Linghu Avenue, Taihu International Science and Technology Park, Wuxi, Jiangsu 214135

Patentee before: WUXI CHINA RESOURCES SEMICO Co.,Ltd.

PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: The Structure and Learning Method of a Learning Type Remote Control Circuit with Built-in Programmable Memory

Effective date of registration: 20231008

Granted publication date: 20190604

Pledgee: Bank of China Limited Wuxi Branch

Pledgor: China Resources micro integrated circuit (Wuxi) Co.,Ltd.

Registration number: Y2023980060027

PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Granted publication date: 20190604

Pledgee: Bank of China Limited Wuxi Branch

Pledgor: China Resources micro integrated circuit (Wuxi) Co.,Ltd.

Registration number: Y2023980060027