littleshrimp
Online
|
This post is from ST - Low Power RF
Comments
Well, in fact, I tested that removing GPIO_ToggleBits() will also change. The premise is that you configure it to output high level before while (1). Then there will be a change. I suspect that the problem is caused by the internal configuration of the pin to the state before sleep after waking up from sleep.
Details
Published on 2019-8-20 17:51
| |
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
|
||
|
22
Published on 2019-8-20 17:51
Only look at the author
This post is from ST - Low Power RF
Comments
If io6 is set high before entering while, the chip will output a high level after waking up, and will become high impedance after entering sleep (displaying a low level when measured). This is logical.
Details
Published on 2019-8-20 18:00
| ||
|
||
|
littleshrimp
Online
|
This post is from ST - Low Power RF
Comments
Well, it is logical, but the level signal will be pulled down for 2-3ms during the wake-up configuration process. I used an oscilloscope to observe the amplified waveform. It outputs a low level first and then configures it to a high level during the configuration process. So if these pins are connected to something like a common anode LED in the product, the broadcast
Details
Published on 2019-8-20 21:12
| |
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
|
||
|
24
Published on 2019-8-20 21:12
Only look at the author
This post is from ST - Low Power RF
Comments
OK, I'll try connecting a resistor tomorrow.
Details
Published on 2019-8-21 14:08
OK, I'll try connecting a resistor tomorrow.
Details
Published on 2019-8-20 22:09
| ||
|
||
|
littleshrimp
Online
|
This post is from ST - Low Power RF
| |
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
|
||
|
littleshrimp
Online
|
This post is from ST - Low Power RF
| |
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
|
||
|
27
Published on 2019-8-21 16:09
Only look at the author
This post is from ST - Low Power RF
Comments
This is only possible if you add i/o flip in while. If you don't add it, it will always remain at a high level and the problem you encountered will not occur. If you change the i/o flip to the following, set the high level before sleep and change it to a low level after waking up, you can see that it will wake up 4 times in a short time every second.
Details
Published on 2019-8-21 16:31
| ||
|
||
|
littleshrimp
Online
|
This post is from ST - Low Power RF
Comments
OK, thanks for the recent help. We have modified a version of the circuit board, and now it is fine. The power consumption is about 6ua if there is no broadcast in sleep mode, and about 16ua once per second. We will ask the ST manufacturer about the problem of automatic IO configuration when the broadcast wakes up, and see if they have any reply, and then post it.
Details
Published on 2019-8-23 17:04
| |
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
|
||
|
29
Published on 2019-8-23 17:04
Only look at the author
This post is from ST - Low Power RF
| ||
|
||
|
EEWorld Datasheet Technical Support
EEWorld
subscription
account
EEWorld
service
account
Automotive
development
circle
About Us Customer Service Contact Information Datasheet Sitemap LatestNews
Room 1530, Zhongguancun MOOC Times Building, Block B, 18 Zhongguancun Street, Haidian District, Beijing 100190, China Tel:(010)82350740 Postcode:100190