Skip to main content
Visitor II
April 26, 2007
Question

any UART sample code runs on STR711-SK/IAR?

  • April 26, 2007
  • 4 replies
  • 682 views
Posted on April 26, 2007 at 06:47

any UART sample code runs on STR711-SK/IAR?

    This topic has been closed for replies.

    4 replies

    hg-chenAuthor
    Visitor II
    April 23, 2007
    Posted on April 23, 2007 at 08:40

    Does anyone get UART sample code runs on STR711-SK/IAR?

    not on STR710-EVAL!

    hg-chenAuthor
    Visitor II
    April 23, 2007
    Posted on April 23, 2007 at 09:33

    There are examples in directory C:\....\ARM\examples\ST\STR71x\STR71xLibrary\examples\uart

    but the example seems to use UART0, but the STR711-SK/IAR board 2 UART ports are UART1 and UART2? the code is not match with the hardware?

    and what can I see if the UART works? via Hyperterminal?

    what message I can see?

    hg-chenAuthor
    Visitor II
    April 23, 2007
    Posted on April 23, 2007 at 09:52

    I see the UARTx is selected by jumpers!

    another question is can I use the program for baud rate higher than 9600? how to do it?

    hg-chenAuthor
    Visitor II
    April 23, 2007
    Posted on April 23, 2007 at 23:39

    thank you,

    It works in UART polling sample code!

    in bps 9600 , the hyperterminal responds characters as I typed!

    But when I configure as 19200, the hyperterminal responds data not as I typed, for example, I press ''Enter'' 4 times, the hyperterminal responds as 2 question mark ''? ?'' !?

    anything wrong?