Method for achieving UART (universal asynchronous receiver/transmitter) communication interfaces through software simulation
A communication interface and software simulation technology, which is applied in the direction of electrical components, electrical digital data processing, transmission systems, etc., can solve the problems of consuming system resources, failing to achieve full-duplex data sending and receiving communication mode, and acquisition misalignment, so as to reduce system resources The effect of loss, improvement of product competitiveness, and reduction of product cost
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0043] The present invention will be further described in conjunction with the accompanying drawings and specific embodiments.
[0044] The method of the invention simulates a UART communication interface and only needs one timer, two I / O ports and one software interrupt. Simulating multiple UART communication interfaces can share a timer and a software interrupt. Therefore, every time a UART communication interface is expanded, only 2 I / O ports need to be added.
[0045] Among them, the role of the timer is to use the timer timing interrupt function to provide accurate baud rate timing. Considering that multiple UART communication interfaces share a timer and the communication baud rate may be different, the timing interval of the timer (T_TIMER) is set to the bit duration of the highest baud rate among multiple UART communication interfaces 1 / 2. The timer interrupt frequency (F_TIMER) is only twice the maximum baud rate, reducing the timer interrupt frequency and reducing ...
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