CN104636306B - A kind of SCM Based RFFE host device interfaces transplantation device and method - Google Patents

A kind of SCM Based RFFE host device interfaces transplantation device and method Download PDF

Info

Publication number
CN104636306B
CN104636306B CN201510104198.2A CN201510104198A CN104636306B CN 104636306 B CN104636306 B CN 104636306B CN 201510104198 A CN201510104198 A CN 201510104198A CN 104636306 B CN104636306 B CN 104636306B
Authority
CN
China
Prior art keywords
rffe
communication
interface
interfaces
unit
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
CN201510104198.2A
Other languages
Chinese (zh)
Other versions
CN104636306A (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.)
Jiangsu Liankang Information Co.,Ltd.
Original Assignee
Jiangsu Lian Kang Electronics 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 Jiangsu Lian Kang Electronics Co Ltd filed Critical Jiangsu Lian Kang Electronics Co Ltd
Priority to CN201510104198.2A priority Critical patent/CN104636306B/en
Publication of CN104636306A publication Critical patent/CN104636306A/en
Application granted granted Critical
Publication of CN104636306B publication Critical patent/CN104636306B/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/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Communication Control (AREA)
  • Executing Machine-Instructions (AREA)

Abstract

The invention discloses a kind of SCM Based RFFE host device interfaces transplantation device and method, it uses the clock that the tick interrupt of common single-chip microcomputer communicates as RFFE, RFFE underlying protocols are write with standard ANSI C languages, it will be packaged by software with RFFE agreement relevant portions, and protocol analysis part has software to be simulated completely, therefore this method can realize that RFFE is communicated in almost all of single-chip microcomputer, it also simplify the transplanting between different platform, therefore this method can utilize the method for common microcomputer development RFFE host device interfaces to can be very good to substitute special RFIC, there is reduction testing cost, configuration is flexible, easily debugging, the advantages that conveniently extending other functions.

Description

