background image

NuMaker-M032BTAI 

 

Apr. 19, 2022 

Page 

42

 of 46 

Rev 1.00 

NUMA

K

E

R

-M0
3

2

B

T

A

I US
E

R M

A

NU

A

L

 

Ma
k

er Nu

-m

be
d

 NUC

47

Us
er Man

ua

 

5.2 M032BTAI Target Board 

Figure 5-2 shows the M032BTAI target board circuit. 

 

Figure 5-2 M032BTAI Target Board Circuit 

 

 

GND
GND
LDO_CAP
VDD_MCU

GND

J31

1

1

PB12_NU4_D13/CLK

PB15_NU4_D10/SS(GPIO)
PB14_NU4_D12/MISO

AVSS

AVDD

PB13_NU4_D11/MOSI

PB11_NU2_A3

PB9_NU2_A1

PB10_NU2_A2

PB8_NU5_CLK
PB7_NU5_MOSI
PB6_NU5_MISO

GND

RF_CLKO

RF_VDD

PB5_NU5_SS
PB4_NU2_A0

PB1_NU2_A5/SCL/TX

PB2_NU3_D0/RX

PB3_NU3_D1/TX

PB0_NU2_A4/SDA/RX
PA11
PA10
PA9
RF_VDD

P35

U1

<M032BTAIAAN>

R

F

_BU

C

K_OU

T

1

VSS

2

VSS

59

VSS

57

VSS

3

LD

O_C

AP

4

VD

D

5

PB.

15/

AD

C

0_C

H

15/

U

SC

I0_C

T

L1/

U

AR

T

0_nC

T

S/

U

AR

T

3_T

XD

/PW

M

1_C

H

0/

T

M

0_EXT

/PW

M

0_BR

AKE1

6

PB.

14/

AD

C

0_C

H

14/

U

SC

I0_D

AT

1/

U

AR

T

0_nR

T

S/

U

AR

T

3_R

XD

/PW

M

1_C

H

1/

T

M

1_EXT

/C

LKO

7

PB.

13/

AD

C

0_C

H

13/

AC

M

P0_P3/

AC

M

P1_P3/

U

SC

I0_D

AT

0/

U

AR

T

0_T

XD

/U

AR

T

3_nR

T

S/

PW

M

1_C

H

2/

T

M

2_EXT

8

PB.

12/

AD

C

0_C

H

12/

AC

M

P0_P2/

AC

M

P1_P2/

U

SC

I0_C

LK/

U

AR

T

0_R

XD

/U

AR

T

3_nC

T

S/

PW

M

1_C

H

3/

T

M

3_EXT

9

AVD

D

10

AVSS

11

PB.

11/

AD

C

0_C

H

11/

U

AR

T

0_nC

T

S/

U

AR

T

4_T

XD

/I

2C

1_SC

L/

BPW

M

1_C

H

0

12

PB.

10/

AD

C

0_C

H

10/

U

SC

I1_C

T

L0/

U

AR

T

0_nR

T

S/

U

AR

T

4_R

XD

/I

2C

1_SD

A/

BPW

M

1_C

H

1

13

PB.

9/

AD

C

0_C

H

9/

U

SC

I1_C

T

L1/

U

AR

T

0_T

XD

/U

AR

T

1_nC

T

S/

U

AR

T

7_T

XD

/BPW

M

1_C

H

2

14

PB.

8/

AD

C

0_C

H

8/

U

SC

I1_C

LK/

U

AR

T

0_R

XD

/U

AR

T

1_nR

T

S/

U

AR

T

7_R

XD

/BPW

M

1_C

H

3

15

PB.

7/

AD

C

0_C

H

7/

U

SC

I1_D

AT

0/

U

AR

T

1_T

XD

/BPW

M

1_C

H

4/

PW

M

1_BR

AKE0/

PW

M

1_C

H

4/

AC

M

P0_O

16

PB.

6/

AD

C

0_C

H

6/

U

SC

I1_D

AT

1/

U

AR

T

1_R

XD

/BPW

M

1_C

H

5/

PW

M

1_BR

AKE1/

PW

M

1_C

H

5/

IN

T

4/

AC

M

P1_O

17

PB.5/ADC0_CH5/ACMP1_N/I2C0_SCL/UART5_TXD/USCI1_CTL0/PWM0_CH0/UART2_TXD/TM0/INT0

18

PB.4/ADC0_CH4/ACMP1_P1/I2C0_SDA/UART5_RXD/USCI1_CTL1/PWM0_CH1/UART2_RXD/TM1/INT1

19

PB.3/ADC0_CH3/ACMP0_N/I2C1_SCL/UART1_TXD/UART5_nRTS/USCI1_DAT1/PWM0_CH2/PWM0_BRAKE0/TM2/INT2

20

PB.2/ADC0_CH2/ACMP0_P1/I2C1_SDA/UART1_RXD/UART5_nCTS/USCI1_DAT0/PWM0_CH3/TM3/INT3

21

