Template:XNUCLEO FAQ

From Waveshare Wiki
Jump to: navigation, search

FAQ

Question:
How to connect with a XNUCLEO development board for testing?
Answer:

Before the testing, please make preparations as follow:

  1. A power supply;
  2. A programmer or emulator, such as ST-Link V2 (mini);
  3. A Micro USB cable;
  4. Setting the JP3.

Steps:

1. Connect to the power supply. There are two ways for power supply, and either of them is available:

  • USB: This USB interface can be used for either USB communication testing or power supply.
  • USB TO UART:This interface is a USB to serial interface (Virtual Serial Port) for serial communication debugging. It can also be used for power supply.
  • DC socket for DC power supply unit (6~12V).

2. Setting the JP3. When using the USB or the USB TO UART interface for power supply, the JP3 should select U5V; when using the DC power supply unit (6~12V) as power supplier, the JP3 should select E5V;

3. Connect the ST-Link V2 (mini)to the SWD interface on the XNUCLEO board for program downloading or emulation.

4. For serial communication debugging, connect your PC to the USB TO UART interface on the XNUCLEO board.

Connect your PC to the board via the USB TO UART interface for serial debugging. In this case, the XNUCLEO board is power supplied by the PC USB.
Connect your PC to the board via the USB interface for USB communication testing. In this case, the XNUCLEO board is power supplied by the PC USB.
Connect your PC to the board via the USB and the USB TO UART interfaces for USB communication testing and serial debugging. In this case, the XNUCLEO board is power supplied by the PC USB.
Connect a DC power supply unit to the board. In this case, the XNUCLEO board is power supplied by the external power source.
Connect a DC power supply unit to the board and connect your PC to the board via the USB TO UART interface for serial debugging. In this case, the XNUCLEO board is power supplied by the external power source.
Connect a DC power supply unit to the board. And connect your PC to the board via the USB and the USB TO UART interfaces for USB communication testing and serial debugging. In this case, the XNUCLEO board is power supplied by the external power source.