A kind of wake-up method of serial port controller and microcontroller system based on it
A technology of microcontrollers and controllers, which is applied in the direction of program control in sequence/logic controllers, general control systems, control/regulation systems, etc., can solve problems such as large system power consumption, and achieve the effect of reducing system power consumption
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0044] figure 1 It is a flow chart of the method for waking up the microcontroller system based on the serial port controller provided by Embodiment 1 of the present invention. Such as figure 1 As shown, the wake-up method includes:
[0045] Step 101, in the low power consumption mode, determine whether a frame start marker is detected. If a start-of-frame marker is detected, perform the following steps:
[0046] In this step, the frame start marker is detected in real time, and the frame start marker may be a falling edge signal. In the process of detecting the frame start mark, there is no need to use the serial port working clock.
[0047] Step 102, turn on the clock switch circuit to generate the working clock of the serial port.
[0048] In this step, a working clock of the serial port is generated to be able to receive the current data frame.
[0049] Step 103, receiving the current data frame.
[0050] In this step, the current data frame corresponding to the det...
Embodiment 2
[0066] figure 2 It is a structural diagram of the serial port controller provided by Embodiment 2 of the present invention. The serial port controller provided in Embodiment 2 of the present invention can implement the wake-up method described in Embodiment 1 of the present invention. Such as figure 2 As shown, the serial port controller includes: configuration register 201, frame start detection circuit 202, data frame receiving circuit 203, received frame content analysis circuit 204 and clock switch circuit 205, frame start detection circuit 202 is connected with clock switch circuit 205, receives The frame content analysis circuit 204 is connected to the configuration register 201 and the data frame receiving circuit 203 respectively.
[0067] The configuration register 201 is used to store wake-up frames.
[0068] Preferably, the configuration register 201 can also be connected to the system bus 206 in the microcontroller system through the bus interface, and configu...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