PB.1/ADC0_CH1/UART2_TXD/USCI1_CLK/I2C1_SCL/QSPI0_MISO1/PWM0_CH4/PWM1_CH4/PWM0_BRAKE0

22

PB.0/ADC0_CH0/UART2_RXD/I2C1_SDA/QSPI0_MOSI1/PWM0_CH5/PWM1_CH5/PWM0_BRAKE1

23

PA.11/ACMP0_P0/USCI0_CLK/UART6_TXD/BPWM0_CH0/TM0_EXT

24

PA.10/ACMP1_P0/USCI0_DAT0/UART6_RXD/BPWM0_CH1/TM1_EXT

25

PA.9/USCI0_DAT1/UART1_TXD/UART7_TXD/BPWM0_CH2/TM2_EXT

26

RF_VDDPA

60

RF_VDD

27

RF_CLKO

28

PA.8/USCI0_CTL1/UART1_RXD/UART7_RXD/BPWM0_CH3/TM3_EXT/INT4

29

PC.13/USCI0_CTL0/UART2_TXD/BPWM0_CH4/CLKO/ADC0_ST

30

PF.14/PWM1_BRAKE0/PWM0_BRAKE0/PWM0_CH4/CLKO/TM3

31

PF.5/UART2_RXD/UART2_nCTS/PWM0_CH0/BPWM0_CH4/X32_IN/ADC0_ST

32

PF.4/UART2_TXD/UART2_nRTS/PWM0_CH1/BPWM0_CH5/X32_OUT

33

PF.3/UART0_TXD/I2C0_SCL/XT1_IN/BPWM1_CH0

34

PF

.2/

U

AR

T

0_R

XD

/I

2C

0_SD

A/

QSPI

0_C

LK/

XT

1_OU

T

/BPW

M

1_C

H

1

35

PE.

8/

U

SC

I1_C

T

L1/

U

AR

T

2_T

XD

/PW

M

0_C

H

0/

PW

M

0_BR

AKE0

36

PE.

9/

U

SC

I1_C

T

L0/

U

AR

T

2_R

XD

/PW

M

0_C

H

1/

PW

M

0_BR

AKE1

37

PC

.7/

U

AR

T

4_T

XD

/U

AR

T

0_nC

T

S/

U

AR

T

6_T

XD

/PW

M

1_C

H

2/

BPW

M

1_C

H

0/

T

M

0/

IN

T

3

38

PC

.6/

U

AR

T

4_R

XD

/U

AR

T

0_nR

T

S/

U

AR

T

6_R

XD

/PW

M

1_C

H

3/

BPW

M

1_C

H

1/

T

M

1/

IN

T

2

39

PA.

7/

U

AR

T

0_T

XD

/I

2C

1_SC

L/

PW

M

1_C

H

4/

BPW

M

1_C

H

2/

AC

M

P0_W

LAT

/T

M

2/

IN

T

1

40

PA.

6/

U

AR

T

0_R

XD

/I

2C

1_SD

A/

PW

M

1_C

H

5/

BPW

M

1_C

H

3/

AC

M

P1_W

LAT

/T

M

3/

IN

T

0

41

VSS

42

VD

D

43

PA.

5/

QSPI

0_M

ISO1/

U

AR

T

0_nC

T

S/

U

AR

T

0_T

XD

/I

2C

0_SC

L/

U

AR

T

5_T

XD

/BPW

M

0_C

H

5/

PW

M

0_C

H

0

44

PA.

4/

QSPI

0_M

OSI

1/

U

AR

T

0_nR

T

S/

U

AR

T

0_R

XD

/I

2C

0_SD

A/

U

AR

T

5_R

XD

/BPW

M

0_C

H

4/

PW

M

0_C

H

1

45

PA.

3/

QSPI

0_SS/

U

AR

T

4_T

XD

/I

2C

0_SM

BAL/

U

AR

T

1_T

XD

/I

2C

1_SC

L/

BPW

M

0_C

H

3/

PW

M

0_C

H

2/

C

LKO/

PW

M

1_BR

AKE1

46

PA.

2/

QSPI

0_C

LK/

U

AR

T

4_R

XD

/I

2C

0_SM

BSU

S/

U

AR

T

1_R

XD

/I

2C

1_SD

A/

BPW

M

0_C

H

2/

PW

M

0_C

H

3

47

PA.

1/

QSPI

0_M

ISO0/

U

AR

T

0_T

XD

/U

AR

T

1_nC

T

S/

BPW

M

0_C

H

1/

PW

M

0_C

H

4

48

PA.

0/

QSPI

0_M

OSI

0/

U

AR

T

0_R

XD

/U

AR

T

1_nR

T

S/

BPW

M

0_C

H

0/

PW

M

0_C

H

5

49

PF

.15/

PW

M

0_BR

AKE0/

PW

M

0_C

H

1/

T

M

2/

C

LKO/

IN

T

4

50

nR

ESET

51

PF.0/ICE_DAT

52

PF.1/ICE_CLK

53

PC.1/QSPI0_MISO0/UART2_TXD/I2C0_SCL/PWM1_CH4/ACMP0_O/ADC0_ST

