0

Feather NRF52832
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Feather NRF52832

by sebbbi97 on Mon Jan 11, 2021 11:33 am

Hey guys,
i want to modify the Dual Role example for the Feather NRF52832, so it can connect to more than one peripheral.
I already tried a few things but it doesn't work. Does anybody know how to do it?

Thanks in advance

sebbbi97
 
Posts: 8
Joined: Mon Oct 12, 2020 9:53 am

Re: Feather NRF52832

by mikeysklar on Tue Jan 12, 2021 8:12 pm

I've seen posts of people getting up to three devices on the nRF52840 Central Blueart example code. I don't know if this is compatible with the nRF52832 though. Does it make sense in your case to upgrade?

https://learn.adafruit.com/bluefruit-nr ... al-bleuart

mikeysklar
 
Posts: 2901
Joined: Mon Aug 01, 2016 8:10 pm

Re: Feather NRF52832

by sebbbi97 on Wed Jan 13, 2021 10:29 am

Thanks for your reply. I was able to connect 3 devices with the feather NRF52832 in central mode. But I need more for my project. I think the device is running out of SRAM. I hope the Feather NRF52840 can handle more connections, since it has 4 times the SRAM.

sebbbi97
 
Posts: 8
Joined: Mon Oct 12, 2020 9:53 am

Re: Feather NRF52832

by mikeysklar on Wed Jan 13, 2021 5:08 pm

@sebbi97,

Based on this issue it does appear to be an SRAM limitation as you indicate. Maybe you can get closer to the maximum of 20 devices that BLE_MAX_CONNECTION is set to in bluefruit.h.

https://github.com/adafruit/Adafruit_nR ... issues/288

mikeysklar
 
Posts: 2901
Joined: Mon Aug 01, 2016 8:10 pm

Re: Feather NRF52832

by sebbbi97 on Thu Jan 14, 2021 9:46 am

Thank you very much, I was able to change the SRAM values in the linker file and now I can get up to 13 concurrent connections in central Mode.

sebbbi97
 
Posts: 8
Joined: Mon Oct 12, 2020 9:53 am

Please be positive and constructive with your questions and comments.