This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Serial DFU with higher baudrate using custom nRF52832 board and SDK 15.2

Hi,

I built a simple custom board with an nRF52832 ebyte BLE module with no added components except for the RST and DFU buttons, the serial wiring are the same pins (RX, TX, DTR, CTS) as with the DK board. While I can program my custom board with any application using 9600 bauds without flow control, I find it impossible to use higher baudrates with flow control turned on on the bootloader. What can I do to enable higher baud rates, let's say 115200 baud rates? 

Thanks

Parents Reply
  • I've tried and it did make the transfer slower with the same baudrate of 9600. I went back and checked my parameters and I was able to clock in 115200 with the following configuration:

    sdk_config:
    #define NRFX_UARTE_DEFAULT_CONFIG_HWFC 1
    #define NRFX_UARTE_DEFAULT_CONFIG_BAUDRATE 30801920

    firmware project:
    No change

    nrfutil: V5 or earlier seems to perform faster and -fc 0 is required for this to work
    nrfutil dfu serial -pkg .\ebyte_nrf52832\s132\armgcc\_build\dfu-package.zip -p COM5 -fc 0

Children
No Data
Related