54

PC.0/QSPI0_MOSI0/UART2_RXD/I2C0_SDA/PWM1_CH5/ACMP1_O

55

RF_AVDD1V2

67

RF_AVDD1V2

56

RF_IO

58

RF_XTAL_IN

61

RF_XTAL_OUT

62

USB_VBUS

63

USB_D-

64

USB_D+

65

USB_VDD33_CAP

66

RF_BUCK_FB

68

VSS

69

J1

HEADER 2.54 5X2 (NC)

1

2

3

4

5

6

7

8

9

10

PA0_RXD0

PA1_TXD0

ICE

RF_VDD

PF5_X32_IN

PF14

PC13

PA8

PF4_X32_OUT

PF2_XT1_OUT

PF3_XT1_IN

RF_IO

PE8_NU5_GPIO
PE9
PC7_NU3_D6

P12

P11

P36

P35

PF2_XT1_OUT

C40

15pF

C41

15pF

X3

16MHz

XTAL3225
SMCE-3225/CL=9pF/+-10ppm

1

1

2

2

3

3

4

4

PC6_NU3_D7

RF_XT_OUT

RF_XT_IN

HXT & LXT & RF Crystal

PA7_NU4_D8

nRESET

PF1_ICE_CLK

PF0_ICE_DAT

R14
100KR

R0603

VDD

R13
100KR

R0603

PA6_NU4_D9

Title

Size

Document Number

Rev

Date:

Sheet

of

NuMaker-M032BTAI

v1.0

M032BTAIAAN

Custom

2

3

Monday , September 27, 2021

P24

P52 - P69

P35 - P51

P18 - P34

P1 - P17

GND

X1

32MHz(NC)

1

XIN

2

GND

4

GND

3

XOUT

PF4_X32_OUT

PF5_X32_IN

X2

SMD 32.768K X3215

9HT9

VDD_MCU

R1

0

R4

0

C1

20p

C7

20p

PA2_NU3_D5

PA3_NU3_D4

PA5_NU3_D2

P21
P22

P18

C43

0.5pF

C0402

PA4_NU3_D3

P23

P19
P20

C31
0.1uF

C0402

MCU_TX

RF_AVDD1V2_1

RF_VDD

RF_AVDD1V2_2

C32
0.1uF

C0402

RF_VDDPA

C33
0.1uF

C0402

C34
1uF

C0402

Power

P1

RF_BUCK_OUT

P6

P5

VDD_1

P4

LDO_CAP

P3

P2

P10

P9

P8

P7

P51

nRESET

P50

PF15_LED_R

C44

NC

C0402

MCU_RX

P49

PA0_RXD0

J33

MM8030-2610

A

1

B

2

G

3

G

4

Bypass Cap

C5
1u

C0603

USB Power

LDO_CAP

PF15_LED_R
TICERST

TICEDAT
TICECLK

PC0_NU4_SDA

PC1_NU4_SCL

L3

FERRITE BEAD

L0603

J2

micro USB 5pin

MICRO_USB_AB

VBUS

1

D-

2

D+

3

GND

5

ID

4

Shield

6

Shield

7

Shield

8

Shield

9

Shield

10

Shield

11

PF2_XT1_OUT

PF3_XT1_IN

H3

H-3.4X6(NC)

1

H1

H-3.4X6(NC)

1

H4

H-3.4X6(NC)

1

Mounting Hole

C8

20p(NC)

H2

H-3.4X6(NC)

1

C38

0.1uF(NC)

C0603

C2

20p(NC)

SW1

3x6x5 2PIN SMD

SW-2P-SMD

RF_CLKO

PF3_XT1_IN

C9
10u

C0603

R3
10KR

R0603

VDD

RESET

nRESET

1

2

LEDG1
Green

LED0805

R6
330R

R0603

R7
330R

R0603

1

2

LEDR1
Red

LED0805

VDD

PF15_LED_R

RF

VDD_MCU

VDD

SW2

SMD HPS602-E

NU1_VIN

UP2
AMS1117_5v

IN

3

GN

D

1

OU

T

2

OU

T

4

1

2

D2

SS24A

VDD_MCU

VDD

CT5
10uF/10V

TANT-A

1

2

1

2

D1

SS24A

CT4
10uF/10V

TANT-A

1

2

NU1_3VCC

UP1
AMS1117_3.3v

IN

3

GN

D

1

OU

T

2

OU

T

4

R16

0

GND

NU1_5VCC

AMMETER
NC

1

2

MCUVCC_DIODE

JP2

NC

1
2
3
4

JP1

NC

1
2
3
4

VDD

C11
0.1u

CT2

10uF/10V

1

2

L1

FERRITE BEAD

ICE5V

USB_VBUS

NU1_5VCC

NU1_3VCC

R12

0(NC)

RF_BUCK_FB

L31

FERRITE BEAD

C37
1uF

C0402

RF_AVDD1V2

VDD_MCU

RF_VDD

L32

10uH

L0603

