CN107291655A - A kind of SoC bootstrapping IP circuits of band APB EBIs - Google Patents

A kind of SoC bootstrapping IP circuits of band APB EBIs Download PDF

Info

Publication number
CN107291655A
CN107291655A CN201710446920.XA CN201710446920A CN107291655A CN 107291655 A CN107291655 A CN 107291655A CN 201710446920 A CN201710446920 A CN 201710446920A CN 107291655 A CN107291655 A CN 107291655A
Authority
CN
China
Prior art keywords
apb
flash
interface
soc
ebis
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.)
Granted
Application number
CN201710446920.XA
Other languages
Chinese (zh)
Other versions
CN107291655B (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.)
Anhui North Microelectronics Research Institute Group Co ltd
Original Assignee
North Electronic Research Institute Anhui 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 North Electronic Research Institute Anhui Co., Ltd. filed Critical North Electronic Research Institute Anhui Co., Ltd.
Priority to CN201710446920.XA priority Critical patent/CN107291655B/en
Publication of CN107291655A publication Critical patent/CN107291655A/en
Application granted granted Critical
Publication of CN107291655B publication Critical patent/CN107291655B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/76Architectures of general purpose stored program computers
    • G06F15/78Architectures of general purpose stored program computers comprising a single central processing unit
    • G06F15/7807System on chip, i.e. computer system on a single chip; System in package, i.e. computer system on one or more chips in a single package
    • 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/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Information Transfer Systems (AREA)

Abstract

The invention discloses a kind of SoC of band APB EBIs bootstrapping IP circuits, including QSPI serial interface controllers, APB conversion logics interface and Flash conversion logic interfaces;Address wire, write data line, read data line, write signal and the read signal of the QSPI serial interface controller control ends of standard are converted to by APB bus interface signals by APB conversion logics interface;QSPI serial interface controller external interfaces clock, piece are selected by Flash conversion logics interface, data are sent and data receiver is converted to Flash interface signals.Realize that SoC chip is booted using the IP, inside directly can be connected by APB buses, and outside can be directly connected to serial Flash, easy to use without controlling QSPI to be connected with Flash by peripheral control unit.

Description