A kind of SCM Based RFFE host device interfaces transplantation device and method
Technical field
The present invention relates to a kind of RFFE host device interfaces development device, more particularly to a kind of SCM Based RFFE master to set Standby interface transplantation device and method, belong to communication electronics technical field.
Background technology
With increasing rapidly for smart mobile phone, mobile phone complexity is also lifted increasingly.In addition, WLAN, bluetooth, the whole world Alignment system, FM receiver and other wireless connecting functions also increase the complexity of Mobile Communications.What these were continuously added Wireless standard has constructed a kind of demand to that can cover the multi radio solution of 10 or more frequency ranges.Therefore, it is required Radio-frequency front-end quantity also increase.For mobile-phone manufacturers, these complicated equipment can be well controlled to turn into one big Problem.
Therefore, MIPI alliances are proposed a kind of radio-frequency front-end(RFFE)Interface, the purpose is to provide one kind for radio-frequency front-end Consistent control method, so as to which required encapsulation pin and circuit board wiring is greatly decreased.Key property includes:
The all types of RF front ends of-control;
- support point-to-multipoint;
- multimode/multifrequency and multiple antennas;
- it is up to 15 slave units per bus;
- general controls interface;
In RFFE standards, RFIC is the main equipment of interface, can be communicated with most 15 slave units.
General RFIC is that semiconductor manufacturer customizes according to RFFE standards, and the chip with RFFE hardware interfaces, shortcoming is kind Class is few, and cost is high, and debugging difficulty is big, and flexibility ratio is low, and function is few.
The content of the invention
The technical problems to be solved by the invention are to provide for the deficiency of background technology and a kind of a kind of be based on single-chip microcomputer RFFE host device interfaces transplantation device and method.
The present invention uses following technical scheme to solve above-mentioned technical problem:
A kind of SCM Based RFFE host device interfaces transplantation device, include I O layer, driving layer and application layer, the IO Layer includes clock signal unit, register, interrupt vector unit, timer and communication interface, and the driving layer connects comprising communication Mouth, RFFE protocol analysis unit, RFFE communication units, the application layer includes data transceiving unit and signal designation control is single Member;
Wherein, clock signal unit, for carrying out the frequency dividing of clock frequency according to the requirement of communication frequency;
Register, for instructing, data and address it is temporary;
Interrupt vector unit, for forming the entry address of corresponding interrupt service routine, depositing interrupt service routine First address;
Timer;Record for the time;
Communication interface, for being connected with host computer and other communication apparatus;
RFFE protocol analysis units, for being packaged to RFFE agreements;
RFFE communication units, for the reception and transmission to RFFE protocol datas;
Data transceiving unit, reception and transmission for RFFE protocol datas;
Signal designation control unit, for reading or writing data to RFFE slave units.
It is described as a kind of further preferred scheme of SCM Based RFFE host device interfaces transplantation device of the present invention Communication interface includes at least one of USB, UART, IIC, SPI, CAN.
As a kind of further preferred scheme of SCM Based RFFE host device interfaces transplantation device of the present invention, deposit The model 74HC595DR2G of device.
It is described as a kind of further preferred scheme of SCM Based RFFE host device interfaces transplantation device of the present invention Timer uses 555 timers.
It is described as a kind of further preferred scheme of SCM Based RFFE host device interfaces transplantation device of the present invention Clock signal unit uses YZ-9820 clock units.
A kind of method of SCM Based RFFE host device interfaces transplanting, is specifically comprised the following steps:
Step 1, RFFE communication frequencies as needed, calculate and internal dominant frequency is divided and then show that RFFE leads to The clock of news;
Step 2, according to MIPI RFFE agreements, universal input/output interface is driven by way of software simulation, is edited soft Part realizes the communication identification code of bottom, and open rational api interface is used for software application layer calling;
Step 3, interface general exploitation USB, UART, IIC, SPI, CAN, external equipment can pass through these general-purpose interfaces To control RFFE interfaces, realize the purpose of control RFFE slave units according to the command calls RFFE interface functions of parsing.
The present invention compared with prior art, has following technique effect using above technical scheme:
1. the clock that the present invention communicates by the use of the tick interrupt of common single-chip microcomputer as RFFE, is write with standard ANSI C languages RFFE underlying protocols, it will be packaged by software with RFFE agreement relevant portions, and there is software protocol analysis part completely Simulated, therefore this method can realize that RFFE is communicated in almost all of single-chip microcomputer, also simplify between different platform Transplanting;
2. the present invention can be very good to substitute specially using the method for common microcomputer development RFFE host device interfaces RFIC, there is reduction testing cost, configuration is flexible, and easily debugging, conveniently extends other functions.
Brief description of the drawings
Fig. 1 is that the USB/UART/IIC/SPI/CAN of the present invention turns the software architecture diagram of RFFE converters;
Fig. 2 is that the USB/UART/IIC/SPI/CAN of the present invention turns the software flow pattern of RFFE converters.
Embodiment
Technical scheme is described in further detail below in conjunction with the accompanying drawings:
As shown in figure 1, a kind of SCM Based RFFE host device interfaces transplantation device, comprising I O layer, driving layer and is answered With layer, the I O layer includes clock signal unit, register, interrupt vector unit, timer and communication interface, the driving layer Comprising communication interface, RFFE protocol analysis unit, RFFE communication units, the application layer includes data transceiving unit and signal refers to Show control unit;
Wherein, clock signal unit, for carrying out the frequency dividing of clock frequency according to the requirement of communication frequency;
Register, for instructing, data and address it is temporary;
Interrupt vector unit, for forming the entry address of corresponding interrupt service routine, depositing interrupt service routine First address;
Timer;Record for the time;
Communication interface, for being connected with host computer and other communication apparatus;
RFFE protocol analysis units, for being packaged to RFFE agreements;
RFFE communication units, for the reception and transmission to RFFE protocol datas;
Data transceiving unit, reception and transmission for RFFE protocol datas;
Signal designation control unit, for reading or writing data to RFFE slave units.
Wherein, the communication interface includes at least one of USB, UART, IIC, SPI, CAN, the model of register 74HC595DR2G, the timer use 555 timers, and the clock signal unit uses YZ-9820 clock units.
As shown in Fig. 2 a kind of method of SCM Based RFFE host device interfaces transplanting, is specifically comprised the following steps:
Step 1, RFFE communication frequencies as needed, calculate and internal dominant frequency is divided and then show that RFFE leads to The clock of news;
Step 2, according to MIPI RFFE agreements, universal input/output interface is driven by way of software simulation, is edited soft Part realizes the communication identification code of bottom, and open rational api interface is used for software application layer calling;
Step 3, interface general exploitation USB, UART, IIC, SPI, CAN, external equipment can pass through these general-purpose interfaces To control RFFE interfaces, realize the purpose of control RFFE slave units according to the command calls RFFE interface functions of parsing.
Flow chart as shown in Figure 2, a single-chip microcomputer is first selected, Singlechip clock etc. is initialized, reinitialized RFFE modules, the order sent according to interfaces such as USB carry out RFFE communications, read or write data to RFFE slave units, and will The data read feed back to the upper computer equipments such as terminal by interfaces such as USB.
Embodiment is as follows:
1st, Singlechip clock is initialized;
2nd, RFFE modules are initialized;
3rd, the order for waiting the interfaces such as USB to send;
4th, the order that the interfaces such as USB are sent is parsed;
5th, according to the command calls corresponding RF FE interface functions of parsing;
6th, read or write data to RFFE slave units;
7th, the data read are returned by interfaces such as USB;
8th, the order for waiting the interfaces such as next USB to send;
It is i.e. applicable that the registers such as bottom tick interrupt need to be only changed according to different single-chip microcomputers in above-described embodiment, herein Not illustrated in greater detail.
Software development principle:
1st, I O layer is needs modification part when transplant for different single-chip microcomputers, mainly including basic port and register, when Clock signal, interrupt vector, USB/UART/IIC/SPI/CAN, timer etc..Particularly, exported after system clock is divided The clock that clock will communicate as RFFE, the clock frequency are communication frequency, need to change according to the requirement of different communication frequencies Divide multiple.
2nd, driving layer is related to the programmings such as the communication such as some USB/UART/IIC/SPI/CAN, RFFE communications.Wherein, USB/ UART/IIC/SPI/CAN can use one or more interfaces according to actual conditions, for being communicated with host computer or other equipment, Receive order or transmission data;RFFE communications are RFFE protocol analysis part, are herein packaged RFFE agreements, to application layer Function interface is provided, calls tick interrupt to enter line command transmission, carries out data transmission simultaneously.
Application layer carries out the exploitation of application program according to the interface function of driving layer, including transmits data, letter with host computer Number instruction control etc..
The present invention cleverly uses the clock that the tick interrupt of common single-chip microcomputer communicates as RFFE, with standard ANSI C languages Speech writes RFFE underlying protocols, will be packaged by software with RFFE agreement relevant portions, and protocol analysis part has completely Software is simulated, therefore this method can realize that RFFE is communicated in almost all of single-chip microcomputer, also simplify in difference Transplanting between platform, therefore this method can utilize the method for common microcomputer development RFFE host device interfaces to can be very good to replace For special RFIC, there is reduction testing cost, configuration is flexible, easily debugging, the advantages that conveniently extending other functions.
Although this specification with reference to above-mentioned each embodiment to present invention has been detailed description, ability Domain it is to be appreciated by one skilled in the art that still can be modified to the present invention or equivalent substitution;And all do not depart from this hair The technical scheme of bright spirit and scope and its improvement, it all should cover in scope of the presently claimed invention.