Murata/ LQM18FN100M00D

C35
10uF

C0603

L33

15nH

L0402

Sunlord/ SDCL1005C15N

RF_BUCK_OUT

C36
0.1uF

C0402

AVDD

ADAVSS

C12
0.1u

CT3

10uF/10V

1

2

LED

L2

FERRITE BEAD

L4

FERRITE BEAD

C13
0.01u

PCB antenna

P7

P10

P9

P11

P2

P4

P8

P5

P6

RF_AVDD1V2

P1

P3

P14

P13

P12

P16

P15

P17

P33

P34

L39

L0402

0R

C50
0.6pF

C0402

L37

L0402

NC

L35

L0402

1nH

C46

3.3pF

C0402

L36

L0402

0R

P37

P36

C49

0.6pF

P40

P39

P38

C48
NC

C0402

C47
0.8pF

C0402

P42

P41

C45

6.8pF

C0402

L38

1.5nH

P44

P43

P46

P45

USB_VBUS

P49

P48

P47

HJ2

micro USB 5pin(NC)

MICRO_USB_B

VBUS

1

D-

2

D+

3

GND

5

ID

4

Shield

6

Shield

7

Shield

8

Shield

9

Shield

10

Shield

11

P51

P50

P69

D-

D+

USB_D+

USB_D-

R9

27

C10
0.1u

CT1

1uF/16V

1

2

R11

27

USB_VBUS

USB_VBUS

P52

P54

P53

P56

P55

P59

P57
P58

P61

P60

P63

P62

P65

P64

P68

P67

P66

USB_D+

USB_D-

USB_VBUS

USB_VDD33_CAP

C4
0.1u

C0603

C3
0.1u

C0603

VDD_MCU

VDD_2

VDD_1

USB_VDD33_CAP

C6
1u

C0603

P21
P20
P19
P18

P26
P25
P24
P23
P22

P32
P31
P30
P29
P28
P27

P69

P16

P15

P14

P13

P17

P33

PF4_X32_OUT

P34

PF3_XT1_IN

P29

P28

RF_CLKO

P26
P27

RF_VDD

P25

P32

PF5_X32_IN

P31

P30

P37
P38
P39
P40
P41
P42

P46
P47

P45

P44

P43

VDD_2

P48

PA1_TXD0

P55
P56

RF_AVDD1V2_1

P54

P53

PF1_ICE_CLK

P62

RF_XT_OUT

P61

RF_XT_IN

P57
P58

RF_IO

P59
P60

RF_VDDPA

P67

RF_AVDD1V2_2

P66

USB_VDD33_CAP

P64

USB_D-

P65

USB_D+

P63

USB_VBUS

P68

RF_BUCK_FB

L34

1.2nH

C0402

P52

PF0_ICE_DAT

D+

D-

Содержание NuMaker M032BTAI

Страница 1: ...the exclusive intellectual property of Nuvoton Technology Corporation and shall not be reproduced without permission from Nuvoton Nuvoton is providing this document only for reference purposes of NuMicro microcontroller and microprocessor based system design Nuvoton assumes no responsibility for errors or omissions All data and specifications are subject to change without notice For additional inf...

Страница 2: ...Power Sources 18 3 4 4 1 8 V Power Sources 18 3 4 5 Power Connectors 18 3 4 6 USB Connectors 19 3 4 7 Power Switches 19 3 4 8 Power Supply Models 20 3 5 Ammeter Connector 24 3 6 Push Buttons 24 3 7 LEDs 25 3 8 HXT Clock Source Selection 25 3 9 Nu Link2 Me 26 3 9 1 VCOM Switches 26 3 9 2 Status LEDs 27 4 QUICK START 28 4 1 Toolchain Supporting 28 4 2 Nuvoton Nu Link Driver Installation 28 4 3 BSP F...

Страница 3: ...NuMaker M032BTAI Apr 19 2022 Page 3 of 46 Rev 1 00 NUMAKER M032BTAI USER MANUAL Maker Nu mbed NUC472 User Manual 5 3 Extension Connectors 43 5 4 PCB Placement 44 6 REVISION HISTORY 45 ...

Страница 4: ...T_Peripheral Project Folder Path 32 Figure 4 8 Warning Message of Device not found 32 Figure 4 9 Project File Migrate to Version 5 Format 33 Figure 4 10 Debugger Setting in Options Window 33 Figure 4 11 Programming Setting in Options Window 34 Figure 4 12 Compile and Download the Project 34 Figure 4 13 Keil MDK Debug Mode 35 Figure 4 14 Debug Message on Serial Port Terminal Windows 36 Figure 4 15 ...

Страница 5: ...NuMaker M032BTAI Apr 19 2022 Page 5 of 46 Rev 1 00 NUMAKER M032BTAI USER MANUAL Maker Nu mbed NUC472 User Manual Figure 5 5 Rear Placement 44 ...

Страница 6: ...Source 17 Table 3 5 5V Power Sources 17 Table 3 6 3 3 V Power Sources 18 Table 3 7 1 8 V Power Sources 18 Table 3 8 Power Connectors 18 Table 3 9 USB Connectors 19 Table 3 10 Power Switches 19 Table 3 11 Supply External Power through Nu Link2 Me 20 Table 3 12 Supply External Power for M032BTAI Target Board 23 Table 3 13 Ammeter Connector 24 Table 3 14 Push Buttons 24 Table 3 15 LEDs 25 Table 3 16 ...

Страница 7: ...monitoring function The M032BTAI target board is based on NuMicro M032BTAIAAN For the development flexibility the M032BTAI target board provides the extension connectors the Arduino UNO compatible headers and the capability of adopting multiple power supplies Furthermore the Nuvoton designed ammeter connector can measure the power consumption instantly which is essential for the prototype evaluati...

Страница 8: ...connectors Ammeter connector for measuring the microcontroller s power consumption PCB antenna Microwave coaxial connector with switch for characteristics measurement Flexible board power supply External VDD power connector Arduino UNO compatible extension connector Vin USB FS connector on M032BTAI target board ICE USB connector on Nu Link2 Me On board Nu Link2 Me debugger and programmer Debug thr...

Страница 9: ...Coaxial Connector PCB Antenna Figure 3 1 Front View of NuMaker M032BTAI Figure 3 1 shows the main components and connectors from the front side of NuMaker M032BTAI The following lists components and connectors from the front view Target chip M032BTAIAAN U1 USB Full Speed Connector J2 Arduino UNO Compatible Extension Connectors NU1 NU2 NU3 NU4 NU5 M032BT Extension Connectors JP3 JP4 External VDD Po...

Страница 10: ...re 3 2 shows the main components and connectors from the rear side of NuMaker M032BTAI The following lists components and connectors from the rear view Nu Link2 Me MCUVCC Power Switch ICEJPR1 ICEVCC Power Switch ICEJPR2 ICEVCC Power Switch MCUVCC Power Switch Figure 3 2 Rear View of NuMaker M032BTAI ...

Страница 11: ... pins extension connectors on the NuMaker M032BTAI NU1 NU2 NU3 NU4 and NU5 Arduino UNO compatible pins on the NuMaker M032BTAI Table 3 1 Extension Connectors 3 3 1 Pin Assignment for Extension Connectors The NuMaker M032BTAI provides the M032BTAIAAN onboard and extension connectors JP3 JP4 Figure 3 3 shows the M032BTAIAAN extension connectors JP3 Pin1 Pin34 JP4 Pin35 Pin68 Figure 3 3 M032BTAIAAN E...

Страница 12: ... BPWM1_CH2 JP3 15 15 PB 8 ADC0_CH8 USCI1_CLK UART0_RXD UART1_nRTS BPWM1_CH3 JP3 16 16 PB 7 ADC0_CH7 USCI1_DAT0 UART1_TXD BPWM1_CH4 PWM1_BRAKE0 PWM1_CH4 ACMP0_O JP3 17 17 PB 6 ADC0_CH6 USCI1_DAT1 UART1_RXD BPWM1_CH5 PWM1_BRAKE1 PWM1_CH5 INT4 ACMP1_O JP3 18 18 PB 5 ADC0_CH5 ACMP1_N I2C0_SCL UART5_TXD USCI1_CTL0 PWM0_CH0 UART2_TXD TM0 INT0 JP3 19 19 PB 4 ADC0_CH4 ACMP1_P1 I2C0_SDA UART5_RXD USCI1_CTL...

Страница 13: ..._CH1 TM1 INT2 JP4 6 40 PA 7 UART0_TXD I2C1_SCL PWM1_CH4 BPWM1_CH2 ACMP0_WLAT TM2 INT1 JP4 7 41 PA 6 UART0_RXD I2C1_SDA PWM1_CH5 BPWM1_CH3 ACMP1_WLAT TM3 INT0 JP4 8 42 VSS JP4 9 43 VDD JP4 10 44 PA 5 QSPI0_MISO1 UART0_nCTS UART0_TXD I2C0_SCL UART5_TXD BPWM0_CH5 PWM0_CH0 JP4 11 45 PA 4 QSPI0_MOSI1 UART0_nRTS UART0_RXD I2C0_SDA UART5_RXD BPWM0_CH4 PWM0_CH1 JP4 12 46 PA 3 QSPI0_SS UART4_TXD I2C0_SMBAL...

Страница 14: ...o Function JP4 24 58 RF_I O JP4 25 59 VSS JP4 26 60 RF_VDDPA JP4 27 61 RF_XTAL_IN JP4 28 62 RF_XTAL_OUT JP4 29 63 USB_VBUS JP4 30 64 USB_D JP4 31 65 USB_D JP4 32 66 USB_VDD33_CAP JP4 33 67 RF_AVDD1V2 JP4 34 68 RF_BUCK_FB 69 EPAD VSS Table 3 2 M032BTAIAAN Full pin Extension Connectors and GPIO Function List ...

