How to program MDBT42Q (nRF52832 bluetooth module)

For Adafruit customers who seek help with microcontrollers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
arrana16
 
Posts: 7
Joined: Wed Jul 14, 2021 12:26 pm

How to program MDBT42Q (nRF52832 bluetooth module)

Post by arrana16 »

Hello there,

I was interested in buying a MDBT42Q for a bluetooth project, however I have no idea how to program it. Like I know C, but I don't know how I'm meant to get code from my computer to the chip itself. If anyone could provide some sort of mini guide that would be greatly appreciated.

Thanks

This is the module by the way.
4077-00.jpeg
4077-00.jpeg (556.88 KiB) Viewed 202 times

User avatar
mikeysklar
 
Posts: 13936
Joined: Mon Aug 01, 2016 8:10 pm

Re: How to program MDBT42Q (nRF52832 bluetooth module)

Post by mikeysklar »

I would highly recommend starting with one of our new nRF52840 controllers where we have detailed guides to help you get going with bluetooth. These individual modules come with no user friendly guides to get you started.

https://www.adafruit.com/product/4062
https://learn.adafruit.com/introducing- ... 40-feather

User avatar
arrana16
 
Posts: 7
Joined: Wed Jul 14, 2021 12:26 pm

Re: How to program MDBT42Q (nRF52832 bluetooth module)

Post by arrana16 »

Oh okay, thanks for the recommendation.

However in the future I don't plan on using the feather board and instead the individual module and that's what I'm confused about. If I'm not mistaken, you can't just program the module with the Arduino IDE like you can with the feather board, right? An answer as to how the module itself is programmed would be greatly appreciated.

Thanks

User avatar
mikeysklar
 
Posts: 13936
Joined: Mon Aug 01, 2016 8:10 pm

Re: How to program MDBT42Q (nRF52832 bluetooth module)

Post by mikeysklar »

To program the MDBT42Q module you will can use adalink (command line uploader) with a hardware jlink programmer and the Nordic SDK for compilation.

https://www.adafruit.com/?q=jlink&sort=BestMatch

The chip also need a bootloader and a PCB to breakout the connections so you could take a look at our Feather nRF52832 for how we did it.

https://www.adafruit.com/product/3406
https://learn.adafruit.com/bluefruit-nr ... /downloads

User avatar
arrana16
 
Posts: 7
Joined: Wed Jul 14, 2021 12:26 pm

Re: How to program MDBT42Q (nRF52832 bluetooth module)

Post by arrana16 »

Alright I think I got it, thanks so much for the helpful information.

Locked
Please be positive and constructive with your questions and comments.

Return to “Microcontrollers”