96Boards IVY5661¶
Overview¶
This page describes the details of 96Boards ivy5661, it was designed under 96Boards IoT Edition (IE) platform. We can create various BT and(or) Wi-Fi applications with this board, such as Wi-Fi Repeater, BLE Mesh, etc.
Below picture indicate the majar compnents of ivy5661:
Jumpers¶
There are 4 Jumpers on ivy5661, each of them is constructed by 3 pins, they are used for select functions in two or more candidates.
Name | Description | Default |
---|---|---|
JMP0 | Boot Siwtch 0 | 0 |
JMP1 | Boot Switch 1 | 1 |
JMP2 | UART/I2C Switch 0 | 1(UART) |
JMP3 | UART/I2C Siwtch 0 | 1(UART) |
Note: 0 means connect pin1 and pin2, 1 means connect pin2 and pin3 with jumper.
Boot order selection¶
We need to combine JMP0 and JMP1 to switch the boot mode, the combinations are listed below.
JMP0 | JMP1 | Boot |
---|---|---|
0 | 1 | Boot from Flash (normal mode) |
1 | 0 | Boot from ROM CODE (flash mode) |
PINs on extention connector¶
Number | Name | Function Declaration | Direction | GPIO Group | GPIO Pin | Default |
---|---|---|---|---|---|---|
1 | GND | connect to GND | - | - | - | - |
2 | GND | connect to GND | - | - | - | - |
3 | U1CTS | 0: U1CTS 3: GPIO24 5: PCIe_DBG11 |
I I/O/T O |
B | 8 | FUNC0 |
4 | PWR_BTN_N | external access; control power supply of board. |
- | - | - | - |
5 | U1TXD | 0: U1TXD 3: GPIO21 5: PCIe_DBG8 |
O I/O/T O |
B | 5 | FUNC0 |
6 | RST_N | reset board | I | - | - | - |
7 | U1RXD | 0: U1RXD 3: GPIO22 5: PCIe_DBG9 |
I I/O/T O |
B | 6 | FUNC0 |
8 | SD_CLK | 0: SD_CLK 3: GPIO19 5: PCIe_DBG4 |
I/O/T I/O/T O |
B | 3 | FUNC0 |
9 | U1RTS | 0: U1RTS 3: GPIO23 5: PCIe_DBG10 |
O I/O/T O |
B | 7 | FUNC0 |
10 | SD_D0 | 0: SD_D0 3: GPIO18 5: PCIe_DBG3 |
I/O/T I/O/T O |
B | 2 | FUNC0 |
11 | U2TXD | 0: PCIE_WAKE_L 1: U2TXD(G1) 3: GPIO42 |
I/O/T O I/O/T |
C | 10 | FUNC0 |
12 | SD_CMD | 0: SD_CMD 3: GPIO20 4: DB7(G1) 5: PCIe_DBG5 |
I/O/T I/O/T O O |
B | 4 | FUNC0 |
13 | U2RXD | 0: PCIE_RST_L 1: U2RXD(G1) 3: GPIO41 |
I I I/O/T |
C | 9 | FUNC0 |
14 | SD_D1 | 0: SD_D1 3: GPIO17 5: PCIe_DBG2 |
I/O/T I/O/T O |
B | 1 | FUNC0 |
15 | I2CSCL | 0: U3RXD 1: I2C_SCL 3: GPIO31 5: PCIe_DBG7 |
I I/O/T I/O/T O |
C | 15 | FUNC0 |
16 | IISRCK | 0: IISLRCK 1: IIS1LRCK 2: COEX5 3: GPIO6 4: DB2(G0) 5: WB11 |
I/O/T I/O/T I/O I/O/T O O |
A | 6 | FUNC0 |
17 | I2CSDA | 0: U3TXD 1: I2C_SDA 3: GPIO30 5: PCIe_DBG6 |
O I/O/T I/O/T O |
B | 14 | FUNC0 |
18 | IISCLK | 0: IISCLK 1: IIS1CK 2: COEX4 3: GPIO5 4: DB1(G0) 5: WB10 |
I/O/T I/O/T I/O I/O/T O O |
A | 5 | FUNC0 |
20 | IISDO | 0: IISDO 1: IIS1DO 2: COEX3 3: GPIO4 4: DB0(G0) 5: WB9 |
O/T O/T I/O I/O/T O O |
A | 4 | FUNC0 |
22 | IISDI | 0: IISDI 2: COEX6 3: GPIO7 4: DB3(G0) 5: WB12 |
I I/O I/O/T O O |
A | 7 | FUNC0 |
23 | INT | 0: INT 2: COEX7 3: GPIO10 |
O I/O I/O/T |
A | 10 | FUNC0 |
24 | GPIO25 | 0: GNSS_LNA_EN 2: FDMA_CEN 3: GPIO25 |
O I I/O/T |
B | 9 | FUNC3 |
25 | WCI_2_TXD | 0: WCI_2_TXD 2: COEX1 3: GPIO9 4: DB7(G0) 5: WB4 |
O I/O I/O/T O O |
A | 9 | FUNC0 |
26 | WCI_2_RXD | 0: WCI_2_RXD 2: COEX0 3: GPIO8 4: DB2(G1) 5: WB3 |
I I/O I/O/T O O |
A | 8 | FUNC0 |
27 | RFCTL0 | 0: RFCTL0 2: SOC_DBG0 3: GPIO32 5: WB13 |
O O I/O/T O |
C | 0 | FUNC3 |
28 | GPIO43 | 0: U0TXD 3: GPIO43 5: PCIe_DBG12 |
O I/O/T O |
C | 11 | FUNC0 |
29 | RFCTL1 | 0: RFCTL1 2: SOC_DBG1 3: GPIO33 5: WB14 |
O O I/O/T O |
C | 1 | FUNC3 |
30 | RFCTL3 | 0: RFCTL3 2: SOC_DBG3 3: GPIO35 5: WB16 |
O O I/O/T O |
C | 3 | FUNC3 |
31 | RFCTL2 | 0: RFCTL2 2: SOC_DBG2 3: GPIO34 5: WB15 |
O O I/O/T O |
C | 2 | FUNC3 |
32 | RFCTL4 | 0: RFCTL4 2: SOC_DBG4 3: GPIO36 5: WB17 |
O O I/O/T O |
C | 4 | FUNC3 |
33 | MTMS | 0: MTMS 1: PPS(G0) 2: FDMA_MISO 3: GPIO11 4: DB0(G1) 5: WB5 |
I/O O O I/O/T O O |
A | 11 | FUNC0 |
34 | MTCK | 0: MTCK 1: T_DIG(G0) 2: FDMA_MOSI 3: GPIO12 4: DB1(G1) 5: WB6 |
I I I I/O/T O O |
A | 12 | FUNC0 |
35 | VDD1V8 | connect to 1.8V VDD | - | - | - | - |
37 | USB_VBUS | connect to USB to provide power | - | - | - | - |
39 | GND | connect to GND | - | - | - | - |
40 | GND | connect to GND | - | - | - | - |
JTAG Connection¶
If you want to debug program in gdb mode, it requires JTAG connect with the external connector on ivy5661. J-Link is the recommended JTAG tool, it has been tested by many devolopers, the usage guide can be found here.
The minimal requirement for use JTAG interface is 4 wires connect listed below.
20-pin JTAG/SWD | 40-pin extention connector |
---|---|
1 - VCC | 35 - VCC |
3 - TRST | |
5 - TDI | |
7 - TMS/SWDIO | 33 - TMS |
9 - TCK/SWCLK | 34 - TCK |
11 - RTCK | |
13 - TDO/SWO | |
15 - RESET | |
17 - NC | |
19 - NC | |
2 - NC | |
20 - GND | 39 - GND |
BUTTON and LED on the board¶
Name | Control PIN | Description |
---|---|---|
BUTTON0 | RST_N | Reset Button |
BUTTON1 | GPIOA0 | Custom Button |
LED0 | connect to GND and VDD | keeping light on till power on |
LED1 | GPIOA2 | low for light_on, high for light_off |
LED2 | GPIOA3 | low for light_on, high for light_off |
LED3 | GPIOA1 | low for light_on, high for light_off |