Страница 15: ...7 PWM1_CH4 PA 7 D8 PWM1_CH5 PA 6 D9 PB 15 CS PWM1_CH0 PB 15 D10 USCI0_DAT0 MOSI PWM1_CH2 PB 13 D11 USCI0_DAT1 MISO PWM1_CH1 PB 14 D12 USCI0_CLK CLK PWM1_CH3 PB 12 D13 VSS VSS AVDD VREF I2C0_SDA PC 0 SDA I2C0_SCL PC 1 SCL VIN VSS VSS 5V 3V RST IOREF VDD NC A5 PB 1 ADC0_CH1 I2C1_SCL UART2_TXD A4 PB 0 ADC0_CH0 I2C1_SDA UART2_RXD A3 PB 11 ADC0_CH11 A2 PB 10 ADC0_CH10 A1 PB 9 ADC0_CH9 A0 PB 4 ADC0_CH4 ...

Страница 16: ...PE 8 NU3 NU3 1 D0 PB 2 NU2 NU2 6 A5 PB 1 NU3 2 D1 PB 3 NU2 5 A4 PB 0 NU3 3 D2 PA 5 NU2 4 A3 PB 11 NU3 4 D3 PA 4 NU2 3 A2 PB 10 NU3 5 D4 PA 3 NU2 2 A1 PB 9 NU3 6 D5 PA 2 NU2 1 A0 PB 4 NU3 7 D6 PC 7 NU1 NU1 8 VIN NU3 8 D7 PC 6 NU1 7 VSS NU4 NU4 1 D8 PA 7 NU1 6 VSS NU4 2 D9 PA 6 NU1 5 5V NU4 3 D10 PB 15 NU1 4 3V NU4 4 D11 PB 13 NU1 3 RST nRESET NU4 5 D12 PB 14 NU1 2 IOREF VDD NU4 6 D13 PB 12 NU1 1 NC...

Страница 17: ...d external power source with voltage range from 7 V to 12 V The voltage regulator UP2 converts the NU1 pin8 input voltage to 5 V and supplies it to NU1_5VCC Table 3 4 Vin Power Source 3 4 2 5 V Power Sources Table 3 5 presents the 5 V power sources Connector Net Name in Schematic Description ICEJ3 USB_HS_VBUS ICE USB connector supplies 5 V power from PC to M032BTAI target board and Nu Link2 Me J2 ...

Страница 18: ...P1 converts NU1_5VCC to 3 3 V and supplies 3 3 V to M032BTAI target board Note SW2 2 NU1 3VCC should be switched to ON Table 3 6 3 3 V Power Sources 3 4 4 1 8 V Power Sources Table 3 7 presents the 1 8 V power source Voltage Regular 5V Source Description ICEUP2 USB_HS_VBUS ICEUP2 converts USB_HS_VBUS to 1 8 V and supplies 1 8 V to M032BTAI target board or ICE chip Table 3 7 1 8 V Power Sources 3 4...

Страница 19: ...power supply Table 3 9 USB Connectors 3 4 7 Power Switches Table 3 10 presents the power switches Switch Description ICEJPR1 Configures the target chip operating voltage at 1 8 V 3 3 V 5 V Note M032BT operating voltage range is from 1 8 V to 3 6 V Do not switch ICEJPR1 MCUVCC to 5 V ICEJPR2 Configures the ICE chip operating voltage at 1 8 V 3 3 V SW2 Configures the target chip operating voltage at...

Страница 20: ...CE chip operating voltage 3 Switch the SW2 to OFF 4 Connect the external power supply to ICEJ3 Table 3 11 presents all power models when supplying external power through Nu Link2 Me The Nu Link2 Me external power sources are highlighted in yellow Model Target Chip Voltage ICEJ3 ICEJPR1 MCUVCC Selection 1 ICEJPR2 ICEVCC Selection 2 ICE Chip Voltage SW2 Selection J2 Vin JP1 1 1 8 V Connect to PC 1 8...

Страница 21: ... operating voltage 4 Connect the external power supply to Vin or J2 To use JP1 as external power supply source please follow the steps below Switch the SW2 to OFF 2 Remove the resistor on ICEJPR1 MCUVCC 3 Solder the resistor on ICEJPR2 ICEVCC depending on the ICE chip operating voltage 4 Connect ICEJ3 to PC 5 Connect the external power supply to JP1 To use Vin or J2 as external power supply source...

Страница 22: ...9 2022 Page 22 of 46 Rev 1 00 NUMAKER M032BTAI USER MANUAL NU1 pin8 Vin External VDD Connector JP1 External VSS Connector JP2 Detach Nu Link2 Me USB Power Connector J2 Figure 3 7 Detach the Nu Link2 Me from NuMaker M032BTAI ...

Страница 23: ... V Input NU1 5VCC 5 V output Remove resistor 3 3 V 3 3 V 7 5 V Connect to PC NU1 5VCC 5 V output Remove resistor 3 3 V 3 3 V 8 1 8 V 3 6 V Connect to PC OFF DC Input 1 8 V 3 6 V Remove resistor 1 8 V 3 3 V 1 8 V 3 3 V 9 1 8 V 3 6 V Nu Link2 Me removed OFF DC Input 1 8 V 3 6 V Note 1 The Vin input voltage will be converted by voltage regulator UP2 to 5 V Supplying external power to Vin or J2 can pr...

