cancel
Showing results for 
Search instead for 
Did you mean: 

USART1 Troubles

geoff2399
Associate II
Posted on July 05, 2010 at 05:47

USART1 Troubles

4 REPLIES 4
domen23
Associate II
Posted on May 17, 2011 at 13:57

Just to confirm my assumption... the code works with other usarts?

i should be volatile, or compiler can optimise out the delay loop.

geoff2399
Associate II
Posted on May 17, 2011 at 13:57

Actually, now I have had a chance to connect a CRO to it, I am getting nothing via GPIO at all. Seems my .ld and .s is wrong for the toolchain, any hints on how to use ST Lib 3.3 with codesourcery?

geoff2399
Associate II
Posted on May 17, 2011 at 13:57

Found the problem, was iterating an array with sizeof, not the number of elements... duh! *face palm*

geoff2399
Associate II
Posted on May 17, 2011 at 13:57

Ok, got it working on USART3 but not 1 or 2, any thoughts?