-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PSM switch seem to often crash and "announced itself" after several presses #292
Comments
@Flavien Hi. Did you test it with the constant power supply or using a battery? Sometimes, long activity of a device (several clicks) may temporarily decrease battery voltage lower than 2.2V and the device reboots. |
I am using two AAA alkaline batteries. I haven't manage to reproduce this on constant power supply. Do you think it would be more stable using AAA lithium batteries instead? |
Try to add a tantalum capacitor of 220 mf in parallel with your battery. I may help to smooth the wake-up phase. |
Thank you for the advice, I will get some capacitors and try it. Also, I am not sure if this is related but I'm also seeing lots of errors like
This seem to sometimes cause delayed responses. Why is it happening and how to prevent it? |
@Flavien The PSM device cannot receive commands when it sleeps (radio is turned off). |
Thanks, that's what I thought. This happens after pressing the button, so would that be resolved by enabling "Wait for commands after a report in PSM"? |
After spending more time looking into this, I don't believe this is caused by the voltage drop, this looks more like a bug in the PSM firmware @ptvoinfo . I've monitored the voltage during the wake up phase (using new batteries). The voltage does drop a little bit, but stays above 3.1V at all times, so that should not cause the device to reset (yet it does). Any idea what could be happening, or how we could get more debug information to find out? |
I have a simple switch configured with PSM (simple battery-powered CC2530 board). After pressing the switch a few times in quick succession, the switch seem to often crash and restart, as the logs below show:
I believe
Device 'bedroom/switch' announced itself
means that the switch just restarted itself.While the device is restarting, it is unresponsive for 4-5 seconds.
This is the config:
Any idea what could be causing that?
The text was updated successfully, but these errors were encountered: