Hi Everyone,
I am working on enabling Direct Test Mode (DTM) for BLE-SPBTLE-RF, which is connected to my STM32L053 via SPI1 on a custom PCB. The goal is to perform RF testing so I can submit the board for regulatory certification.
Hardware Setup:
- MCU: STM32L053
- BLE Module: SPBTLE-RF
- Connection Interface: SPI1
- Available Debug Pins: SWDIO & SWCLK (Used for ST-LINK flashing & debugging)
- Custom PCB: Already assembled, so I cannot access additional UART/SPI pins easily or can design(only things i can do is i take out connection from the ble pads by soldering jumpers if req)
Challenges:
- Since SPI1 is used for communication with the BLE module, can I still enable DTM mode without a direct UART connection?
- The official DTM firmware expects an HCI UART interface. Is there an alternative way to send DTM commands via SPI?
- Given my limited access to only SWDIO & SWCLK, is there a way to configure the BLE module into DTM mode through firmware modifications on STM32L053?
What I Need:
- Steps to enable DTM mode on SPBTLE-RF via SPI or any other methot if possible by soldering the wires jumpers.
- Any firmware or workaround to control DTM commands over SPI instead of UART.
- Alternative debugging or testing approaches considering my hardware limitations.
- How to interface the board with BlueNRG GUI or BEAM (BlueNRG Analyzer Mobile app) for RF testing from bypassing the stm32 to ble or if possible through stm32 to ble.