cancel
Showing results for 
Search instead for 
Did you mean: 

How to write usart code when you have HW flow control - example?

prijazendom
Associate II
Posted on October 03, 2013 at 04:13

Hi,

I'd kindly ask if anyone can point me to robust uart example, possibly with interrupts, dma and hardware flow control...

I also wonder how flow control affects other code and functions ?

Thanks in advance,

regards,

Bulek
3 REPLIES 3
Amel NASRI
ST Employee
Posted on October 17, 2013 at 13:07

Hi Bulek,

You didn't specified which product are you using. But if it is the F1, you can find many examples using USART with DMA, interrupts, HW flow control...

Try to download the 

http://www.st.com/web/en/catalog/tools/PF257890

& you can see examples in the folder Project\STM32F10x_StdPeriph_Examples\USART.

-Mayla-

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

prijazendom
Associate II
Posted on November 12, 2013 at 13:54

Hi,

thanks for link. I use F0 - how similar is it to F1 ? Is it worth to base code on mentioned examples for F1 ?

Thanks in advance,

regards,

Bulek.

Amel NASRI
ST Employee
Posted on November 12, 2013 at 16:30

Hi Bulek,

Refering to and , it is confirmed that F1 USART software is compatible with F0. F0 has some more features compared to F1.

You can check in table 24 of AN4088 what may need some updates (almost all fucntions are the same).

-Mayla-

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.