-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
nRF52: UARTE lacks pm interface #12501
Comments
So, if this is actually the case (which it seems like), in my mind it should be assigned very high priority because UART_1 is virtually unusable for nRF52 in its current state. I'd be happy to assist with the fix, but would like Nordic to comment first. |
@tautologyclub I think either @jarz-nordic or @pizi-nordic can comment on this |
Looking at the HAL, it sort of looks like this would be very easy by using
and getting p_reg from
from Is this the general idea? |
@tautologyclub : UART and UARTE SHIM has been prepared by me at the same time. I had internall discussion about the approach and we decided that UARTE SHIM is multiinsance while UART SHIM is not. |
Regarding power management for UARTE we will try to prepare a fix for that shortly. |
@jarz-nordic Thanks, that's great. Are we talking days, weeks or months? |
@tautologyclub : Once new UART API is merged I hope to have it in next 2-3 weeks. |
Any news? |
@jarz-nordic any update on this? |
I noticed that
drivers/serial/uart_nrfx_uarte.c
doesn't initialize the power management callbacks, but it does for regular UART. However, when inspectingdrivers/serial/uart_nrfx_uart.c
more closely, you actually catch a bunch of hardcoded references to uart0, which leads me to believe that it's impossible to suspend uart1 under the current API.Am I missing something here?
The text was updated successfully, but these errors were encountered: