Skip to main content
Sadik_A
Associate
September 1, 2021
Solved

STM32WB55VGY6TR hci_reset section isn't initializing

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​ 

This topic has been closed for replies.
towynlin
towynlinBest answer
Associate
September 2, 2021

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! :folded_hands:

2 replies

towynlin
towynlinBest answer
Associate
September 2, 2021

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! :folded_hands:

Sadik_A
Sadik_AAuthor
Associate
September 2, 2021

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