Rigado Inc. 10 ユーザーズマニュアル

ページ / 31
BMD-340 Module Datasheet 
Bluetooth 5 + 802.15.4 
May 21, 2018 
BMD-340-DS V1.0 
  
 
 
Page 8 of 31 
6.2 Peripheral Pins 
The BMD-340 features a pin muxing system that allows most internal peripherals, such as UART and SPI, to be 
used on any GPIO pin. This freedom in pin choice enables better optimization of designs and PCB layout. Note that 
only one peripheral signal can be muxed to a GPIO pin at a time. Some functions are restricted to certain pins due 
to additional internal circuitry required by the interface. These include: Trace signals, analog inputs, XTAL signals, 
USB signals, SWD interface, and reset. See Table 4 below for details: 
 
Peripheral  
Signal 
Pin Options 
UART0, UART1 
All 
P0.00-P0.31, P1.00-P1.15 
I2C0, I2C1 
SPI0, SPI1, SPI2, SPI3 
I2S0 
QSPI0 
PWM0, PWM1, PWM2, PWM3 
PDN0 
ADC, COMP, LPCOMP 
All 
P0.02-P0.05, P0.28-P0.31 
(AIN0-AIN7) 
NFC 
NFC1 
P0.09 
NFC2 
P0.10 
Reset 
RESET
̅̅̅̅̅̅̅̅ 
P0.18 
Trace 
TRACECLK 
P0.07 
SWO/TRACEDATA[0] 
P1.00 
TRACEDATA[1] 
P0.12 
TRACEDATA[2] 
P0.11 
TRACEDATA[3] 
P1.09 
SWD 
SWD Clock 
SWCLK 
SWD IO 
SWDIO 
32.768kHz Crystal 
XTAL1 
P0.00 
XTAL2 
P0.01 
USB 
USB Data + 
USB-D+ 
USB Data - 
USB-D- 
Table 4 – Peripheral Pin Options 
 
Note: Some peripherals on the BMD-340 share the same memory location for their registers. This means that only 
one of these peripherals can be used at a time. It is possible to switch between peripherals that share the same 
register location by clearing and reinitializing the associated configuration registers. See the Nordic Semiconductor 
nRF52840 Product Specification for details. 
 
Peripheral 
ID 
Base Address 
Shared Peripherals 
0x40003000 
SPI0 
I2C0 
0x40004000 
SPI1 
I2C1 
Table 5 – Peripherals with Shared Registers