2025-12-17 5:10 AM
Greetings,
I'm trying to run an application using X-CUBE-ST67W61, but I'm encountering a problem at this line in w61_at_common.c:
int32_t W61_AT_ModemInit(W61_Object_t *Obj)
{
(...)
xReturned = xSemaphoreTake(mdm->sem_if_ready, pdMS_TO_TICKS(4000));
(...)
}everytime, xReturned equals 0, which means that sem_if_ready is not received.
My setup consists of STM32N6570-DK with X-NUCLEO-67W61M1, and the code I'm trying to run is mostly ble_p2p_server app from X-CUBE-ST67W61.
Some of the SPI communication starts, as seen below:
but these are the only signals that are appearing.
2026-01-06 12:07 AM
The fact that sem_if_ready is not received means the first message coming from the NCP is not "\r\nready\r\n" as it should be. Which is also true based on the SPI trace you shared - the first three characters are correct (in the second frame) but the rest seem to be incorrect.
Aside from making sure the HW connection is good, there are a few points to check.