Страница 24: ...he target chip power consumption easily User needs to remove the R16 resistor Table 3 13 Ammeter Connector Remove the R16 Resistor Figure 3 8 Wiring between Ammeter Connector and Ammeter 3 6 Push Buttons Table 3 14 presents the push buttons Component Description ICESW1 Offline program button to start offline ICP programming the target chip SW1 Reset button to reset the target chip Table 3 14 Push ...

Страница 25: ... 15 LEDs 3 8 HXT Clock Source Selection If PF 2 and PF 3 are configured as external clock pins or external crystal pins user needs to switch the clock source to external clock or external crystal oscillator by soldering resistors Table 3 16 lists how to switch the clock source of HXT Clock Source Description External Crystal Oscillator X1 C2 and C8 should be soldered and the frequency depends on t...

Страница 26: ...he Nu Link2 Me could be detached from the evaluation board and become a stand alone mass production programmer For more information about Nu Link2 Me please refer to Nu Link2 Pro Debugger and Programmer User Manual 3 9 1 VCOM Switches Table 3 17 presents how to set the VCOM function by ICESW2 ICESW2 Pin Function Description 1 TXD On Connect target chip PA 1 UART0_TXD to Nu Link2 Me Off Disconnect ...

Страница 27: ... On One Nu Link2 Me is selected to connect Flash x 3 Flash x 3 Flash x 3 On ICE online Not connected to a target chip On Flash x 3 Flash x 3 ICE online Connected to a target chip On On ICE online Failed to connect to a target chip On Any Flash On During offline programming On Flash Offline programming completed On Offline programming completed Auto mode On On Offline programming failed On Flash No...

Страница 28: ...hain has been installed KEIL MDK Nuvoton edition M0 M23 4 2 Nuvoton Nu Link Driver Installation Download and install the latest Nuvoton Nu Link Driver Download and install Nu Link_Keil_Driver when using Keil MDK Please install the Nu Link USB Driver as well at the end of the installation The installation is presented in Figure 4 1 and Figure 4 2 Figure 4 1 Nu Link USB Driver Installation Setup ...

Страница 29: ...NuMaker M032BTAI Apr 19 2022 Page 29 of 46 Rev 1 00 NUMAKER M032BTAI USER MANUAL Maker Nu mbed NUC472 User Manual Figure 4 2 Nu Link USB Driver Installation ...

Страница 30: ... Download and unzip the Board Support Package BSP 4 4 Hardware Setup 1 Open the virtual COM VCOM function by changing Nu Link2 Me VCOM Switch No 1 and 2 to ON Figure 4 3 Open VCOM Function 2 Connect the ICE USB connector shown in Figure 4 4 to the PC USB port through a USB cable Figure 4 4 ICE USB Connector ...

Страница 31: ...d NUC472 User Manual 3 Find the Nuvoton Virtual COM Port on the Device Manger as Figure 4 5 Figure 4 5 Device Manger 4 Open a serial port terminal PuTTY for example to print out debug message Set the speed to 115200 Figure 4 6 presents the PuTTY session setting Figure 4 6 PuTTY Session Setting ...

Страница 32: ...ct Folder Path 4 6 Execute the Project under Toolchains Open and execute the project under the toolchain The section 4 6 1 describes the steps of executing project in Keil MDK 4 6 1 Keil MDK This section provides steps to beginners on how to run a project by using Keil MDK 1 Double click the TRSP_UART_Peripheral uvproj to open the project Figure 4 8 Warning Message of Device not found Note If Figu...

Страница 33: ...1 2 3 Figure 4 9 Project File Migrate to Version 5 Format 2 Make sure the debugger is Nuvoton Nu Link Debugger as shown in Figure 4 10 and Figure 4 11 2 1 Figure 4 10 Debugger Setting in Options Window Note If the dropdown menu in Figure 4 10 does not contain Nuvoton Nu Link Debugger item please rework section 4 2 ...

Страница 34: ...mming Setting in Options Window 3 Rebuild all target files After successfully compiling the project download code to the Flash memory Click Start Stop Debug Section button to enter debug mode 1 3 2 4 1 Rebuild 3 Download 4 Start Stop Debug 2 Successfully compile Figure 4 12 Compile and Download the Project ...

Страница 35: ... shows the debug mode under Keil MDK Click Run and the debug message will be printed out as shown in Figure 4 14 User can debug the project under debug mode by checking source code assembly language peripherals registers and setting breakpoint step run value monitor etc 2 Stop 3 1 2 1 Run 3 Reset Figure 4 13 Keil MDK Debug Mode ...

Страница 36: ...bug Message on Serial Port Terminal Windows 5 User can download and install NuvotonBLE from Google Play Store Android devices or App Store Apple devices Figure 4 15 Search for NuvotonBLE on Google Play Store or App Store 6 Open the NuvotonBLE and turn on Bluetooth in settings of the mobile phone ...

