Check patentability & draft patents in minutes with Patsnap Eureka AI!

DMA (direct memory access)-based SPI (serial peripheral interface) data transmission method and DMA-based SPI data transmission device

A data transmission method and data transmission technology, applied in the field of DMA-based SPI data transmission method and device, can solve problems such as reducing system efficiency, affecting loading efficiency, and affecting reliability of data code transmission, so as to improve system transmission efficiency and enhance The effect of enhanced reliability and configurable features

Inactive Publication Date: 2012-07-11
SLICONGO MICROELECTRONICS INC
View PDF2 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The current common method includes using NAND FLASH / NOR FLASH to load the startup program. By loading the startup program, the MCU (MicroControllerUnit, microcontroller) controls the loading process, due to a large number of interrupt loads of the CPU (Central Processing Unit, central processing unit) And interrupt processing affects the loading efficiency, further reduces the system efficiency, and also affects the reliability of data code transmission

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
  • DMA (direct memory access)-based SPI (serial peripheral interface) data transmission method and DMA-based SPI data transmission device
  • DMA (direct memory access)-based SPI (serial peripheral interface) data transmission method and DMA-based SPI data transmission device
  • DMA (direct memory access)-based SPI (serial peripheral interface) data transmission method and DMA-based SPI data transmission device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The solution of the embodiment of the present invention mainly introduces the DMA mechanism and adopts the SPI serial bus to enhance the reliability of boot loader transmission and improve the system efficiency.

[0027] Such as figure 1 As shown, an embodiment of the present invention proposes a kind of SPI data transmission method based on DMA, comprises:

[0028] Step S101, configuring a DMA controller for SPI;

[0029] As mentioned above, in an embedded system, when the system is powered on, it is necessary to initialize the hardware device and complete the memory space mapping through the SPI boot loader, so that the system enters a suitable software and hardware environment. The boot loader is usually written in some solid-state storage devices in the system, such as ROM or Flash. The existing NAND FLASH / NOR FLASH loading boot loader method affects the loading efficiency and the reliability of data code transmission due to a large number of interrupt loads and i...

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 DMA (direct memory access)-based SPI (serial peripheral interface) data transmission method and a DMA-based SPI data transmission device. The method includes the steps: configuring a DMA controller for an SPI; and loading / downloading bootstrap program codes by means of SPI data transmission between an external memory device and an RAM (random access memory) through the DMA controller. By means of introducing a DMA mechanism and combining an SPI serial bus, when the bootstrap program codes are loaded / downloaded, the DMA controller controls data to be directly transmitted, and control power of an MCU (microcontroller unit) is released during data transmission, so that accuracy and continuous reading / writing of a bootstrap program are guaranteed, transmission reliability of the bootstrap program is enhanced, and systematic transmission efficiency is improved. The method is capable of flexibly supporting various communication protocols based on the SPI by means of DMA and is compatible with program code constitutions of different types, so that configurability of the systematic data transmission is enhanced.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a DMA (Direct Memory Access, Direct Memory Access)-based SPI (Serial Peripheral Interface, Serial Peripheral Interface) data transmission method and device for loading / or starting program codes. Background technique [0002] At present, in an embedded system, when the system is powered on, it is necessary to boot the loader to initialize the hardware device and complete the memory space mapping, so that the system enters a suitable software and hardware environment. The boot loader is usually written in some solid-state storage devices in the system, such as ROM (Read-Only Memory, read-only memory) or Flash (Flash Memory, flash memory). Therefore, reliable and error-free data exchange is required between the solid-state storage device and RAM (random access memory, random access memory). [0003] The current general method includes using NAND FLASH / NOR FLASH to load th...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F13/28G06F9/445
Inventor 刘京芝
Owner SLICONGO MICROELECTRONICS INC
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