Claims (2)

1. a kind of SCM Based RFFE host device interfaces transplantation device, exist comprising I O layer, driving layer and application layer, its feature In:The I O layer includes clock signal unit, register, interrupt vector unit, timer and communication interface, the driving layer bag Containing communication interface, RFFE protocol analysis unit, RFFE communication units, the application layer includes data transceiving unit and signal designation Control unit;
Wherein, clock signal unit, for carrying out the frequency dividing of clock frequency according to the requirement of communication frequency;
Register, for instructing, data and address it is temporary;
Interrupt vector unit, for the first ground for forming the entry address of corresponding interrupt service routine, depositing interrupt service routine Location;
Timer;Record for the time;
Communication interface, for being connected with host computer and other communication apparatus;
RFFE protocol analysis units, for being packaged to RFFE agreements;
RFFE communication units, for the reception and transmission to RFFE protocol datas;
Data transceiving unit, reception and transmission for RFFE protocol datas;
Signal designation control unit, for reading or writing data to RFFE slave units;
The communication interface includes at least one of USB, UART, IIC, SPI, CAN, the model of register 74HC595DR2G.The timer uses 555 timers, and the clock signal unit uses YZ-9820 clock units.
2. the method for the transplanting based on a kind of SCM Based RFFE host device interfaces transplantation device described in claim 1, It is characterized in that:Specifically comprise the following steps:
Step 1, RFFE communication frequencies as needed, calculate and internal dominant frequency is divided and then draws RFFE communications Clock;
Step 2, according to MIPI RFFE agreements, universal input/output interface, software for editing are driven by way of software simulation To realize the communication identification code of bottom, and open rational api interface calls for software application layer;
Step 3, interface general exploitation USB, UART, IIC, SPI, CAN, external equipment can be controlled by these general-purpose interfaces RFFE interfaces processed, according to the command calls RFFE interface functions of parsing.
CN201510104198.2A 2015-03-10 2015-03-10 A kind of SCM Based RFFE host device interfaces transplantation device and method Active CN104636306B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510104198.2A CN104636306B (en) 2015-03-10 2015-03-10 A kind of SCM Based RFFE host device interfaces transplantation device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510104198.2A CN104636306B (en) 2015-03-10 2015-03-10 A kind of SCM Based RFFE host device interfaces transplantation device and method

Publications (2)

Publication Number Publication Date
CN104636306A CN104636306A (en) 2015-05-20
CN104636306B true CN104636306B (en) 2018-02-16

Family

ID=53215079

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510104198.2A Active CN104636306B (en) 2015-03-10 2015-03-10 A kind of SCM Based RFFE host device interfaces transplantation device and method

