Skip to main content
akckwang
Associate
June 24, 2022
Question

STM32WB BLE direct test mode and flash erase/write?

  • June 24, 2022
  • 2 replies
  • 1603 views

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~

This topic has been closed for replies.

2 replies

Remy ISSALYS
ST Technical Moderator
June 30, 2022

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
akckwangAuthor
Associate
July 1, 2022

Hi Remy,

Thanks~