2020-07-20 10:41 PM
Hi there...
I'm trying to read(in blocking communication) battery related parameters on 2 wire SMBUS on a battery through Nucleo-F446ze and also on a custom board with stm32f446vc, but only interrupt "HAL_SMBUS_MasterTxCpltCallback" triggering, but no "HAL_SMBUS_MasterRxCpltCallback". With callback "HAL_SMBUS_ErrorCallback" I can see the smbus state changing to "HAL_SMBUS_STATE_RESET" and bus error "HAL_SMBUS_ERROR_TIMEOUT" , however as i communicating on smbus in blocking way, both the error should not be appearing.
With a discovery board "stm32f3-discovery", I able to read the battery parameters without any issue!!!
I'm configured my project in STMCubeIDE and STM32Cube_FW_F4_V1.25.0, I will appreciate for any help regarding same.
Thanks