"ble_app_uart"

hi, I am run the example:"ble_app_uart",I just change the pin number ,it sometimes works ,buf a fee minute,it error .

it can send buffer from phone to seriel  terminal on PC,buf can receive buffer from seriel  terminal on PC,the log is below:

<info> app_timer: RTC: initialized.
<info> app: Debug logging for UART over RTT started.
<info> app: p_event->evt_type=3

<info> app: Data len is set to 0xF4(244)
<info> app: p_event->evt_type=2

<error> app: ERROR 1 [NRF_ERROR_SVC_HANDLER_MISSING] at F:\nordic_yanxing\nRF5_SDK_17.1.0_ddde560\examples\ble_peripheral\ble_app_uart\main.c:564
PC at: 0x0002FBDF
<error> app: End of error report

I changed code below:

before i change:

-#define RX_PIN_NUMBER 8
-#define TX_PIN_NUMBER 6
-#define CTS_PIN_NUMBER 7
-#define RTS_PIN_NUMBER 5
-#define HWFC true

after i change :
+#define RX_PIN_NUMBER 16
+#define TX_PIN_NUMBER 17
+#define CTS_PIN_NUMBER 18
+#define RTS_PIN_NUMBER 19
+#define HWFC false

I have read the topic but still cannot work:  UART communication with Arduino ERROR 1 [NRF_ERROR_SVC_HANDLER_MISSING] 

need some help!! thank you

SDK:17.1.0 SoftDevice:S132 6.1.X

later I find ,when send more the 7 bytes from PC, the error occured,why?

Parents Reply Children
Related