Method for realizing data storage of SPI (Serial Peripheral Interface) based on Mcbsp of DSP (Digital Signal Processor)
The invention discloses a data storage method for realizing an SPI (Serial Peripheral Interface) based on an Mcbsp of a DSP (Digital Signal Processor). A main control chip DSP28335 and a data storage chip EEPROM (Electrically Erasable Programmable Read-Only Memory) are included. By configuring each...
Gespeichert in:
Hauptverfasser: | , , , , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a data storage method for realizing an SPI (Serial Peripheral Interface) based on an Mcbsp of a DSP (Digital Signal Processor). A main control chip DSP28335 and a data storage chip EEPROM (Electrically Erasable Programmable Read-Only Memory) are included. By configuring each control register of an Mcbsp module of the DSP28335, the function of an SPI interface is realized, the Mcbsp is used as a master device, the EEPROM is used as a slave device, control parameters of a servo control system are stored in the EEPROM, and data read-back and verification are completed. The Mcbsp module is configured to be in an SPI mode, data reading and writing of the EEPROM are completed, the Mcbsp module can achieve the basic function of the SPI and has higher flexibility, and EEPROM data storage is safe and reliable and high in universality.
本发明公开了一种基于DSP的Mcbsp实现SPI接口的数据存储方法,包含主控芯片DSP28335和数据存储芯片EEPROM。通过配置DSP28335的Mcbsp模块的各控制寄存器,使其实现SPI接口功能,Mcbsp为主设备,EEPROM为从设备,完成将伺服控制系统的控制参数存储到EEPROM中,并完成数据回读和校验。本发明 |
---|