| 数据搜索系统,热门电子元器件搜索 |
|
SW4STM32C 数据表(PDF) 59 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
SW4STM32C 数据表(HTML) 59 Page - STMicroelectronics |
|
59 / 99 page ![]() DocID030181 Rev 2 59/99 AN4989 Printf debugging 98 7.2 Printf via UART Direct connection from PC UART to board pinout does not work due to signal level incompatibility. Take care to use external adapter (such as MAX232, ST3241EB, FTDI USB/UART) or the USART connected to Virtual-COM port. Trick: Appendix B: Use Nucleo “cutted” ST-LINK as stand-alone VCP on page 89 explains how to use ST-LINK Nucleo stand-alone part as VCP. The straight-forward way to set a Serial Com port with PC host is to use the USART connected to VCP. USART connected to VCP depends on the hardware kit: • Nucleo-32/Nucleo-64: USART2 - PA2/PA3 • Nucleo-144: USART3 - PA9/PA10 • Discovery: not standard. Refer to the board schematics • EVAL: not standard. Refer to the board schematics. Either the VCP or the RS232 connector can be used In STM32CubeMX, for Nucleo board, the VCP USART pins (PA2/PA3) are reserved by default, but required to be enabled by selecting “asynchronous” in USART mode selection box as shown in Figure 40. Figure 40. USART Pinout configuration with STM32CubeMX Then, set the UART communication settings in Configuration -> USART2 Configuration -> Parameter Settings as shown in Figure 41. |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |