nRF51822 Linux Driver

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • nRF51822 Linux Driver

    Hi,

    The nRF51822 Linux Driver (USB to Serial) is not responding when configured with non-standard baud rates like 250000, 460800, 921600 or 1M.
    But the same is working with 38400, 115200 and 230400. Did any one else face the same issue ?? I tried using the same UART program with a different hardware (Prolific USB to Serial) and it is working with all above mentioned baud rates.

    Please suggest.

    Thanks for your time.
  • Hi,

    We have tested the J-Link-OB on the Nordic Semi boards with baudrates up to 1 MBaud and they are working fine.
    Do you see the same problems under Windows?


    - Alex
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.
  • Hm, strange... I am pretty sure that I also tested 250 kBaud, 500 kBaud, 750 kBaud and 1 MBaud explicitly.
    Do you have any chance to check the UART signals?
    If yes: Is there no output (J-Link => Target) or some output just with an incorrect frequency?

    - Alex
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.
  • Hi,

    Can you provide a test application (in source if possible) which allows easy reproduction of this issue?

    - Alex
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.
  • Hi,

    Attached is the source which uses 921600 baud rate(uart.c line number 99). This workspace hex (nrf_uart.hex) when flashed on nRF51822 (PCA10000) acts as a UART loopback.

    The same workspace with a different baud rate (For ex: 115200) loops back correctly while it doesn't work with 921600 or 1M.

    Thank You.

    uart_recv_intr_baudrate.zip
    Files