A kind of SoC bootstrapping IP circuits of band APB EBIs
Technical field
Realized the invention belongs to IP design fields in semiconductor integrated circuit, more particularly to using QSPI methods to SoC certainly Lift, design a kind of IP application specific integrated circuits of band APB EBIs.
Background technology
Bootstrapping is exactly the program automatic running loading that piece outer flash storage is will be stored in when SoC chip starts The process of program register in piece, bootstrapping is the first step of SoC chip normal work, and the success or not of bootstrapping determines whole Can individual system running environment normally build.Current SoC chip typically uses SPI(Serial Peripheral Interface)Or QSPI (Quad Serial Peripheral Interface) external flash storage is booted, SPI It is a kind of serial interface bus that Motorola is proposed, it is a kind of high speed, full duplex, synchronous communication bus, outside Have four ports, but SPI only have all the way serial line interface enter row data communication, transmission rate is slow, and QSPI is that four roads are serial Interface, transmission rate is four times of SPI, and SoC chip is more and more booted using the external Flash devices of QSPI. After electricity in SoC chip, by QSPI external interfaces, automatic moving data is loaded into SoC pieces from outside flash storage. QSPI external interfaces are clock ss_clk, piece selects ss_oe [3:0], data send ss_txd [3:0] and data receiver ss_rxd [3:0], serial Flash external interface is data input DI, data output DO, writes comprising WP and keep signal HOLD.It can see Go out, QSPI interface signals can not be joined directly together with flash storage, also need to be controlled by peripheral control unit, using very Inconvenience.
The content of the invention
The technical problems to be solved by the invention are to overcome defect of the prior art there is provided a kind of with APB EBIs SoC bootstrapping IP circuits, it is not necessary to by peripheral control unit control QSPI be connected with Flash, it is easy to use.
In order to solve the above technical problems, the present invention provides a kind of SoC bootstrapping IP circuits of band APB EBIs, its feature It is, including QSPI serial interface controllers, APB conversion logics interface and Flash conversion logic interfaces;
By APB conversion logics interface by the address wire address [7 of the QSPI serial interface controller control ends of standard:0]、 Write data line wdata [7:0], read data line rdata [7:0], write signal write and read signal read are converted to APB buses and connect Message number;
QSPI serial interface controller external interface clocks ss_clk, piece are selected by ss_oe [3 by Flash conversion logics interface: 0], data send ss_txd [3:0] and data receiver ss_rxd [3:0] Flash interface signals are converted to.
QSPI serial interface controllers are joined directly together by APB EBIs with SoC internal bus, pass through Flash interfaces Directly connect with serial Flash.
The output clock ss_clk of QSPI serial interface controllers is connected to the clock end of Flash conversion logic interfaces SCLK, piece selects ss_oe according to logic control conversion output to chip selection cs end, and data send ss_txd and data receiver ss_rxd and pressed Agreement according to Flash interfaces is respectively connecting to bidirectional interface data input DI, data output DO, writes comprising WP and keeps signal HOLD, and distribute order of the four figures according to line and Flash interfaces.
APB bus interface signals include clock input PCLK, reset input PRESETN, write signal input PWRITE, enable Control input PENABLE, bus selection input PSEL, write data bus input PWDATA [31:0], write address bus is inputted PADDR[7:0] and read data bus output PRDATA [31:0].
Flash interface signals include data input DI, data output DO, write comprising WP and keep signal HOLD.
Erasable, programming or reading operation are carried out to serial Flash by the Flash conversion logics interface,
Dual and Quad SPI Flash are directly conducted interviews operation by the Flash conversion logics interface.
The beneficial effect that the present invention is reached:
A kind of SoC bootstrapping IP circuits with APB (Advanced Peripheral Bus) EBI of present invention design, APB is total Line is one of AMBA bus structures that ARM companies propose, turns into a kind of on-chip bus structure of standard at present.The IP electricity of design Road is connected using QSPI serial line interfaces as core, internally with SoC is designed as conventional APB EBIs, is externally connected with Flash Conventional serial Flash interface is calculated as, the Flash chip of such as GigaDevice companies, Winbond companies can be joined directly together. Realize that SoC chip is booted using the IP, inside directly can be connected by APB buses, and outside can be directly connected to serially Flash, and no longer need to control QSPI with Flash to be connected by peripheral control unit, it is easy to use.
Brief description of the drawings
Fig. 1 is APB EBI transition diagrams;
Fig. 2 is Flash interface conversion figures;
Fig. 3 is the SoC bootstrapping IP circuits with APB EBIs.
Embodiment
The invention will be further described below in conjunction with the accompanying drawings.Following examples are only used for clearly illustrating the present invention Technical scheme, and can not be limited the scope of the invention with this.
As shown in Figure 1, Figure 2 and Figure 3, a kind of SoC bootstrapping IP circuits of band APB EBIs of present invention design, IP electricity Road is using QSPI serial interface controllers as core, and external interface has standard APB EBIs:Clock input PCLK, reset input PRESETN, write signal input PWRITE, enable control input PENABLE, bus selection input PSEL, write data bus input PWDATA[31:0], write address bus input PADDR [7:0], read data bus output PRDATA [31:0], APB buses are passed through It can be joined directly together with SoC internal bus.The interface being externally connected in addition with serial Flash has data input DI, data output DO, write comprising WP and keep signal HOLD, directly can be connected by serial Flash interface with serial Flash, without any turn Change control.
Because the QSPI control ends of standard only have address wire address [7:0], write data line wdata [7:0] data, are read Line rdata [7:0], write signal write, read signal read, it is impossible to be directly joined directly together with SoC bus on chips, therefore these are believed The APB bus interface signals of standard number are converted to, mainly according to APB bus protocols by input data, write enable signal, output number According to etc. be respectively converted into QSPI the corresponding interface signals.As shown in Figure 1.
In addition, QSPI external interfaces are clock ss_clk, piece selects ss_oe [3:0], data send ss_txd [3:0] sum According to reception ss_rxd [3:0], if with serial Flash to connect, need to carry out conversion and control.In this patent, first will QSPI outputs clock ss_clk is connected to the clock end SCLK of Flash circuits, and QSPI piece then is selected into ss_oe according to logic control System conversion output sends agreements of the ss_txd and data receiver ss_rxd according to Flash interfaces to chip selection cs end, and by data Bidirectional interface data input DI, data output DO are respectively connecting to, writes comprising WP and keeps signal HOLD, and distributes four figures evidence The order of line and Flash interfaces.As shown in Figure 2.
QSPI is a four SPI controllers, Dual or Quad SPI Flash devices can be conducted interviews, In this patent, by adding APB conversion logics interface and Flash conversion logic Interface Controllers, using can be with during the IP circuits Directly it is connected with SoC internal bus, directly can connects during external connection Flash devices with serial Flash, without any turn Control is changed, the operation such as erasable, programming, reading can be directly carried out to Flash devices, and to Dual and Quad SPI Flash devices Part all can directly conduct interviews operation.As shown in Figure 3.
Described above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, without departing from the technical principles of the invention, some improvement and deformation can also be made, these improve and deformed Also it should be regarded as protection scope of the present invention.

Claims (7)

