2022-05-06 02:42 AM
I configured I2C SMBUS in cubemx and reimplement HAL_SMBUS_MasterTxCpltCallback, then I called MX_I2C1_SMBUS_Init() and HAL_SMBUS_Master_Transmit_IT().
After that i had no any events: not called callback and no any data transmited. In fact on sda and scl pins i had only straight lines (saw in oscilloscope). The same hardware configuration but with I2C at least generate clock an data signals. SMBUS config you can see below.
2022-05-06 06:40 AM
Did you enable the SMBUS (or I2Cx) interrupt in the NVIC peripheral?
2022-05-06 06:59 AM
if You mean NVIC_settings than yes, i enabled it
2022-05-06 07:24 AM
Seemed i found the problem. there were troubles with XferOptions