The problem encountered when adding UART

Hello Nordic engineer,

I used SDK17.1.0 and examples \ ble_central_and_peripheral \ experimental \ ble_app_multirole_lesc

Chip is nRF52811

I have completed the addition of Nus and successfully ported the S132 (nRF52832) example to nRF52811 by modifying the chip, ROM, RAM, and define settings.

Now I want to add Uart, but I encounter the following problem

The breakpoint on the left side of the image is at line 1057, while the breakpoint on the right side is at line 1063. Should we check the R0 register? If so, it shows 0x09. Do we need to refer to the diagram below?

So the error is 'NRF_ERROR_INVALID_LENGTH'? If so, how should the issue be resolved?

The following are the ROM and RAM settings I configured, hoping they are helpful for identifying the issue.

Thanks

edit new information

#define UART_TX_BUF_SIZE                20                                         /**< UART TX buffer size. */
#define UART_RX_BUF_SIZE                20                                         /**< UART RX buffer size. */

Parents Reply Children
Related