2026-01-17 7:30 AM
Hi there !
here i'm for another question, are a day i'm go crazy with the SPI interface . I try to comunicate with MC33HB2000EX 10 A H-bridge, SPI programmable brushed DC motor driver. The datasheet write that:
So i configure my SPI :
and when i send data with
uint16_t spiData=0x2000;
uint16_t spiRxData = 0x0000;
i reset the CS pin
HAL_SPI_TransmitReceive_IT(&hspi1,(uint8_t*)&spiData,(uint8_t*)&spiRxData,1);
i wait the callback function and i set the CS pin
no one data come out from MISO and i put on my analaizer and i don't understand why the clock start to logic high and no from logic low i don't know if is the real problem
I hope someone can help me
Thank you
Sergio