SAMB11 Initialization failed

Go To Last Post
6 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hey Guys,

i want to connect the samb11 mr210ca board with my µC atsamd21j18a.

i have connected the board with spi sercom 3 and uart.

if i want to write the ble_device_init() in my main(), my debug port sends me a message like "Please check the power and connection / hardware connector".

 

in this function i become this message: ble_manager.c

 

/* Initialize the BLE */
static void ble_init(at_ble_init_config_t * args)
{
    /* Initialize the platform */
    DBG_LOG("Initializing BTLC1000"); // this comes
    
    /* Init BLE device */
    if(at_ble_init(args) != AT_BLE_SUCCESS)
    {
        DBG_LOG("BTLC1000 Initialization failed");
        DBG_LOG("Please check the power and connection / hardware connector");    // this comes after a timeout ~ 10sec.
        while(1);
    }
}

 

could someone please help me?!

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi,

 

First thing that caught my eye were the two capacitors around Y1.  I don't have those in my design, not sure if they're required or not... my MCU is working fine, except for ULP current drain being excessive above 3 V.  Here's a link to my ATSAMB11-MR210 schematic, in case it's helpful.  I'm also attaching a copy of my working prototype code, which works well including UART logging via a 5V TTL USB adapter (different use case than yours). This is a modified startup template app.  I'm using a 10K resistor on Chip Enable, but doubt that's an issue.

 

Hopefully my working hardware and firmware will get you moving in the right direction.  It wasn't clear from your question exactly what problem you're having or how far along you are.

 

Be sure you are using the latest ASF version.

 

Rick

 

 

 

 

 

 

Attachment(s): 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Scratliner wrote:

   if(at_ble_init(args) != AT_BLE_SUCCESS)

    {
        DBG_LOG("BTLC1000 Initialization failed");
        DBG_LOG("Please check the power and connection / hardware connector");    // this comes after a timeout ~ 10sec.
        while(1);
    }

So, if you're getting that message, you know that the return value from at_ble_init() was not AT_BLE_SUCCESS - don't you?

 

But you don't know what the return value was - so why don't you find out?

That should tell you something!

 

You could also use the debugger to step into at_ble_init()  - and see where, exactly, it fails ...

 

Last Edited: Mon. Sep 25, 2017 - 05:05 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello everyone,

 

i am having a problem in the communication between the Atmel BTLC1000-XSTK Xplained Pro, after i built the solution, the flash programming works also perfectly, but i dont get the blue circle on the smartphone app when i run the demo (see the user guide: https://github.com/avrxml/asf/bl...).

 

Can someone please help me?

Best regards

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

awneil wrote:

Scratliner wrote:

   if(at_ble_init(args) != AT_BLE_SUCCESS)

    {
        DBG_LOG("BTLC1000 Initialization failed");
        DBG_LOG("Please check the power and connection / hardware connector");    // this comes after a timeout ~ 10sec.
        while(1);
    }

So, if you're getting that message, you know that the return value from at_ble_init() was not AT_BLE_SUCCESS - don't you?

 

But you don't know what the return value was - so why don't you find out?

That should tell you something!

 

You could also use the debugger to step into at_ble_init()  - and see where, exactly, it fails ...

 

 

Hello everyone,

 

i am having a problem in the communication between the Atmel BTLC1000-XSTK Xplained Pro, after i built the solution, the flash programming works also perfectly, but i dont get the blue circle on the smartphone app when i run the demo (see the user guide: https://github.com/avrxml/asf/bl...).

 

Can someone please help me?

 

Best regards

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Baba20,

 

You have asked this in 6 places. Do it 1 more more time and you will be banned!

 

Moderator

 

Ross McKenzie ValuSoft Melbourne Australia