Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

PA/LNA in bootloader

Hello.

I have pa/lna on my device. It works properly in application (rssi is about 30 dbm). But when application goes into bootloader (dfu over ble using nrfconnect on android) rssi is about 95-100 dbm. 

I tried to add pa/lna init to secure_bootloader code. And when i download this on erased chip, I see that rssi is about 20-30 in bootloader mode. But function sd_ble_opt_set() return 1. And when I download the application and start dfu, the application goes into bootloader mode and the signal level becomes 100 again.

Why it happens?

Parents Reply
  • Hi,

    I see your point, but I do not see a good way to do this without modifying the DFU library code. The reason is that there is no sensible way to put this in the example bootloader project since it has to be done after the SoftDevice is initialized. (It wold be tempting to implement the nrf_dfu_init_user() function and put it there, but this will not work since it is called before nrf_dfu_init(), which is when the transport is initialized).

Children
Related