cancel
Showing results for 
Search instead for 
Did you mean: 

Issue while using USART as UART

Sruthi1
Associate

In our application, STM32 micro controller  USART protocol is used as UART full duplex mode.

 what will be the  conditions to use USART as UART full duplex mode?

Already I have disabled CLKEN bit in USART_CR2 register. 

Though, disabling CLKEN bit in USART_CR2 register still I am getting issue while  transmitting data from micro controller.

the issue is the dock light is not receiving same data ,We verified but it is not the baudrate issue.

 

2 REPLIES 2

Show what you're sending, show what you're receiving, and the code / expected configuration.

Perhaps you can show the signalling on a scope or logic analyzer?

How is this wired up? CMOS and RS232 levels are different.

>>what will be the  conditions to use USART as UART full duplex mode?

I supposed that you use independent functions that don't block?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

Actually, I am configuring Bluetooth  with STM32 micro controller

The protocol required to communicate with bluetooth is UART but I am using USART  in my micro controller(Already I have disabled CLKEN bit in USART_CR2 register). I dont know what's the issue but while transmitting commands I am not receiving same commands  at my bluetooth side .