APB Serial Communication Device With Autonomous Shift Registers
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional serial communication systems require frequent interrupts from the master machine, leading to significant resource consumption.
Innovation Solution
A serial communication device with an APB interface, control module, transceiving enable module, shift register module, and interrupt generating module that allows data transmission without frequent interrupts, using shift enable signals and controlled interrupt requests.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If frequent interrupts are used for data transmission in conventional serial communication systems, then data transmission control is achieved, but master machine resource consumption increases significantly
Solution Approach 1:
The patent introduces a serial communication device as an intermediary component between the master machine and slave machine. This device includes a shift register module that autonomously handles serial data transmission and reception, an interrupt generating module that manages interrupt requests, and a control module that coordinates operations. By offloading the serial communication tasks to this intermediary device, the master machine is freed from frequent interrupt handling while maintaining precise control over data transmission.
2Adaptability or versatility
If the master machine handles serial communication directly through GPIO, then communication control is maintained, but the master machine must frequently respond to interrupts consuming resources
Solution Approach 1:
The patent segments the serial communication function from the master machine by creating a dedicated serial communication device with separate functional modules. The shift register module handles data shifting, the interrupt generating module manages interrupt requests, and the control module coordinates operations. This segmentation allows the master machine to maintain adaptability and control through the APB interface while the specialized device handles the time-consuming interrupt response tasks independently.
Data Source
Figure 1~2
Figure 3~4
Figure 5~6
AI summary
The present disclosure provides a serial communication device. The device includes: a first interface module communicatively coupled to an advanced bus of a master machine, a second interface module communicatively coupled to a data interface of a slave machine, a control module, a transceiving enable module, a shift register module and an interrupt generating module. The shift register module acquires through the first interface module data to write that is sent by a master machine, and serially shifts out the data to write when a shift enable signal is valid, the serial data that is shifted out being sent to a slave machine through the second interface module; and the shift register module acquires through the second interface module serial data that is uploaded by the slave machine, serially shifts in the serial data when the shift enable signal is valid, and obtains data to read according to the serial data that is shifted in, the data to read being uploaded to the master machine through the first interface module. The present disclosure can save resources consumed during serial communication of the master machine.