Skip to main content
nisarg shah
Associate
January 19, 2018
Question

STMl032cz discovery board UART programming

  • January 19, 2018
  • 2 replies
  • 704 views
Posted on January 19, 2018 at 07:46

i am using STMl032cz discovery controller, and IAR to write the code. I have written simple code for UART using polling method, but not able to transmit the data and see it on tera term. I am new with this can check the below attached code and guide me through the proper direction.

    This topic has been closed for replies.

    2 replies

    Nesrine M_O
    Associate
    January 19, 2018
    Posted on January 19, 2018 at 11:12

    Hi

    nisarg.shah

    ,

    I recommend you to start from ready UART examples under the STM32L0 cube firmware package,it may help:

    1. STM32Cube_FW_L0_V1.0\Projects\STM32L031K6-Nucleo\Examples\UART
    2. STM32Cube_FW_L0_V1.0\Projects\STM32L031K6-Nucleo\Examples\UART\UART_HyperTerminal_DMA:This example describes an UART transmission (transmit/receive) in DMA mode between a board and an Hyperterminal PC application.

    -Nesrine-

    nisarg shah
    Associate
    January 19, 2018
    Posted on January 19, 2018 at 11:40

    Yes, sir but I don’t have nucleo board . The board which I am using is STM 32 Discovery and I just want to learn what in correct I am doing in my code. It would be great if you can help

    ________________

    Attachments :

    image001.jpg : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Hy7b&d=%2Fa%2F0X0000000b4B%2FTMim6AhsER4maSdTjPso4uyWHOhdGIwOyEV27Fqttww&asPdf=false