Roman Jasmann

Results 8 comments of Roman Jasmann

@PascalBod Your fix will work. However, the root cause of the problem is an incorrect implementation of `__HAL_LOCK`. See this answer on stackoverflow: https://stackoverflow.com/a/49138649 and this discussion: https://community.st.com/s/question/0D50X0000C5Tns8SQC/bug-stm32-hal-driver-lock-mechanism-is-not-interrupt-safe Best regards...

@asob Try this: ``` /* Init Info table used by LmHandler */ LoraInfo_Init(); /* Init the Lora Stack*/ LmHandlerInit(&LmHandlerCallbacks); LmHandlerConfigure(&LmHandlerParams); MibRequestConfirm_t mibReq; mibReq.Type = MIB_DEV_EUI; mibReq.Param.DevEui = yourDevEui; LoRaMacMibSetRequestConfirm(&mibReq); mibReq.Type...

Hi, I'm using STM32CubeWL V1.0.0. Best regards Roman Jasmann

@ASELSTM Hi, the implementation of __HAL_LOCK in v1.2.0 is the same as in v1.0.0. So the problem will also occur with v1.2.0. The root cause of the problem is an...

@rayaanlatief 1. Have you configured the LSI clock to have a tick period below 1 ms? 2. Have you adapted TIMER_IF_Convert_Tick2ms, TIMER_IF_Convert_ms2Tick and TIMER_IF_GetTime to reflect the LSI clock frequency?...

@asob According to the LoRaWAN specification V1.0.4, the LoRaWAN stack shall limit the aggregated time on air during the first hour following power-up or reset to 36 s. A join...

@YoannBo You are right. Thank you for the hint. They have changed the implementation in v1.3.0. Compare STM32CubeWL V1.0.0: https://github.com/STMicroelectronics/STM32CubeWL/blob/v1.0.0/Middlewares/Third_Party/SubGHz_Phy/stm32_radio_driver/radio_driver.c ``` #define SUBGRF_WriteCommand( x, y, z ) HAL_SUBGHZ_ExecSetCmd( &hsubghz, (x),...

@ASELSTM HAL_SUBGHZ_WriteRegisters and HAL_SUBGHZ_ReadRegisters in SUBGRF_WriteRegister and SUBGRF_ReadRegister must be protected by a critical section too: https://github.com/STMicroelectronics/STM32CubeWL/blob/main/Middlewares/Third_Party/SubGHz_Phy/stm32_radio_driver/radio_driver.c ``` void SUBGRF_WriteRegister( uint16_t addr, uint8_t data ) { HAL_SUBGHZ_WriteRegisters( &hsubghz, addr, (uint8_t*)&data,...