-
Notifications
You must be signed in to change notification settings - Fork 3k
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
STM32G4: UART5 IRQ not working #15265
Comments
cc @ARMmbed/team-st-mcd |
Many thanks @jeromecoutant for stepping into this, the PR changes are exacly the same i did last week locally, but unfortunately UART5 IRQ is not working |
All changes....? :-( |
Except the part with |
Could you check with? |
I changed it at mbed-os/targets/TARGET_STM/TARGET_STM32G4/STM32Cube_FW/STM32G4xx_HAL_Driver/stm32g4xx_hal_rcc_ex.c Line 273 in decc6d0
|
I don't think that current code is calling the part you mentioned. |
Silly me, i have checked out the yesterday PR and also did HSI change in one go, that is the reason |
Description of defect
When using
UnbufferedSerial
on UART5, irq is never called, so i looked at the https://github.com/ARMmbed/mbed-os/blob/master/targets/TARGET_STM/TARGET_STM32G4/serial_device.c and i discovered that there is no UART5 support so i simply added following, but still no success. Reading the serial "classic" way inmain()
works.On USART1 irq works as expected.
to the top
in
serial_irq_set()
and to
serial_get_irq_n()
Is there anything else that needs to be done in order to get irq on UART5 working?
Target(s) affected by this defect ?
STM32G4 specifically G484VE
Toolchain(s) (name and version) displaying this defect ?
GCC ARM 9.3.1
What version of Mbed-os are you using (tag or sha) ?
99cb885
What version(s) of tools are you using. List all that apply (E.g. mbed-cli)
mbed-cli 1.10.1
How is this defect reproduced ?
The text was updated successfully, but these errors were encountered: