Professional Documents
Culture Documents
Wi-Fi & Bluetooth LE SoC NANO (BK7231N) - Documentation - Documentation
Wi-Fi & Bluetooth LE SoC NANO (BK7231N) - Documentation - Documentation
(BK7231N)
Version: 20220113
Online Version
Contents
Contents
1 Applications 2
2 Components 3
4 Load-carrying capacity 8
12 Things to note 18
I
Contents
The Tuya Sandwich Wi-Fi and Bluetooth LE combo SoC NANO has BK7231N chip as
a microcontroller, which is designed to help you easily prototype your IoT ideas. It
can work with functional boards or circuit boards to implement specific features.
1 / 18
1 Applications
1 Applications
2 / 18
2 Components
2 Components
The development board is integrated with the cost-effective Wi-Fi and Bluetooth LE
combo chip BK7231N from Beken Corporation. It has on-board buttons, LED, GPIOs,
and a USB-to-serial chip. For more information, see BK7231N Datasheet.
3 / 18
3 I/O port and pin description
1. Micro-USB (CN1): Inputs 5V DC voltage and provides two extended serial ports
2. DIP switch (S1): Flip the toggle to the ON position to complete the circuit. The
switch is used to open and close the circuit between the USB-to-serial chip and
the chip’s serial port.
3. LED indicator (D3): When the 3.3V power is on, the LED is on.
4. Button (S2): When the button is pressed, P9 outputs low. When the button is
released, it outputs high.
5. LED indicator (D2): When P16 outputs low, the LED is on.
6. Button (RST): When the button is pressed, P9 outputs low. When the button is
released, it outputs high.
• Pin description
1 NC Leave it floating.
2 3.3V 3.3V power pin.
3 NC Leave it floating.
4 NC Leave it floating.
5 NC Leave it floating.
4 / 18
3 I/O port and pin description
5 / 18
3 I/O port and pin description
6 / 18
3 I/O port and pin description
7 / 18
4 Load-carrying capacity
4 Load-carrying capacity
• When micro-USB (CN1) inputs 5V DC voltage, the board can supply power to
external components.
Output
current 0A 0.15A 0.3A 0.45A 0.6A 0.75A
Note: We tested the voltage under the condition that there is no output
voltage on the micro-USB (CN1) terminal.
8 / 18
5 Schematic diagram and PCB
9 / 18
5 Schematic diagram and PCB
10 / 18
6 How USB-to-serial works
• The board has a built-in USB-to-serial chip. The single-channel USB port can
provide two extended serial ports. You can flip the DIP switch (S1) to enable
the 2-channel serial port on the BK7231N to connect to the USB-to-serial chip.
The following table lists the pin definition of the DIP switch.
Note:
Flip the toggle to the ON position to complete the circuit. The switch is
used to open and close the circuit between the USB-to-serial chip and the
chip’s serial port.
When you use the UART pin on the chip for communication with an MCU or
GPIO, flip the toggle of the corresponding channel to the OFF position (the
side with numbers) to open the circuit between the UART on BK7231N and
the USB-to-serial chip.
11 / 18
6 How USB-to-serial works
Note: The COM port number varies depending on computers so we use SERIAL-A
and SERIAL-B to indicate the two COM ports.
12 / 18
7 Connection for DOWNLOAD mode
Flip the toggles of channel 1 and 2 on the DIP switch (S2) to the ON position to
complete the circuit between the UART1 on BK7231N and the host.
13 / 18
8 Connection for viewing logs on the host
Flip the toggles of channel 3 and 4 on the DIP switch (S2) to the ON position to
complete the circuit between the UART2 on BK7231N and the host.
14 / 18
9 Connection for user I/O and host communication
Flip the toggles of channel 1 and 2 on the DIP switch (S2) to the ON position to
complete the circuit between the UART1 on BK7231N and the host.
15 / 18
10 Connection for using both UARTs as GPIOs
Flip the toggles of channel 1 to 4 on the DIP switch (S2) to the OFF position to open
the circuit between the UARTs on BK7231N and the USB-to-serial chip.
16 / 18
11 USB-to-serial chip driver
• For Windows
• For Linux
17 / 18
12 Things to note
12 Things to note
• The board has a built-in power supply port and circuit, so the additional power
board is not necessary.
• This board only supports USB port that supplies 5V output.
• If you want to use P10, P11, P00, and P01 for other circuits, make sure to flip
the toggle of the corresponding channel to the OFF position to open the circuit
between the UART on BK7231N and the USB-to-serial chip.
18 / 18