Radio test example - UART pins

Hey there,

We are working with NRF52832 WLSCP package,

We had stated certification process , for BQB testing need to use the Radio test example with UART between EUT to the PC ( using a dongle or SDK)

As my new design does not use all required GPIO, Idon't have direct connection to connect UART pins

1. Is there a way to do the UART over BLE?

2. How to change the pins to fit my accessible GPIO's?

Default GPIO nRF52832

UART nRF52832

Interface MCU UART

 

P0.05

RTS

CTS

P0.07

P0.06

TXD

RXD

P0.08

P0.07

CTS

RTS

P0.05

P0.08

RXD

TXD

P0.06

Parents
  • Hi

    Have you checked out the ble_app_uart example project where the uart_init() function initializes all four UART pins. Then you can set these to what ever pin numbers you'd like.

    static void uart_init(void)
    
    {
    
        uint32_t                     err_code;
    
        app_uart_comm_params_t const comm_params =
    
        {
    
            .rx_pin_no    = RX_PIN_NUMBER,
    
            .tx_pin_no    = TX_PIN_NUMBER,
    
            .rts_pin_no   = RTS_PIN_NUMBER,
    
            .cts_pin_no   = CTS_PIN_NUMBER,
    
            .flow_control = APP_UART_FLOW_CONTROL_DISABLED,
    
            .use_parity   = false,
    
    #if defined (UART_PRESENT)
    
            .baud_rate    = NRF_UART_BAUDRATE_115200
    
    #else
    
            .baud_rate    = NRF_UARTE_BAUDRATE_115200
    
    #endif
    
        };
    
    
    
        APP_UART_FIFO_INIT(&comm_params,
    
                           UART_RX_BUF_SIZE,
    
                           UART_TX_BUF_SIZE,
    
                           uart_event_handle,
    
                           APP_IRQ_PRIORITY_LOWEST,
    
                           err_code);
    
        APP_ERROR_CHECK(err_code);
    
    }
    
    

    What SDK are you using for development, the nRF5 SDK or nRF Connect SDK? You need to create a custom board file for your project when creating an application for a custom board.

    Best regards,

    Simon

  • Not sure what do you mean by that i am using PCA10040

    it shuold be DK

  • I simply need the code which will allow the EUTto communicate via different GPIO"S

Reply Children
No Data
Related