cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WB BLE direct test mode and flash erase/write?

akckwang
Associate II

Hi,

Our device is stm32wb35cc,

we use hci command HCI_LE_TRANSMITTER_TEST_V2(0x2034) to trigger direct test mode,

and use ACI_HAL_LE_TX_TEST_PACKET_NUMBER(0xfc14) to get transmitted packet number,

Recently we noticed that if we do flash erase/write after HCI_LE_TRANSMITTER_TEST_V2,

then device would stop transmitting packet and no response to HCI_LE_TEST_END(0x201f)

temporary(shorter than 1min),

we thought this is topic what AN5289 chapter 4.7 mentioned,

the flash memory management between cpu1 and cpu2,

So we follow AN5289 and example BLE_RfWithFlash to implement the

flash management mechanism for flash erase/write,

but the result still be same,

Any suggestion?

or we just shouldn't to do flash erase/write during ble direct test mode?

Thanks~

2 REPLIES 2
Remy ISSALYS
ST Employee

Hello,

The flash erase/write action isn't supported during BLE direct test mode. So, the better way to perform your test is to do the test in two steps, first the flash operation and then DTM.

Best Regards

akckwang
Associate II

Hi Remy,

Thanks~