| 전자부품 데이터시트 검색엔진 |
|
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. |
|
링크 URL |
| 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 |