1. a kind of SoC bootstrapping IP circuits of band APB EBIs, it is characterized in that, including QSPI serial interface controllers, APB turns Change logic interfacing and Flash conversion logic interfaces;
By APB conversion logics interface by the address wire address [7 of the QSPI serial interface controller control ends of standard:0]、 Write data line wdata [7:0], read data line rdata [7:0], write signal write and read signal read are converted to APB buses and connect Message number;
QSPI serial interface controller external interface clocks ss_clk, piece are selected by ss_oe [3 by Flash conversion logics interface: 0], data send ss_txd [3:0] and data receiver ss_rxd [3:0] Flash interface signals are converted to.
2. the SoC bootstrapping IP circuits of band APB EBIs according to claim 1, it is characterized in that, QSPI serial line interface controls Device processed is joined directly together by APB EBIs with SoC internal bus, is directly connected by Flash interfaces with serial Flash.
3. the SoC bootstrapping IP circuits of band APB EBIs according to claim 1, it is characterized in that, QSPI serial line interface controls The output clock ss_clk of device processed is connected to the clock end SCLK of Flash conversion logic interfaces, and piece selects ss_oe according to logic control Conversion output to chip selection cs end, data send ss_txd and are connected respectively according to the agreement of Flash interfaces with data receiver ss_rxd To bidirectional interface data input DI, data output DO, write comprising WP and holding signal HOLD, and distribute four figures according to line and Flash The order of interface.
4. the SoC bootstrapping IP circuits of band APB EBIs according to claim 1, it is characterized in that, APB EBIs letter Number include clock input PCLK, reset input PRESETN, write signal input PWRITE, enable control input PENABLE, bus Selection input PSEL, write data bus input PWDATA [31:0], write address bus input PADDR [7:0] and read data bus Export PRDATA [31:0].
5. the SoC bootstrapping IP circuits of band APB EBIs according to claim 1, it is characterized in that, Flash interface signals Including data input DI, data output DO, write comprising WP and holding signal HOLD.
6. the SoC bootstrapping IP circuits of band APB EBIs according to claim 1, it is characterized in that, pass through the Flash Conversion logic interface carries out erasable, programming or reading operation to serial Flash.
7. the SoC bootstrapping IP circuits of band APB EBIs according to claim 1, it is characterized in that, pass through the Flash Conversion logic interface directly conducts interviews operation to Dual and Quad SPI Flash.
CN201710446920.XA 2017-06-14 2017-06-14 SoC bootstrap IP circuit with APB bus interface Active CN107291655B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710446920.XA CN107291655B (en) 2017-06-14 2017-06-14 SoC bootstrap IP circuit with APB bus interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710446920.XA CN107291655B (en) 2017-06-14 2017-06-14 SoC bootstrap IP circuit with APB bus interface

Publications (2)

Publication Number Publication Date
CN107291655A true CN107291655A (en) 2017-10-24
CN107291655B CN107291655B (en) 2020-10-09

Family

ID=60096428

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710446920.XA Active CN107291655B (en) 2017-06-14 2017-06-14 SoC bootstrap IP circuit with APB bus interface

Country Status (1)

Country Link
CN (1) CN107291655B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111506529A (en) * 2020-06-30 2020-08-07 深圳市芯天下技术有限公司 High-speed SPI instruction response circuit applied to F L ASH
CN111897749A (en) * 2020-06-23 2020-11-06 中国船舶重工集团公司第七0七研究所 Quad-SPI (Serial peripheral interface) controller and externally-extended FLASH communication control system and method
WO2021089303A1 (en) * 2019-11-05 2021-05-14 Shenzhen GOODIX Technology Co., Ltd. Protocol translator module system and method using said protocol translator module system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101000597A (en) * 2007-01-17 2007-07-18 中山大学 IP kernel of embedded Java processor based on AMBA
CN202331441U (en) * 2011-11-17 2012-07-11 成都可为科技发展有限公司 FPGA-based expanded serial port
CN102968396A (en) * 2012-10-30 2013-03-13 北京华芯微特科技有限公司 Special data transmission module from flash chip to static random access memory (SRAM) chip
CN103354977A (en) * 2011-01-13 2013-10-16 吉林克斯公司 Extending a processor system within an integrated circuit
CN104462013A (en) * 2014-06-26 2015-03-25 深圳奥比中光科技有限公司 ASIC chip system special for optical three-dimensional sensing
CN105320637A (en) * 2015-10-23 2016-02-10 西安中科晶像光电科技有限公司 FLASH data read circuit
CN106374893A (en) * 2016-09-22 2017-02-01 北方电子研究院安徽有限公司 Configurable PWM wave generating circuit of universal dead zone in embedded SoC system
CN206224997U (en) * 2016-11-09 2017-06-06 华南理工大学 A kind of speech recognition Soc chip architectures

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101000597A (en) * 2007-01-17 2007-07-18 中山大学 IP kernel of embedded Java processor based on AMBA
CN103354977A (en) * 2011-01-13 2013-10-16 吉林克斯公司 Extending a processor system within an integrated circuit
CN202331441U (en) * 2011-11-17 2012-07-11 成都可为科技发展有限公司 FPGA-based expanded serial port
CN102968396A (en) * 2012-10-30 2013-03-13 北京华芯微特科技有限公司 Special data transmission module from flash chip to static random access memory (SRAM) chip
CN104462013A (en) * 2014-06-26 2015-03-25 深圳奥比中光科技有限公司 ASIC chip system special for optical three-dimensional sensing
US20170124014A1 (en) * 2014-06-26 2017-05-04 Shenzhen Orbbec Co., Ltd. Asic chip system dedicated for optical three-dimensional sensing
CN105320637A (en) * 2015-10-23 2016-02-10 西安中科晶像光电科技有限公司 FLASH data read circuit
CN106374893A (en) * 2016-09-22 2017-02-01 北方电子研究院安徽有限公司 Configurable PWM wave generating circuit of universal dead zone in embedded SoC system
CN206224997U (en) * 2016-11-09 2017-06-06 华南理工大学 A kind of speech recognition Soc chip architectures

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021089303A1 (en) * 2019-11-05 2021-05-14 Shenzhen GOODIX Technology Co., Ltd. Protocol translator module system and method using said protocol translator module system
CN114641763A (en) * 2019-11-05 2022-06-17 深圳市汇顶科技股份有限公司 Protocol converter module system and method for using the same
CN114641763B (en) * 2019-11-05 2024-04-19 深圳市汇顶科技股份有限公司 Protocol converter module system and method for using the same
CN111897749A (en) * 2020-06-23 2020-11-06 中国船舶重工集团公司第七0七研究所 Quad-SPI (Serial peripheral interface) controller and externally-extended FLASH communication control system and method
CN111506529A (en) * 2020-06-30 2020-08-07 深圳市芯天下技术有限公司 High-speed SPI instruction response circuit applied to F L ASH

Also Published As

Publication number Publication date
CN107291655B (en) 2020-10-09

Similar Documents

Publication Publication Date Title
CN106874224B (en) Multi-line SPI-Flash controller capable of automatically carrying and adapting to device
CN103500154B (en) A kind of serial bus interface chip, serial bus transmission system and method
CN101256544B (en) Method, apparatus and system for expansion of inside integrated circuit bus
CN111008171B (en) Communication IP circuit with serial FLASH interface control
CN107291655A (en) A kind of SoC bootstrapping IP circuits of band APB EBIs
CN107015927A (en) A kind of device based on the multiple SPI interface standard groups of SoC supports
CN107911391A (en) A kind of AXI protocol based on FPGA and the method for SPI protocol conversion
KR101679333B1 (en) Method, apparatus and system for single-ended communication of transaction layer packets
CN101820450A (en) The device of the method that parallel interface connects and this method of use
CN103034515A (en) Satellite navigation receiver FPGA (Field Programmable Gate Array) rapid loading method
CN201328123Y (en) Protocol conversion card
CN105892359A (en) Multi-DSP parallel processing system and method
CN109634901A (en) A kind of data transmission system and its control method based on UART
CN105573947B (en) A kind of SD/MMC card control methods based on APB buses
CN206757602U (en) A kind of device that multiple SPI interface standard groups are supported based on SoC
CN103346801A (en) Distribution type deserializing control structure and control method
CN219574799U (en) Multi-bus bridge based on AMBA bus and system on chip thereof
CN209690908U (en) A kind of SPI serial ports based on FPGA turns the structure of the parallel port EBC
US7689763B2 (en) Method and system for reducing pin count in an integrated circuit when interfacing to a memory
CN204515761U (en) SOC (system on a chip)
CN103064817A (en) Simplified two-line serial data bus transport method
CN107608927B (en) Design method of LPC bus host port supporting full function
CN106919343A (en) Perimeter interface circuit and Perimeter memory system
CN106445879B (en) A kind of SoC devices
CN105550133A (en) AXIS-FIFO bridge circuit based on ZYNQ and data transmission method using same

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 233040 No.10 Caiyuan Road, Bengbu City, Anhui Province

Patentee after: Anhui North Microelectronics Research Institute Group Co.,Ltd.

Address before: 233040 No.10 Caiyuan Road, Bengbu City, Anhui Province

Patentee before: NORTH ELECTRON RESEARCH INSTITUTE ANHUI Co.,Ltd.

CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 233040 No.10 Caiyuan Road, Bengbu City, Anhui Province

Patentee after: Anhui North Microelectronics Research Institute Group Co.,Ltd.

Address before: 233040 No.10 Caiyuan Road, Bengbu City, Anhui Province

Patentee before: NORTH ELECTRON RESEARCH INSTITUTE ANHUI Co.,Ltd.