0

nRF52832 ¿Does ANT+ require S332 SoftDevice and Bootloader?
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

nRF52832 ¿Does ANT+ require S332 SoftDevice and Bootloader?

by jaimemg76 on Mon Dec 10, 2018 4:46 pm

Hi, I'm a newbie with these devices and ANT+ programming... I got my whole project almost done, working thru BLE(It was pretty easy)... But when trying to support ANT+, I am kind of stuck...

I have a BlueFruit nRF52832, programmed thru Arduino IDE... The only bootloader and softdevice I have in choice at arduino platform is S132 6.1.1... So ¿I CAN'T USE ANT+? Right?

I got S323 softdevice (also S212 to try just ANT+) from www.thisisant.com page... But the ZIP file contains only the HEX file...
The bootloader folder, in arduino, has an HEX file but also a ZIP FILE that is what Arduino IDE burns to the board... (I tried to rename the HEX file to cheat it, but it still burns ZIP file)
That ZIP file contains 3 files: "manifest.json", "sd_bl.bin" and "sd_bl.dat"

¿Any way to get a ZIP file like that for S332 softdevice?

¿Or any way to update bootloader to Bluefruit nRF52832 to S332 and continue programming thru arduino/VS2013 thru micro USB as now?

I am not able to make ANT+ working.. Any simple example... I have been trying ANT+ many weeks, while developing the rest of the project...
It can't be so hard. I may be blind in any detail...
Please I would thank any help or advice, to keep working in... ¿Anybody have managed bluefruit nRF52 to work with ANT+?

(If It should work with S132 booloader, I would thank a simple example or link, just to activate ANT+ in any profile or so... to have something to work with... By the way, the most of the examples use Serial1, and this board does not have Serial1, so ¿Should it be softwareSerial(2, 3)? or how? )

Thanks in advance,

Jaime.

jaimemg76
 
Posts: 2
Joined: Mon Dec 10, 2018 4:34 pm

Re: nRF52832 ¿Does ANT+ require S332 SoftDevice and Bootload

by hathach on Wed Dec 12, 2018 6:16 am

we didn't provide support for ANT, but you could use Feather nRF52 as generic nrf52 develop board with Nordic SDK for code base, and a JLINK.

hathach
 
Posts: 1020
Joined: Tue Apr 23, 2013 1:02 am

Re: nRF52832 ¿Does ANT+ require S332 SoftDevice and Bootload

by jaimemg76 on Wed Dec 12, 2018 6:55 am

Thanks Hathach.
So, to be sure to understand it... Without the SEGGER JLINK, and thru micro USB and arduino/VS2013 platform... ¿There is no way to use ANT? Right?
¿With SEGGER JLINK is it affordable to get it working? ¿Still possible to upload sketches thru arduino/VS2013 platform?
I have 5 bluefruits nRf52832 and pretty interested in ANT...
Just thinking to purchase de JLINK accesories to keep trying, or destimate the choice :-( ...

Thanks a lot again,

Jaime.

jaimemg76
 
Posts: 2
Joined: Mon Dec 10, 2018 4:34 pm

Re: nRF52832 ¿Does ANT+ require S332 SoftDevice and Bootload

by jumson on Mon Jan 14, 2019 1:29 pm

I am looking to use ANT+ on the Feather Blueruit nRF52 as well. I think there might be two options -- and these are more question than solution, so I hope whoever monitors this forum can guide us to a workable solution:

1. To use Arduino IDE and the instructions from "Optional (Core Development): Adafruit nRF52 BSP via git" Adafruit BSP (https://github.com/adafruit/Adafruit_nRF52_Arduino)
Could it be a simple as adding the s332 API "include" folder to the ./cores/nRF5/nordic/softdevice folder? I note there are two others that directory which are just for BLE (s132 and s140).

2. create a custom BSP for the nRF5 SDK from Nordic, as describere here: (https://infocenter.nordicsemi.com/index ... oards.html)
For that we would need to know how to define the location of LEDs, buttons, etc, for the Feather --- or is that something we can copy from the repository for the BSP for the Arduino IDE? If so --- how do we find it?

(edit: After nosing around, I suspect that the correct files to include in a custom BSP to the nRF5 SDk would be the .cpp/.h files found here in the repository (for the variant in which I am interested): https://github.com/adafruit/Adafruit_nR ... r_nrf52832

jumson
 
Posts: 1
Joined: Sun Sep 10, 2017 10:40 am

Re: nRF52832 ¿Does ANT+ require S332 SoftDevice and Bootload

by Oran on Sat Mar 09, 2019 6:37 pm

I'm also looking for the answer to this as searching the internet isn't coming up with a solution. I've made a power meter and an automatic shifter for my bicycle and would like to add ANT+ communication to both of them. SparkFun also has the same question on their forum but again no official response with an answer. If I find out anything I will post it here. I have a Bluefruit Feather to experiment with.

Oran
 
Posts: 2
Joined: Sat Mar 09, 2019 6:00 pm

Re: nRF52832 ¿Does ANT+ require S332 SoftDevice and Bootload

by Dr_Momentum on Tue Sep 03, 2019 5:30 pm

I have also been working on a prototype (work related) for a couple of weeks now. It involves a custom sensor attached to a Adafruit Feather nRF52840 (I'll recommend this board since it supports ANT and BLE, as well as having the SEGGER JLINK header soldered to the board), talking to a Garmin watch for GPS stamping and storage.
The board comes with S140 softdevice (BLE only) so it will have to be re-loaded with S332 for ANT.
I'd also like to mention that for me buying a couple of D52 started kits (https://www.digikey.com/catalog/en/part ... -kit/71797 ) has proven very beneficial since getting used to ANT isn't precisely a walk in the park (terrible documentation).
I currently have the ANT radios from the D52 kit showing up on the Garmin watch (after using the ANT+ network key from <www.thisisant.com> , and the 2457MHz frequency in ANTware II ) BUT not receiving data yet (that's my next step).

I hope this shines some light into the topic

Keep posting!

Dr_Momentum
 
Posts: 1
Joined: Tue Sep 03, 2019 4:54 pm

Re: nRF52832 ¿Does ANT+ require S332 SoftDevice and Bootload

by Oran on Fri Sep 06, 2019 2:31 am

Thank you Dr_Momentum for posting evidence that it can be done and the useful information.
I have been trying with the Bluefruit Feather nRF52832. Interesting that you recommend the nRF52840 because the new Arduino Nano 33 BLE https://store.arduino.cc/nano-33-ble uses the nRF52840. I've been considering getting it to try out.

Let us know when you start transferring data.

Oran
 
Posts: 2
Joined: Sat Mar 09, 2019 6:00 pm

Please be positive and constructive with your questions and comments.