software:nRF CONNECT SDK 1.6.1
CPU type:nrf5340
module:uarte
hi professor,
I want to trigger receiving interrupt when receiving timeout.I see the product specification there are rxto event in nrf5340.Do you have any example code for me?
software:nRF CONNECT SDK 1.6.1
CPU type:nrf5340
module:uarte
hi professor,
I want to trigger receiving interrupt when receiving timeout.I see the product specification there are rxto event in nrf5340.Do you have any example code for me?
Ok, so take the UART related configs from the prj.conf in SDK\nrf\samples\bluetooth\peripheral_uart and add them to your prj.conf, and then initialize the UART like it is done in the peripheral_uart sample in your own main.c file.
BR,
Edvin
hi professor,
There are fault during interrupt handling when I run uart_rx_enable.I have merged SDK\nrf\samples\bluetooth\peripheral_uart\prj.conf to my project.
Try to use the tool arm-none-eabi-addr2line to look up what function that is on your R14/lr address. It should point to the line reporting the usage fault. It looks like it is in the main thread.
Remember that re-compiling your project may change the build and what functions that are placed here, so remember to use the R14 address from your log from your latest build.
What function does it point to?
BR,
Edvin
hi profess,
I re-compiling my project and run arm-none-eabi-addr2line.It's point to rx_done_event.
Ok, I don't have NCS v1.6.1. What does nrfx_uarte.c line 568 look like?