CN107179999A - A kind of USB flash disk read-write controller design based on single-chip microcomputer and CH375 - Google Patents
A kind of USB flash disk read-write controller design based on single-chip microcomputer and CH375 Download PDFInfo
- Publication number
- CN107179999A CN107179999A CN201610130436.1A CN201610130436A CN107179999A CN 107179999 A CN107179999 A CN 107179999A CN 201610130436 A CN201610130436 A CN 201610130436A CN 107179999 A CN107179999 A CN 107179999A
- Authority
- CN
- China
- Prior art keywords
- chip microcomputer
- flash disk
- usb flash
- usb
- chip
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/14—Handling requests for interconnection or transfer
- G06F13/16—Handling requests for interconnection or transfer for access to memory bus
- G06F13/1605—Handling requests for interconnection or transfer for access to memory bus based on arbitration
- G06F13/1652—Handling requests for interconnection or transfer for access to memory bus based on arbitration in a multiprocessor architecture
- G06F13/1663—Access to shared memory
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Systems (AREA)
Abstract
The present invention relates to USB flash disk technical field, and in particular to a kind of USB flash disk read-write controller design based on single-chip microcomputer and CH375.USB flash disk read-write controller based on single-chip microcomputer and CH375 applies the parts such as single-chip microcomputer STC12C5A60AD, CH375 interface circuit, serial port level chance-over circuit, LED display circuit, keyboard input module, power module, USB module, RS232 modules.The design describes a kind of common interface chip CH375 of usb bus, and proposes basic skills and its hardware connection method of a kind of external microcontroller read-write USB flash disk on this basis.As long as single-chip microcomputer increases by 1 CH375 chip in former hardware system can just directly invoke the subroutine library of CH375 offers to directly read the data in USB flash disk, it is achieved thereby that the communication of common single-chip microcomputer and USB flash disk, method is simple, be easy to operation, integrated cost than relatively low, with larger application value.
Description
Technical field
The present invention relates to singlechip technology field, and in particular to a kind of U based on single-chip microcomputer and CH375
Disk read-write controller is designed.
Background technology
With the fast development of computer technology, the use of USB storage device is very extensive,
With improving and ripe for USB, all kinds of of USB peripheral are enriched constantly, and application field is also continuous
Expand.In traditional application, USB is mainly the role that PC plays main frame.According to USB's
Specification, it can be seen that core status is occupied in USB topological structure is main frame, each time data transfer
It must be initiated and be controlled by main frame.But as the development of singlechip technology, and single chip application are led
Domain it is growing, the application of USB peripheral also expands therewith, is that this is realized pair in SCM system
USB peripheral control also becomes increasingly urgent.In the equipment that especially needs unloading data at some, instrument
Offer can use the interface of USB mobile storages to become to be highly desirable to.
The content of the invention
The present invention relates to the technical field of system administration, and in particular to one kind is based on single-chip microcomputer and CH375
USB flash disk read-write controller design.USB flash disk read-write controller based on single-chip microcomputer and CH375 applies list
Piece machine STC12C5A60AD, CH375 interface circuit, serial port level chance-over circuit, LED display electricity
The parts such as road, keyboard input module, power module, USB module, RS232 modules.The design is situated between
Continued the common interface chip CH375 of usb bus a kind of, and proposes on this basis outside one kind
The basic skills of single-chip microcomputer read-write USB flash disk and its hardware connection method.As long as single-chip microcomputer is in former hardware system
1 CH375 chip of middle increase can just directly invoke the subroutine library of CH375 offers to directly read
Data in USB flash disk, it is achieved thereby that the communication of common single-chip microcomputer and USB flash disk, method is simple, be easy to behaviour
Work, integrated cost are than relatively low, with larger application value.
Brief description of the drawings
Fig. 1:Controller design system block diagram.
Fig. 2:The internal frame diagram of STC12C5A60S2 series monolithics
Fig. 3:Power circuit
Fig. 4:CH375 circuits
Fig. 5:Serial port circuit
Fig. 6:Key circuit
Fig. 7:Display circuit
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, below in conjunction with accompanying drawing
And embodiment, the present invention will be described in further detail.It should be appreciated that described herein specific
Implement only to explain the present invention, be not intended to limit the present invention.
A kind of USB flash disk read-write controller design based on single-chip microcomputer and CH375, it is characterised in that be based on
Single-chip microcomputer and CH375 USB flash disk read-write controller apply single-chip microcomputer STC12C5A60AD, CH375
Interface circuit, serial port level chance-over circuit, LED display circuit, keyboard input module, power module,
The parts such as USB module, RS232 modules.The design describes a kind of general-purpose interface core of usb bus
Piece CH375, and propose on this basis a kind of external microcontroller read-write USB flash disk basic skills and its
Hardware connection method.Just can be straight as long as single-chip microcomputer increases by 1 CH375 chip in former hardware system
Connect and call the subroutine library of CH375 offers to directly read the data in USB flash disk, it is achieved thereby that commonly
The communication of single-chip microcomputer and USB flash disk, method is simple, be easy to operation, integrated cost than relatively low, with larger
Application value.
A kind of USB flash disk read-write controller design based on single-chip microcomputer and CH375, it is characterised in that monolithic
Machine STC12C5A60AD is high speed, low-power consumption, superpower jamproof 8051 single-chip microcomputer of new generation,
Instruction code completely compatible traditional 8051.And I/O mouthfuls of numbers are more than AT89S51.
A kind of USB flash disk read-write controller design based on single-chip microcomputer and CH375, it is characterised in that USB
The common interface chip CH375 of bus have 8 bit data bus and reading and writing, piece select control line and
Interrupt output, can easily be articulated to the system bus of the controllers such as single-chip microcomputer DSP/MCU/MPU
On.As long as single-chip microcomputer increases by 1 CH375 chip in former hardware system can just directly invoke
The subroutine library that CH375 is provided directly reads the data in USB flash disk, it is achieved thereby that common single-chip microcomputer
With the communication of USB flash disk.
A kind of USB flash disk read-write controller design based on single-chip microcomputer and CH375, it is characterised in that electricity
Source module it is reliable and stable be system even running premise and basis.Power supply mould in this minimum system
The power supply of block is supplied using the 5V power supply modules of external stabilization.Power supply has been accessed in power circuit to refer to
It is LED current-limiting resistance to show D1, R40.
A kind of USB flash disk read-write controller design based on single-chip microcomputer and CH375, it is characterised in that with
The common interface chip CH375 of usb bus is core, supports the controlling transmission of USB device, criticizes
Amount transmission, the circuit for interrupting transmission.Single-chip microcomputer STC12C5A60AD passes through correlation by CH375
Usb protocol very easily can be attached with other USB devices.
A kind of USB flash disk read-write controller design based on single-chip microcomputer and CH375, it is characterised in that logical
LED is crossed to show the operation to USB flash disk.But, this display is unintelligible, in order to preferably show
Operation to USB flash disk, single-chip microcomputer and computer display screen can be connected, pass through by serial port circuit
LED shows the content in USB flash disk.
A kind of USB flash disk read-write controller design based on single-chip microcomputer and CH375, it is characterised in that
Central processing unit (CPU), program storage (Flash), data are included in STC12C5A60S2 single-chip microcomputers
Memory (SRAM), Timer/Counter, UART serial ports, serial ports 2, I/O interfaces, high-speed a/d
The module such as R/C oscillators and external crystal oscillating circuit in conversion, SPI interface, PCA and piece.
STC12C5A60S2 series monolithics almost contain all units needed for data acquisition and control
Module, can deserve to be called an on-chip system.
The preferred embodiment of patent of the present invention is the foregoing is only, is not intended to limit the invention specially
Profit, all any modifications, equivalent substitutions and improvements made within the spirit and principle of patent of the present invention
Deng within the protection domain that should be included in patent of the present invention.
Claims (7)
1. a kind of USB flash disk read-write controller design based on single-chip microcomputer and CH375, it is characterised in that:
USB flash disk read-write controller based on single-chip microcomputer and CH375 apply single-chip microcomputer STC12C5A60AD,
CH375 interface circuits, serial port level chance-over circuit, LED display circuit, keyboard input module, electricity
The parts such as source module, USB module, RS232 modules.The design describes a kind of the logical of usb bus
Interface chip CH375 is used, and proposes a kind of the basic of external microcontroller read-write USB flash disk on this basis
Method and its hardware connection method.As long as single-chip microcomputer increases by 1 CH375 chip in former hardware system
The subroutine library of CH375 offers can just be directly invoked to directly read the data in USB flash disk, so that real
Show the communication of common single-chip microcomputer and USB flash disk, method is simple, be easy to operation, integrated cost than relatively low,
With larger application value.
2. a kind of USB flash disk Read-write Catrol based on single-chip microcomputer and CH375 according to claim 1
Device is designed, it is characterised in that single-chip microcomputer STC12C5A60AD is high speed, low-power consumption, superpower anti-done
8051 single-chip microcomputer of new generation disturbed, instruction code completely compatible traditional 8051, and I/O mouthfuls of number ratios
AT89S51 is more.
3. a kind of USB flash disk Read-write Catrol based on single-chip microcomputer and CH375 according to claim 1
Device is designed, it is characterised in that the common interface chip CH375 of usb bus has 8 bit data bus
Control line and interrupt output are selected with reading and writing, piece, single-chip microcomputer can be easily articulated to
On the system bus of the controllers such as DSP/MCU/MPU.As long as single-chip microcomputer increases by 1 in former hardware system
Individual CH375 chips can just directly invoke the subroutine library of CH375 offers to directly read in USB flash disk
Data, it is achieved thereby that the communication of common single-chip microcomputer and USB flash disk.
4. a kind of USB flash disk Read-write Catrol based on single-chip microcomputer and CH375 according to claim 1
Device design, it is characterised in that power module it is reliable and stable be system even running premise and basis.
The power supply of power module in this minimum system is supplied using the 5V power supply modules of external stabilization.Electricity
It is LED current-limiting resistance that power supply instruction D1, R40 have been accessed in source circuit.
5. a kind of USB flash disk Read-write Catrol based on single-chip microcomputer and CH375 according to claim 1
Device is designed, it is characterised in that the common interface chip CH375 using usb bus is supported as core
The controlling transmission of USB device, bulk transfer, the circuit for interrupting transmission.Single-chip microcomputer STC12C5A60AD
Very easily it can be attached by CH375 by related usb protocol with other USB devices.
6. a kind of USB flash disk Read-write Catrol based on single-chip microcomputer and CH375 according to claim 1
Device is designed, it is characterised in that the operation to USB flash disk is shown by LED.But, this display
It is unintelligible, can be by serial port circuit by single-chip microcomputer and electricity in order to preferably show the operation to USB flash disk
Brain display screen is connected, and the content in USB flash disk is shown by LED.
7. a kind of USB flash disk Read-write Catrol based on single-chip microcomputer and CH375 according to claim 2
Device is designed, it is characterised in that STC12C5A60S2 single-chip microcomputers include central processing unit (CPU), program
Memory (FlaSh), data storage (SRAM), Timer/Counter, UART serial ports, serial ports 2,
R/C oscillators and external crystal shake in I/O interfaces, high-speed a/d conversion, SPI interface, PCA and piece
Swing the modules such as circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610130436.1A CN107179999A (en) | 2016-03-09 | 2016-03-09 | A kind of USB flash disk read-write controller design based on single-chip microcomputer and CH375 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610130436.1A CN107179999A (en) | 2016-03-09 | 2016-03-09 | A kind of USB flash disk read-write controller design based on single-chip microcomputer and CH375 |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107179999A true CN107179999A (en) | 2017-09-19 |
Family
ID=59829528
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610130436.1A Pending CN107179999A (en) | 2016-03-09 | 2016-03-09 | A kind of USB flash disk read-write controller design based on single-chip microcomputer and CH375 |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107179999A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160357692A1 (en) * | 2013-11-20 | 2016-12-08 | Feitian Technologies Co., Ltd | Recognition method communication mode |
-
2016
- 2016-03-09 CN CN201610130436.1A patent/CN107179999A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160357692A1 (en) * | 2013-11-20 | 2016-12-08 | Feitian Technologies Co., Ltd | Recognition method communication mode |
US10169276B2 (en) * | 2013-11-20 | 2019-01-01 | Feitian Technologies Co., Ltd. | Detecting a communication mode via interruptions |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Mehta | ESP8266: A Breakthrough in wireless sensor networks and internet of things | |
CN102156515B (en) | Embedded developing board having strong expansibility | |
CN103293995B (en) | Based on the fieldbus communications module of microcontroller | |
CN203405756U (en) | Embedded mainboard | |
CN203520080U (en) | Real-time controller of universal frequency converter | |
CN102854962B (en) | MPC8280 minimum system applying CPLD (complex programmable logic device) and state switching method for setting hard reset configuration words | |
CN104391770A (en) | Online debugging and upper computer communication module of SOC (system-on-chip) chip for embedded data security system | |
CN201438269U (en) | Motion control main board, motion control board and motion controller | |
CN107179999A (en) | A kind of USB flash disk read-write controller design based on single-chip microcomputer and CH375 | |
CN202563497U (en) | Communication interface for Flash-Net animation game | |
WO2019068050A1 (en) | Mechanism to enter or exit retention level voltage while a system-on-a-chip is in low power mode | |
CN201984784U (en) | LED (light-emitting diode) image-text screen control card circuit | |
CN207558328U (en) | A kind of TFT liquid crystal serial ports display | |
CN104038551A (en) | Local and remote management system based on Loongson 2H and management method thereof | |
CN204706031U (en) | Serial peripheral equipment interface SPI bus circuit and electronic equipment | |
CN104298486B (en) | A kind of randomizer of embedded data security system SOC | |
CN202563319U (en) | Novel industrial data acquisition system | |
CN106648033A (en) | Low-power-consumption microcontroller SOC | |
CN201804329U (en) | USB interface hardware device based on ARM (advanced risc machines) microprocessor | |
CN206441163U (en) | A kind of low-power consumption microcontroller based on OTP | |
CN102542872A (en) | Driving system based on embedded development platform | |
CN207704233U (en) | A kind of SCM Based digital control circuit module | |
CN2763043Y (en) | Pneumatic marking device | |
CN202758313U (en) | Framework of power supply electric power data communication multi-mainboard | |
CN201685534U (en) | Control circuit of printer |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20170919 |
|
WD01 | Invention patent application deemed withdrawn after publication |