cancel
Showing results for 
Search instead for 
Did you mean: 

UART stm32f4 discovery

lacava
Associate II
Posted on August 02, 2012 at 13:07

Hi , i've a problem, i don't manage the sending of the UART signal in correct manner using  stm32f4 discovery.

I've need of the correct procedure to send Uart signal.

Every help is accepted. Thank you.

#stm32-discovery #uart
4 REPLIES 4
Posted on August 02, 2012 at 15:05

This seems to be a repeating theme

https://my.st.com/public/STe2ecommunities/mcu/Lists/STM32Discovery/Flat.aspx?RootFolder=https://my.st.com/public/STe2ecommunities/mcu/Lists/STM32Discovery/uart communication stm32f4&FolderCTID=0x01200200770978C69A1141439FE559EB459D75800084C20D8867EAD444A5987D47BE638E0F&currentviews=746

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
lacava
Associate II
Posted on August 02, 2012 at 16:26

Excuse me,  I am not express me well . I wanted to know how it is sent in correct manner a  Break signal using the UART.

Posted on August 02, 2012 at 18:00

/**
* @brief Transmits break characters.
* @param USARTx: where x can be 1, 2, 3, 4, 5 or 6 to select the USART or
* UART peripheral.
* @retval None
*/
void USART_SendBreak(USART_TypeDef* USARTx)
{
/* Check the parameters */
assert_param(IS_USART_ALL_PERIPH(USARTx));
/* Send break characters */
USARTx->CR1 |= USART_CR1_SBK;
}

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
lacava
Associate II
Posted on August 03, 2012 at 10:12

Thanks clive1.