Country Status (1)

Country Link
CN (1) CN104636306B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106294905B (en) * 2015-06-01 2021-07-06 鸿富锦精密电子(郑州)有限公司 Printed circuit board wiring system and method
CN106941484A (en) * 2017-01-23 2017-07-11 斑马信息科技有限公司 The multi-chip communication protocol system and its method of internet automobile
CN108933841A (en) * 2017-05-27 2018-12-04 嘉兴鹏武电子科技有限公司 A kind of control method and device of radio-frequency front-end equipment
CN111338761B (en) * 2020-02-28 2023-10-03 深圳航天科技创新研究院 51 single-chip microcomputer virtual interrupt controller and implementation method
CN114244909B (en) * 2021-12-16 2023-05-02 深圳飞骧科技股份有限公司 Protocol conversion circuit and related device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103226536A (en) * 2012-01-30 2013-07-31 英飞凌科技股份有限公司 System and method for a bus interface
CN103235961A (en) * 2013-04-27 2013-08-07 无锡昶达信息技术有限公司 Base band control chip and ultrahigh frequency radio-frequency identification read-write device
CN203217599U (en) * 2013-04-27 2013-09-25 无锡昶达信息技术有限公司 Baseband control chip and UHF radio frequency read-write device
CN104348510A (en) * 2013-08-08 2015-02-11 中兴通讯股份有限公司 Control information transceiving device and method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8565811B2 (en) * 2009-08-04 2013-10-22 Microsoft Corporation Software-defined radio using multi-core processor
US20110136439A1 (en) * 2009-12-04 2011-06-09 Microsoft Corporation Analyzing Wireless Technologies Based On Software-Defined Radio

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103226536A (en) * 2012-01-30 2013-07-31 英飞凌科技股份有限公司 System and method for a bus interface
CN103235961A (en) * 2013-04-27 2013-08-07 无锡昶达信息技术有限公司 Base band control chip and ultrahigh frequency radio-frequency identification read-write device
CN203217599U (en) * 2013-04-27 2013-09-25 无锡昶达信息技术有限公司 Baseband control chip and UHF radio frequency read-write device
CN104348510A (en) * 2013-08-08 2015-02-11 中兴通讯股份有限公司 Control information transceiving device and method

Also Published As

Publication number Publication date
CN104636306A (en) 2015-05-20

Similar Documents

Publication Publication Date Title
CN104636306B (en) A kind of SCM Based RFFE host device interfaces transplantation device and method
CN101937414B (en) Method and device of sharing minitype USB interface for UART (Universal Asynchronous Receive/Transmitter) and USB (Universal Serial Bus)
CN108370338A (en) Optimal stand-by period packetizer finite state machine for information receiving and input/output passing interface
CN102665302B (en) A kind of wireless communication system
CN101931674A (en) Method and device for sharing Micro-USB interface
CN102421207A (en) Compatible design method of various kinds of mobile communication systems of mobile terminal and mobile terminal
CN101820460B (en) Module for realizing SPI interface
CN103294635A (en) Modem component processing core and integrated circuit based on software communication architecture (SCA)
CN106844275A (en) Data transmission method and device
CN102694582A (en) Wireless data card and wireless data card communication method
CN103024012B (en) Data interactive method between computer and intelligent terminal modem
CN108933841A (en) A kind of control method and device of radio-frequency front-end equipment
CN103488598B (en) A kind of multimode terminal and realize USB share method
CN203167288U (en) Internet of Things gateway development platform facing heterogeneous network environments
CN101505163B (en) Telephone functional module for mobile terminal
CN106339348A (en) Data transmission method and device based on mobile terminal interface extension
CN201210753Y (en) Data line for connecting peripheral device by double mode mobile terminal
CN207557927U (en) A kind of instrument and hand-held software upgrading tool
CN206363306U (en) A kind of terminal and its serial communication circuit
CN101998691B (en) Method, system and device for data transmission
CN104699644B (en) A method of driving NFC modules under Android platform
CN109725621A (en) A kind of secondary bus program based on 1553B bus and CAN bus is in line writing method
CN201663637U (en) Interface of multi-mode terminal radio frequency chip and baseband chip
CN213813918U (en) Automatic test system for USB Type-C slave interface test
CN209216131U (en) A kind of electronic tag base station and electronic labelling system

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

Address after: 223700 East District of Siyang Economic Development Zone, Suqian City, Jiangsu Province (No. 29 Zhuhai Road)

Patentee after: Jiangsu Liankang Information Co.,Ltd.

Address before: 223700 No. 29, Zhuhai Road, Siyang County, Suqian City, Jiangsu Province

Patentee before: JIANGSU LIANKANG ELECTRONICS Co.,Ltd.

CP03 Change of name, title or address