AnsweredAssumed Answered

Is CubeMX the right way?

Question asked by kugler.volker on Nov 16, 2016
Latest reply on Nov 16, 2016 by FTITI.Walid
i am new to STM32 programming. I have to make a small program where the STM32L471 is the SPI master.

I tried the CubeMX to build a program for the Keil MDK. Seems to be ok. But when i call the transmit functions of the library with:    

HAL_SPI_TransmitReceive(&hspi1, u8Send, u8Receive, 6, 10000);

i can't see the clock or reactions on the MOSI. I saw that the signals change one time, but i can't see the the communication.

So my question was how you build new projects and what libs do you use? The CMSIS, the HAL or older things?

Best regards