cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WB55VGY6TR hci_reset section isn't initializing

Sadik_A
Associate II

I made my test codes on nucleo(32wb55) and it worked.

But i have a problem on My Custom Board.

I try Cable Replacment application on my board, but my sw isn't pass "hci_reset" section on "ble.hci.le.c"...

When I look at the crystals(HSE_32Mhz and LSE_32,768Khz) with an oscilloscope, there is no problem.

My current .bin version: V1.12.0 / 24-June-2021 (stm32wb5x_BLE_Stack_full_fw.bin)

My custom board µC : STM32WB55VGY6TR

tBleStatus hci_reset( void )
{
  struct hci_request rq;
  tBleStatus status = 0;
  Osal_MemSet( &rq, 0, sizeof(rq) );
  rq.ogf = 0x03;
  rq.ocf = 0x003;
  rq.rparam = &status;
  rq.rlen = 1;
  if ( hci_send_req(&rq, FALSE) < 0 )  // <<<----my code don't pass here.
    return BLE_STATUS_TIMEOUT;
  return status;
}

@Christophe Arnal​ @Necronomicon​ @towynlin​ 

1 ACCEPTED SOLUTION

Accepted Solutions
towynlin
Associate III

Sorry, I don't know how to help. My best suggestion is to read everything, including expanding the "More answers" link at the bottom of the page, on this Q&A from last year. But since you're pinging me and Necronomicon, I'm guessing you've already found that.

Good luck! 🙏

View solution in original post

2 REPLIES 2
towynlin
Associate III

Sorry, I don't know how to help. My best suggestion is to read everything, including expanding the "More answers" link at the bottom of the page, on this Q&A from last year. But since you're pinging me and Necronomicon, I'm guessing you've already found that.

Good luck! 🙏

Sadik_A
Associate II

Oh, Thank you for your attention. i will read all Q&A...