Method for realizing SPI (Serial Peripheral Interface) bus communication between double processors of electro-hydraulic servo controller

The invention discloses a method for realizing SPI (Serial Peripheral Interface) bus communication between double processors of an electro-hydraulic servo controller. An STM32 microprocessor is provided with an STM32 state machine, and a DSP (Digital Signal Processor) microprocessor is provided with...

Full description

Saved in:
Bibliographic Details
Main Authors OUYANG QI, HUANG TAO, JIN YANG, YUAN KANG, CUI YUE, XU YONGLIN, YANG YAN, LUO HONGJIAN, HU SHU, YU DAIYU
Format Patent
LanguageChinese
English
Published 02.06.2023
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:The invention discloses a method for realizing SPI (Serial Peripheral Interface) bus communication between double processors of an electro-hydraulic servo controller. An STM32 microprocessor is provided with an STM32 state machine, and a DSP (Digital Signal Processor) microprocessor is provided with a DSP state machine; working state switching is coordinated through conversion of an STM32 state machine and a DSP state machine; comprising the following steps that A1, after an STM32 microprocessor receives an upper computer starting instruction, a DSP microprocessor is controlled to work through a flow control pin; a2, the STM32 microprocessor controls a DSP microprocessor to switch a DSP state machine to a data communication state through a command message; a3, the STM32 microprocessor obtains the sensor data collected by the DSP microprocessor; a4: STM32 microprocessor determining whether to receive upper computer stop instruction- If yes, turning to the step A5; if not, turning to the step A3; and A5, the ST
Bibliography:Application Number: CN202310214625