2014-09-22 08:31 PM
how to use ' printf ' to send data with stm32l053 nucleo board?
2014-09-23 05:52 AM
Was there any other detail in your message? The forum doesn't support portable devices (tablet/phone)
How you do this will depend on your tool chain, and how that retargets/semi-hosts the stdio output. In the general sense you'd set up USART2 via PA2/PA3 and then receive the data via the VCP (Virtual Serial Port) implemented through the ST-LINK, and create a putchar() type function to get data to USART2.[DEAD LINK /public/STe2ecommunities/mcu/Lists/STM32Discovery/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/STM32Discovery/USART%20example%20code%20for%20Nucleo%20F401RE&FolderCTID=0x01200200770978C69A1141439FE559EB459D75800084C20D8867EAD444A5987D47BE638E0F¤tviews=335]https://my.st.com/public/STe2ecommunities/mcu/Lists/STM32Discovery/Flat.aspx?RootFolder=%2Fpublic%2FSTe2ecommunities%2Fmcu%2FLists%2FSTM32Discovery%2FUSART%20example%20code%20for%20Nucleo%20F401RE&FolderCTID=0x01200200770978C69A1141439FE559EB459D75800084C20D8867EAD444A5987D47BE638E0F¤tviews=3352014-09-23 07:02 AM
Gùjià n kù
Translate from:
Firmware Library