Skip to content
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

CountDown lasting over one second? #235

Open
AlyoshaVasilieva opened this issue Nov 20, 2020 · 1 comment
Open

CountDown lasting over one second? #235

AlyoshaVasilieva opened this issue Nov 20, 2020 · 1 comment

Comments

@AlyoshaVasilieva
Copy link
Contributor

I'm writing an embedded-hal driver for interfacing with Espressif ESP-AT firmware over UART. ESP-AT in some circumstances will cease responding to commands, so I need a timeout in my driver to know when something has gone wrong. But ESP-AT deals with wifi and HTTP, so some commands can take over one second to send any response. The timers in this HAL only support 1Hz at the slowest. Is this a HAL or hardware limitation?

@David-OConnor
Copy link

HAL limitation. Patch the HAL, or use raw pointers to set the ARR and PSC registers of the timer you're using.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants