Supercharge Your Innovation With Domain-Expert AI Agents!

Method for converting secure digital (SD) interface to serial peripheral interface (SPI), controller and embedded device

A technology of SPI interface and embedded device, which is applied in the direction of computer security device, instrument, input/output to record carrier, etc. It can solve the problems of complex circuit, complex circuit, high cost of controller, etc., and achieve the effect of reducing cost

Active Publication Date: 2012-06-27
SHENZHEN DAMAI TECH
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The controller of the embedded device has an SD interface and an SPI interface at the same time, which complicates the circuit, and at the same time realizes the circuit of the SD device with the SD interface and the WIFI module of the SPI interface is also very complicated, which causes the control of the embedded device and the embedded device higher cost

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for converting secure digital (SD) interface to serial peripheral interface (SPI), controller and embedded device
  • Method for converting secure digital (SD) interface to serial peripheral interface (SPI), controller and embedded device
  • Method for converting secure digital (SD) interface to serial peripheral interface (SPI), controller and embedded device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] The technical solution will be described in detail below in conjunction with specific embodiments and accompanying drawings.

[0037] Such as figure 1 Shown, in one embodiment, a kind of SD interface transfers the method for SPI interface, comprises the following steps:

[0038] Step S110, receiving an instruction.

[0039] Specifically, the instruction triggered by the user is received through the controller. The instruction can be a read / write instruction, or other instructions except the read / write instruction.

[0040] Step S120, judging whether the received command is a read / write command, if yes, execute step S130, if not, execute step S170.

[0041] In this embodiment, if the received command is a read / write command, the logical address of the read / write command and the preset logical address range of the read / write command to the SD device are obtained. Specifically, the read command can be the read block command CMD17 (read a single block) of the SD protoco...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a method for converting a secure digital (SD) interface to a serial peripheral interface (SPI), which includes the following steps: receiving instructions; judging whether the received instructions are reading / writing instructions, obtaining logical addresses of the reading / writing instructions and a preset logical address range of SD device reading / writing instructions on yes judgment result; and judging whether the logical addresses of the reading / writing instructions are in the preset logical address range of the SD device reading / writing instructions, and performing reading / writing operation on an SPI device according to the reading / writing instructions on no judgment result. In addition, a controller and an embedded device are provided. The method for converting the SD interface to the SPI, the controller and the embedded device achieve reading / writing operation on an SPI device through the SD interface, and cost is reduced due to the fact that merely the SD interface instead of the SPI is needed to be arranged on the controller.

Description

【Technical field】 [0001] The invention relates to the field of embedded technology, in particular to a method for converting an SD interface to an SPI interface, a controller and an embedded device. 【Background technique】 [0002] The SPI (Serial Peripheral Bus) bus is a synchronous serial peripheral interface, which allows the controller CPU to communicate and exchange information with various peripheral interface devices in a serial manner. The SPI bus has the characteristics of less interface lines and high communication efficiency. The SPI device has an SPI interface, for example, a WIFI (Wireless Fidelity, wireless fidelity) module often has an SPI interface. The SD (Secure Digital Memory Card) interface is a standard SD memory card interface protocol, and SD devices generally have an SD interface. [0003] On an embedded device, there is often a WIFI (Wireless Fidelity, wireless fidelity) module with an SPI interface and an SD device with an SD (Secure Digital Memory...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F3/06G06F21/00
Inventor 凌辉
Owner SHENZHEN DAMAI TECH
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More