cancel
Showing results for 
Search instead for 
Did you mean: 

I could not convert the HAL_SPI_TransmitReceive function to LL

YBAYR.1
Associate III

I AM TRYING TO CONTROL WITH CLRC SPI. MY PROJECT IS WRITTEN WITH LL. I CANNOT ADAPTE THIS FUNCTION. CAN YOU PLEASE HELP ME?

 

https://github.com/CodElecCz/STM32F1-CLRC663

5 REPLIES 5
YBAYR.1
Associate III

YBAYR1_0-1745509309913.pngYBAYR1_1-1745509331754.png

I SET IT LIKE THIS BUT IT DID NOT WORK

TDK
Guru

Please don't use all caps, it is distracting.

 

Is the SPI initialized? Show this.

Show the state of the SPI registers when it is not working.

If you feel a post has answered your question, please click "Accept as Solution".
YBAYR.1
Associate III

yes spi started there is no problem, attached is the image

YBAYR1_0-1745510836837.png

 

I think the data order is mixed up, I am doing the same as the example in github.

 

What is "not working" about it? What do you expect to happen? What happens instead? Do you know how to debug the code and step through, examine registers, etc?

If you feel a post has answered your question, please click "Accept as Solution".