找回密码
 立即注册

微信扫码登录

楼主: Rory

GPIO作为输出引脚,芯片进入休眠,引脚如何保持想要的电平值(如高电平)

[复制链接]

2

主题

13

回帖

92

积分

不屈白银

积分
92
发表于 2025-7-2 11:25:58 | 显示全部楼层 来自 广东中山
wes58 发表于 2025-7-2 10:30
No, you need only 1 additional pin because you can connect all latch-enable pins in ICs together an ...

Could I use SUSPEND mode instead?
I have tested the power consumption of SUSPEND mode, and it meets the requirements. Additionally, the device is able to maintain GPIO input and output in this mode.
However, the issue is that the device (8258) enters an abnormal state after running in SUSPEND mode for a while. Could you take a look at this post for more details?

13

主题

68

回帖

396

积分

流光翡翠

积分
396
发表于 2025-7-2 14:56:13 | 显示全部楼层 来自 澳大利亚
RedpenCat 发表于 2025-7-2 11:25
Could I use SUSPEND mode instead?
I have tested the power consumption of SUSPEND mode, and it meets ...

I think that Telink would be the best to help you with that. The only thing that I saw in the TLSR8258 datasheet is this:
In Suspend mode, MCU stalls, all SRAMs are still accessible, the PM module is active, modules
such as RF transceiver, Audio and USB are powered down
. The chip can be triggered to Active
mode by 32K Timer, IO pin or RESETB pin. It takes 100us or so to switch from Suspend mode to
Active mode.
“stall”: In Idle and Suspend mode, MCU does not work, while its clock is still running.

2

主题

13

回帖

92

积分

不屈白银

积分
92
发表于 2025-7-2 17:43:59 | 显示全部楼层 来自 广东中山
本帖最后由 RedpenCat 于 2025-7-2 17:46 编辑
wes58 发表于 2025-7-2 14:56
I think that Telink would be the best to help you with that. The only thing that I saw in the TLSR8 ...

Thank you for the help! I will consider using latches as a workaround if I'm not able to resolve the issue by modifying the firmware.
Wish I could receive tech help from Telink as soon as possible.

2

主题

13

回帖

92

积分

不屈白银

积分
92
发表于 2025-7-7 11:23:33 | 显示全部楼层 来自 广东中山
本帖最后由 RedpenCat 于 2025-7-7 13:42 编辑
wes58 发表于 2025-7-2 14:56
I think that Telink would be the best to help you with that. The only thing that I saw in the TLSR8 ...


Hi @wes58,

FYI, I'm using @TL_YB's method as a workaround by setting the internal pull-up or pull-down resistor:
if(level){
    gpio_setup_up_down_resistor(pin, PM_PIN_PULLUP_10K);
}else{
    gpio_setup_up_down_resistor(pin, PM_PIN_PULLDOWN_100K);
}


instead of writing directly to the register:
drv_gpio_write(pin, level);


13

主题

68

回帖

396

积分

流光翡翠

积分
396
发表于 2025-7-7 16:48:29 | 显示全部楼层 来自 澳大利亚
RedpenCat 发表于 2025-7-7 11:23
Hi @wes58,

FYI, I'm using @TL_YB's method as a workaround by setting the internal pull-up or pull ...

I saw your other post where you write that it is not enough to drive an LED.
I know that you are not going to like what I say, but what I would do in this case is to add a MOSFET transistor which you don't need much current to turn on and you can have your LED on.
But in the end I would go for the first option I told you before - it is much better. You can see in the datasheet of TLSR8258 what modules are turned off when you do any power saving modes, suspend etc. You can't change that.
Think about how much time you spent on this so far.
Wait for Telink response.
Good Luck.

2

主题

13

回帖

92

积分

不屈白银

积分
92
发表于 2025-7-7 17:31:52 | 显示全部楼层 来自 广东中山
本帖最后由 RedpenCat 于 2025-7-7 17:55 编辑
wes58 发表于 2025-7-7 16:48
I saw your other post where you write that it is not enough to drive an LED.
I know that you are n ...

Thank you for the response.
Currently, I'm only conducting a technical evaluation of Telink modules, rather than developing a complete product. It's acceptable to spend (or "waste") some extra time figuring out the issue related to the low power consumption mode.
The reason I prefer not to use a MOSFET transistor is that modifying the PCB would be troublesome in my situation. All the PCB project files (except for the schematics) related to existing Zigbee products belong to someone else, which means I would have to design the PCB from scratch.
Additionally, there are alternative solutions available. Even if Telink modules are not suitable for ZSED, I could still use them for ZC and ZR, while using Silabs modules for ZSED instead.
Thanks again for all your support so far - I really appreciate it.
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Telink forum ( 沪ICP备17008231号-1 )

GMT+8, 2025-7-15 07:46 , Processed in 0.088945 second(s), 18 queries .

Powered by Telink 隐私政策

泰凌微电子版权所有 © 。保留所有权利。 2024

快速回复 返回顶部 返回列表