STMl032cz discovery board UART programming
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-01-18 10:46 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-01-19 2:12 AM
Hi
nisarg.shah
,I recommend you to start from ready UART examples under the STM32L0 cube firmware package,it may help:
- STM32Cube_FW_L0_V1.0\Projects\STM32L031K6-Nucleo\Examples\UART
- 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-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-01-19 3:40 AM
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