I am trying to send 8 bytes over RS485 protocol using LL libraries.
I could achieve sending data using HAL libraries (CubeMX configuration) and
Now I want to use LL APIs to transmit data. I've used the following code:
DE_SIGNAL_GPIO_Port->BSRR = DE_SIGNAL_Pin;
DE_SIGNAL_GPIO_Port->BRR = DE_SIGNAL_Pin;
The code is not working and no data is transmitted.
The SPL counterpart code that works fine is as follow:
USART1->DR = snd_buff[i];
I'll be thankful if anyone could help run the USART using LL APIs.