cancel
Showing results for 
Search instead for 
Did you mean: 

STMl032cz discovery board UART programming

nisarg shah
Associate
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.

2 REPLIES 2
Nesrine M_O
Lead II
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-

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