Страница 37: ...u mbed NUC472 User Manual iOS Android Figure 4 16 NuvotonBLE Icon Andriod iOS Figure 4 17 Turn on Bluetooth on Mobile Phone 7 After clicking Scan users can see many Bluetooth devices Please click Nuvoton_TRSP_UART to connect 1 3 4 2 Figure 4 18 Connect to Nuvoton_TRSP_UART on Android Phone ...

Страница 38: ...ART on iPhone 8 User can type a string in the NuvotonBLE text input field and click the SEND button then the data can be transmitted from the mobile phone to M032BT through BLE and finally sent to the PC through the M032BT UART and displayed on the terminal window 1 2 3 4 Figure 4 20 Transfer String from Android Phone to M032BT ...

Страница 39: ...re 4 21 Transfer String from iPhone to M032BT 9 User can type a string in the terminal window and press enter then the data can be transmitted from M032BT to the mobile phone through BLE and finally displayed on the NuvotonBLE main screen 1 2 Type a string and press Enter Figure 4 22 Transfer String from M032BT to Andriod Phone ...

Страница 40: ...NuMaker M032BTAI Apr 19 2022 Page 40 of 46 Rev 1 00 NUMAKER M032BTAI USER MANUAL 1 2 Type a string and press Enter Figure 4 23 Transfer String from M032BT to iPhone ...

Страница 41: ...SUSB_ID 48 VSS 49 LDO_CAP 50 VDD 51 PC 14 52 PB 15 53 PB 14 54 PB 13 55 PB 12 56 AVDD 57 VREF 58 AVSS 59 PB 11 60 PB 10 61 PB 9 62 PB 8 63 PB 7 64 SWDH_DAT ICELED ICEVDD SWDH_RST HXT_I ICE_RST ICEVDD HXT_O SWO ISPLED KEY1 ICEC6 1u C0603 GND ICEVDD USB_HS_VBUS USB_HS_CAP USB_HS_REXT GND USB_HS_D USB_HS_D USB_HS_CAP ICE_DAT ICEC2 1u C0603 ICE_CLK SPIM_D3 SPIM_MISO0 SPIM_CS SPIM_MOSI0 SPIM_CLK SPIM_D...

Страница 42: ...XD I2C0_SCL PWM1_CH4 ACMP0_O ADC0_ST 54 PC 0 QSPI0_MOSI0 UART2_RXD I2C0_SDA PWM1_CH5 ACMP1_O 55 RF_AVDD1V2 67 RF_AVDD1V2 56 RF_IO 58 RF_XTAL_IN 61 RF_XTAL_OUT 62 USB_VBUS 63 USB_D 64 USB_D 65 USB_VDD33_CAP 66 RF_BUCK_FB 68 VSS 69 J1 HEADER 2 54 5X2 NC 1 2 3 4 5 6 7 8 9 10 PA0_RXD0 PA1_TXD0 ICE RF_VDD PF5_X32_IN PF14 PC13 PA8 PF4_X32_OUT PF2_XT1_OUT PF3_XT1_IN RF_IO PE8_NU5_GPIO PE9 PC7_NU3_D6 P12 ...

Страница 43: ...0 3 D11 4 D12 5 D13 6 VSS 7 VREF 8 I2C_SDA 9 I2C_SCL 10 P1 P34 NU2 HEADER 2 54 6X1 f emale A0 1 A1 2 A2 3 A3 4 A4 SDA 5 A5 SCL 6 PA7_NU4_D8 PA2_NU3_D5 PC7_NU3_D6 PC6_NU3_D7 PA6_NU4_D9 Title Size Document Number Rev Date Sheet of NuMaker M032BTAI v1 0 Ext Connector Custom 3 3 Monday September 27 2021 PA4_NU3_D3 PA5_NU3_D2 PA3_NU3_D4 P35 P68 GND TICERST PB9_NU2_A1 PB10_NU2_A2 PB4_NU2_A0 GND PC1_NU4_...

Страница 44: ...I Apr 19 2022 Page 44 of 46 Rev 1 00 NUMAKER M032BTAI USER MANUAL 5 4 PCB Placement Figure 5 4 and Figure 5 5 show the front and rear placement of NuMaker M032BTAI Figure 5 4 Front Placement Figure 5 5 Rear Placement ...

Страница 45: ...NuMaker M032BTAI Apr 19 2022 Page 45 of 46 Rev 1 00 NUMAKER M032BTAI USER MANUAL Maker Nu mbed NUC472 User Manual 6 REVISION HISTORY Date Revision Description 2022 04 19 1 00 Initial version ...

Страница 46: ... but is not limited to equipment for surgical implementation atomic energy control instruments airplane or spaceship instruments the control or operation of dynamic brake or safety systems designed for vehicular use traffic signal instruments all types of safety devices and other applications intended to support or sustain life All Insecure Usage shall be made at customer s risk and in the event t...

Отзывы: