This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Where can I find documentation on UART settings?

Hello.
I am developing a central operation using nrf52832 (S132 v7.0.1, SDK v17.0.0).

I am investigating the data bit and stop bit settings.
At that time, I found a page where the data bit is fixed at 8 bits and the stop bit is fixed at 1 bit.
I'm looking for material that describes this, but I can't find it.
Could you tell me?

Best Regards.

  • Hi, 

    I am developing a central operation using nrf52832 (S132 v7.0.1, SDK v17.0.0).

    If you are using v17.0.0 for development, it is strongly recommended to switch to v17.0.2 as a bug fix release replacing nRF5 SDK v17.0.0. The latest version v17.1.0 is also released.  

    The UART supports 8-bit data + 1 stop bit and can be configured to use either even parity or no parity. When the  CONFIG.is enabled, the parity bit is automatically calculated from the data. You can take a look at the app_uart_comm_params_t Struct Reference which is used in the UART Example

    Regards,
    Amanda

  • Hello.

    Proposed Thank you.
    However, I am involved in a BLE project, and I cannot change it from sdk17.0.0 due to the balance with other people.

    I checked the structure reference, but there was no mention of data bits and stop bits. Please tell me where it is listed.

    Best Regards.

  • Hi, 

    Not find the clear statement as you require, but in nRF52832 PS UART Functional description:

    The UART implements support for the following features:

    • Full-duplex operation
    • Automatic flow control
    • Parity checking and generation for the 9th data bit

    As illustrated in Figure, the UART uses the TXD and RXD registers directly to transmit and receive data. The UART uses one stop bit.

    Hope this can help.

    -Amanda

Related