Is there a good example of how to configure SPI by LL(Low Layer) on F0?
I build one new project for F0 using the CubeIDE.
Library V1.11.3.
At first, it builds, but even after the
MX_SPI2_Init();
command, we need to issue the command->
LL_SPI_Enable(SPI2);
in order to the SPI to start. But the SPI_CLK start to running just after the LL_SPI_Enable(SPI2);
even without the RECEIVE or TRANSMISSION command. In fact, I commented out my adc_raw8 = LL_SPI_ReceiveData8(SPI2);
and the SPI_CLK was still running like a Continous Wave. If I issue the Chip Select command before all,
LL_SPI_EnableNSSPulseMgt(SPI2);
between the clock count the spi's machine insert a huge 100ms empty space.
Does someone have one Low Layer SPI that is working, better would be a "receive only" example. It could even be a "transmission only" ones.
On the same MCU/Board the HAL_Receive command works only at Receiving, if I define the SPI Machine as "full-duplex Master". Defining as "simplex receiving" the SPI_CLK does not occur...
Some hint?
Regards.
