Abstract

Normally, the computer reads, writes and other control operations on the M2 board through the UART protocol. Our goal is to achieve control of the M2 board through the SPI protocol. The specific implementation is to use an M2 board (Master M2) as an intermediary to achieve control of the target M2 board (Slave M2). The communication between the user computer and the Master M2 still uses the UART protocol. The SPI protocol is used between the Master M2 and the Slave M2. The read/write and other operations of the Slave M2 board no longer need to occupy the UART resources of the user's computer, which eliminates the inconvenience of connecting two computers at the same time. In the case where data transmission is required for multiple M2 boards at the same time, a solution for improving efficiency and reducing cost is provided.

Details

Title
SPI Implementation Based on M2e Microprocessor
Author
Zhang, Haifan; Ye, Fei
Section
Circuit Simulation, Electric Modules and Displacement Sensor
Publication year
2018
Publication date
2018
Publisher
EDP Sciences
ISSN
22747214
e-ISSN
2261236X
Source type
Conference Paper
Language of publication
English
ProQuest document ID
2487995260
Copyright
© 2018. This work is licensed under http://creativecommons.org/licenses/by/4.0 (the “License”). Notwithstanding the ProQuest Terms and conditions, you may use this content in accordance with the terms of the License.