2018-06-06 11:33 PM
Dear friends,
I am trying to send data over RS485 protocol using a STM32F107RCt6 MCU.
I config the project in CubeMX and when I write the following code, the USART does not send any data while the project compiles successfully and no errors occurs.
DE_SIGNAL_GPIO_Port->BSRR = DE_SIGNAL_Pin;
LL_mDelay(100); for(j=0;j<8;j++) { while(!LL_USART_IsActiveFlag_TXE(USART1)){} LL_USART_TransmitData8(USART1,snd_buff[j]); } while(!LL_USART_IsActiveFlag_TC(USART1)){} DE_SIGNAL_GPIO_Port->BRR = DE_SIGNAL_Pin;I've done this project using SPL libraries and HAL libraries but now I want to migrate to LL APIs.
The code I wrote for LL APIs is pretty much the same as SPL APIs but I don't know why it is not working.
I've tested this code on STM32F103RCt6 MCU too but it also didn't work.
I am using the CubeMX version 4.25 and STM32CubeF1 version 1.6.
I'll be thankful if someone code help me using LL USART APIs in my project.
2018-08-09 05:42 PM
Bumping stale unanswered questions off my feed
@ST Community