MDBT42Q BLE not working when porting code from nrf52 dk

I am trying to port code I developed on the NRF52 DK to a MDBT42Q-512KV2 BLE module from Raytac I purchased from Digikey and am running into problems.

I developed all the functionality I wanted on the NRF52 DK using VS code and SDK version 2.6.2 following examples from Nordic Dev Academy (basically read from a chip using I2C and then putting the read data into a notification to send it over BLE). Everything works perfectly fine when using the NRF52 DK.

I am now trying to get the code I developed working on MDBT42Q BLE module. The module should use the same exact nrf52832 chip as the NRF52 DK and the module is advertising when it has the test code from the manufacturer that comes flashed originally with the module so I don't think it's a hardware issue. Programming my code onto the module using the NRF52 DK also worked without issue but the BLE never advertises on the MDBT42Q once I write my personal code inside.

I looked at the devzone and there was a post 3 years ago from ThomasDmr saying their MDBT42Q BLE was not advertising but they seem to have been using the old way of programming with softdevices so I'm not sure how to try their solution to my current situation (their solution seem to involve using a segger version which I'm not using, changing to an internal oscillator, and some other settings).

Does anyone have suggestions on what I should do to figure out where my BLE issue is?
Do I need to make a new board in VS code for the MDBT42Q module to get BLE working?
Is there a way to get debug messages from the MDBT42Q module (does RTT work for the MDBT42Q)?

Thanks everyone in advance!

Here's my PCB schematic for the module just in case it's any use and my code is basically a combination of code from a few nRF Connect SDK Fundamentals lesson examples. 

Parents Reply Children
No Data
Related