This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Issue getting Nordic nRF52832 SoC solution to startup

Hi - I have a MDBT42Q SoC board developed by Seeed Studio which contains the nRF52832 SoC. The board is powered as the image below and I can program the board through the nRF52-DK board. Upload is successful but I do not get a BLE broadcast and other elements of the system are not initialized. 

The code starts with a series of initializations - but none of these engage so there is no LED blinking, Bluetooth broadcast, etc. 

Is there some way to trouble-shoot the board with a simple program to establish basic functionality?

Regards,

Diarmuid.

Diarmuid O'Connell

int main(void)
{
uint32_t err_code;
bool erase_bonds;

// Initialize.
err_code = app_timer_init();
APP_ERROR_CHECK(err_code);

uart_init();
log_init();

buttons_leds_init(&erase_bonds);
ble_stack_init();
gap_params_init();
gatt_init();
services_init();
advertising_init();
conn_params_init();

  • Hello,

    Have you tried debugging your application? Is the main() function reached at all? Does your custom board have any LEDs that you can monitor? Have you altered the board file to match your board**? Does the non-ble examples work? Is it only the BLE examples that are not working? Do you have the specification for your X1 xtal? Can you link it or upload it here? How do you program the application to your custom board? Does it throw any errors when you program it? And did you remember to program the softdevice (Bluetooth Low Energy stack) in addition to your application?

    ** I assume you have either changed the preprocessor definition BOARD_PCA10040, or altered the file pca10040.h directly. Did you do any of those?

    Best regards,

    Edvin

Related