Absolute value encoder communication method and system based on spi
A technology of absolute value encoder and communication method, applied in transmission systems, digital transmission systems, synchronous information channels, etc., can solve problems such as fast time, inability to check data error costs, etc., to improve efficiency and reliability, and reduce hardware. Cost of use, ease of error detection, and effect of retransmission
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0035] Such as figure 1 , figure 2 As shown, the present embodiment is a spi-based absolute encoder communication method, and the specific process is:
[0036] S1. The encoder sequentially receives the clock signal sent by the SPI interface of the MCU host;
[0037] S2. The encoder starts to encode the data to be transmitted according to the rising edge or falling edge of each clock signal, and frames the encoded data in groups of eight bytes to obtain several data frames;
[0038] S3. The encoder sends each byte in each data frame to the MCU host sequentially, and each byte includes 8-bit data;
[0039] S4. Repeat S1-S3 until the data to be transmitted is sent.
[0040] Such as figure 2 As shown, when the encoder sends data frames in sequence, it needs to wait for the frame interval time Tm between adjacent data frames before continuing to send the next data frame. During the interval between two data frames, the encoder can The status of the data frame transmission is...
Embodiment 2
[0055] Such as image 3 As shown, Embodiment 2 provides an spi-based absolute encoder communication system, including an absolute encoder and an MCU host, and the absolute encoder includes an encoding module, a framing module, and a sending unit, wherein the The encoding module encodes the data to be transmitted from the rising edge or falling edge of each clock signal according to the clock signal received from the MCU host;
[0056] The framing module carries out framing according to the data encoded by the encoding module in groups of eight bytes to obtain several data frames;
[0057] The sending unit sequentially sends each byte in each data frame to the MCU host in turn, and needs to wait for the frame interval time between adjacent data frames before continuing to send the next data frame.
[0058] The absolute value encoder also includes a check unit, which calculates the transmission time required for the end of the data frame transmission by calculating the baud rat...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com