B504 Datasheet
Functional description
Overview
The B-Series System-on-a-Module (SoM) is a cellular device with support for BLE (Bluetooth LE). It is based on the Nordic nRF52840 microcontroller.
The B-Series is designed to be integrated into your circuit board design, plugging into a M.2 NGFF connector on your board, allowing the module to be changed or upgraded easily.
Features
- Quectel EG91-NAX cellular modem
- LTE Cat 1 module with 3G fallback with Americas bands
- Support for United States, Canada, and Mexico only
- 3GPP E-UTRA Release 13
- LTE Cat 1 bands: 2, 4, 5, 12, 13, 25, 26
- UMTS (3G) bands: 2, 4, 5
- Embedded Particle EtherSIM
- GNSS (GPS)
- Nordic Semiconductor nRF52840 SoC
- ARM Cortex-M4F 32-bit processor @ 64MHz
- 1MB flash, 256KB RAM
- Bluetooth 5: 2 Mbps, 1 Mbps, 500 Kbps, 125 Kbps
- Supports DSP instructions, HW accelerated Floating Point Unit (FPU) and encryption functions
- Up to +8 dBm TX power (down to -20 dBm in 4 dB steps)
- NFC-A tag
- On-module additional 4MB SPI flash
- 24 mixed signal GPIO (8 x Analog, 8 x PWM), UART, I2C, SPI
- USB 2.0 full speed (12 Mbps)
- JTAG (SWD) pins
- Pins for RGB LED used for connection status
- Pins for reset and mode buttons
- On-module MFF2 Particle SIM
- Three on-module U.FL connectors for external antennas
- Connects to your base board or eval board that has a Particle M.2 connector
- FCC (United States) certified
- RoHS compliant (lead-free)
Model comparison
- EtherSIM devices generally have a larger number of carriers and more may be added in the future
- NorAm: North America (United States, Canada, and Mexico)
- Americas: North America, Central, and South America (not all countries supported)
- LTE Cat M1: Low-power cellular intended for IoT devices
- LTE Cat 1: Available in more countries and has higher data rates
- EMEAA: Europe, Middle East, Africa, and Asia (not all countries supported)
- NRND: Not recommended for new designs
- See the Carrier list for specific carrier and country compatibility
- See the Supply secure FAQ for more information
- See Lifestyle stages for more information
Device OS support
The B504 requires Device OS 5.0 or later. Using the most recent version 5.x or 6.x version is recommended.
The B504 is platform b5som
, not bsom
used by the B404X. While source code is compatible across both B-Series SoM
models, binaries must be compiled separately for each.
Additionally, products can only contain one platform. Thus if you have both B404X and B504, they must be in separate
products. You can, however, put the B504 and B524/B523 devices in the same product.
For information on upgrading Device OS, see Version information. For the latest version shipped from the factory, see Manufacturing firmware versions page. See also Long Term Support (LTS) releases.
The B504 is similar to the B524, except for the cellular bands supported. The B504 contains a Quectel EG91-NAX cellular modem and the B524 contains a Quectel EG91-E cellular modem. They are the same physical size and software compatible.
B404X, B404, B402 migration
- Recompile source for
b5som
platform.
- Upgrade Device OS to 5.x or later if necessary.
- Verify that power requirements for VCC are met, as the B504 requires more power than the B404X/B404/B402.
- Use the antenna the B504 was certified with, not previous antennas.
B524, B523 migration
- Upgrade Device OS to 5.x or later if necessary.
- Use the antenna the B504 was certified with, not previous antennas.
Interfaces
Block diagram
Power
VCC
VCC is used to supply power to the Quectel EG91-NAX cellular module. The recommended input voltage range on this pin is between 3.6V to 4.2V DC. This can be connected directly to a 3.7V LiPo battery. Make sure that the supply can handle currents of at least 2 A.
If you are not using a battery, or using a battery of a different voltage, you should use a regulator to supply 3.7V to 4.2V at 2A. You may want to add additional bulk capacitors to handle the short, high current peak usage when the cellular modem is transmitting. If your board contains a bq24195 PMIC, see PMIC notes, below, for additional information.
Note that the B504 requires 2000 mA on VCC, unlike the B404X which only 600 mA.
3V3
3V3 is used to supply power to nRF52840, logic ICs, memory, etc.. The 3V3 input voltage range is between 3V to 3.6V DC, but 3.3V is recommended. Make sure that the supply can handle a minimum of 150 mA, however we recommend a minimum of 500 mA supplied from your base board to allow for compatibility with future modules.
These limits do not include any 3.3V peripherals on your base board, so that may increase the current requirements.
Power supply requirements:
- 3.3V output
- Maximum 5% voltage drop
- 100 mV peak-to-peak ripple maximum
- 500 mA minimum output current at 3.3V recommended for future compatibility
- Maintain these values at no-load as well as maximum load
We do not recommend using a single 3.6V supply for both VCC and 3V3 as the cellular modem performance may be lower below 3.7V. Use two separate regulators for best results.
VBus
VBus is connected to the USB detect pin of nRF52840 to enables the USB interface. The recommended input voltage range is between 4.35V to 5.5V DC.
Antenna
There are four radios on the B504 module:
- BLE radio (part of nRF52840 MCU)
- NFC tag receiver (part of nRF52840 MCU)
- Cellular radio (Quectel EG91-NAX)
- GNSS (GPS) receiver (part of Quectel EG91-NAX)
We have provided three u.FL connectors to plug in the cellular, BLE antenna, and GNSS antennas.
The NFC antenna connection is provided through the M.2 connector.
If you are not using BLE, NFC, or GNSS, you can omit those antennas.
Certified cellular antenna
The B504 is certified with the following cellular antenna:
Single quantity M-SoM units and developer kits include a PARANTCW1EA antenna. Tray quantities of the M-SoM do not include antennas.
Certified BLE antenna
The following antenna is optional and can be omitted if you do not wish to use BLE. It can be purchased in the Particle online store.
General antenna parameters:
Mechanical:
Environmental:
Certified NFC antenna
General antenna parameters:
Mechanical:
Environmental:
Certified GNSS antennas
Single quantity B-SoM units and developer kits include a PARANTGN1EA antenna. Tray quantities of the B-SoM do not include antennas. If not using the GNSS feature, the antenna can be omitted from your design.
- GNSS support will be added in a future version of Device OS.
- Feature such of high-precision, dead-reckoning, and high updates rates will require an external GNSS chip.
General antenna guidance
- The antenna placement needs to follow some basic rules, as any antenna is sensitive to its environment. Mount the antenna at least 10mm from metal components or surfaces, ideally 20mm for best radiation efficiency, and try to maintain a minimum of three directions free from obstructions to be able to operate effectively.
- Needs tuning with actual product enclosure and all components.
- For the BLE antenna, it is recommended to use a 2.4 GHz single-frequency antenna and not a 2.4 GHz + 5 GHz antenna, so as to avoid large gain at the frequency twice of 2.4 GHz which can cause the second harmonic radiation of 2.4 GHz to exceed standards.
Peripherals and GPIO
There are some optional B504 module specific I/O:
- Quectel USB and VBUS (for modem firmware upgrades)
- Quectel Ring Indicator (RI) output
Note: All GPIOs are only rated at 3.3VDC max.
JTAG and SWD
The B504 module has 4 pads at the bottom exposing the SWD interface of the nRF52840. This interface can be used to debug your code or reprogram your B504 bootloader, device OS, or the user firmware. We use 4 pogo-pins connecting to these pads during production for firmware flashing.
Memory map
nRF52840 flash layout overview
- Bootloader (48KB, @0xF4000)
- User Application: 256KB @ 0xB4000
- System (656KB, @0x30000)
- SoftDevice (192KB)
External SPI flash layout overview (dfu offset: 0x80000000)
- OTA (1500KB, @0x00289000)
- Reserved (420KB, @0x00220000)
- FAC (128KB, @0x00200000)
- LittleFS (2M, @0x00000000)
Pinout diagram
Common SoM pins
RESERVED and SOM pins may vary across different SoM models. If you are designing for this specific module, or similar modules, you can use the indicated functions even if the pin is marked RESERVED. Most nRF52840-based modules will have the same pin functions on the RESERVED pins
Future modules with a different MCU may have different pin functions. An effort will be made to assign all of the listed functions for ADC, PWM, SPI, etc. from the set of common SoM pin functions in future modules, but the functions on RESERVED and SOM pins will likely vary.
GPIO and port listing
ADC (analog to digital converter)
The B504 supports 8 ADC inputs.
- ADC inputs are single-ended and limited to 0 to 3.3V
- Resolution is 12 bits
UART serial
The B504 supports one UART serial interfaces.
- The UART pins are 3.3V and must not be connected directly to a RS-232C port or to a 5V TTL serial port
- Hardware flow control is optional; if not used then the RTS and CTS pins can be used as regular GPIO
- You cannot use hardware flow control and Ethernet at the same time.
SPI
The B504 supports two SPI (serial peripheral interconnect) ports.
- The SPI port is 3.3V and must not be connected directly to devices that drive MISO at 5V
- If not using a SPI port, its pins can be used as GPIO
- Any pins can be used as the SPI chip select
- Multiple devices can generally share a single SPI port
- You cannot use
SPI1
and Ethernet at the same time.
I2C
The B504 supports two I2C (two-wire serial interface) ports.
- The I2C port is 3.3V and must not be connected directly a 5V I2C bus
- Maximum bus speed is 400 kHz
- External pull-up resistors are recommended for I2C as the internal pull-up is 13K.
- If not using I2C, pins D0 and D1 can be used as GPIO or analog input.
- You cannot use
Wire1
and Ethernet at the same time.
PWM
The B504 supports PWM (pulse-width modulation) on the following pins:
- PWM that share the same timer (
PMW2
for example) must share the same frequency but can have different duty cycles.
- Pin
D7
(PWM0) share a timer with the RGB LED and you should not change its frequency but it can have a different duty cycle.
USB
The B504 supports a USB interface for programming the device and for USB serial (CDC) communications. The module itself does not contain a USB connector; you typically add a micro USB or USB C connector on your base board. It is optional but recommended.
- The Cellular Modem USB connector is optional, and can be used for firmware updates of the cellular module.
RGB LED
The B504 supports an external common anode RGB LED.
One common LED that meets the requirements is the
Cree CLMVC-FKA-CL1D1L71BB7C3C3
which is inexpensive and easily procured. You need to add three current limiting resistors. With this LED, we typically use 1K ohm current limiting resistors.
These are much larger than necessary. They make the LED less blinding but still provide sufficient current to light the LEDs.
If you want maximum brightness you should use the calculated values - 33 ohm on red, and 66 ohm on green and blue.
A detailed explanation of different color codes of the RGB system LED can be found here.
The use of the RGB LED is optional, however it is highly recommended as troubleshooting the device without the LED is very difficult.
It is highly recommended that you add MODE (SETUP) and RESET buttons to your base board using momentary switches that connect to GND. These are necessary to change the operating mode of the device, for example to enter listening or DFU mode.
The MODE button does not have a hardware pull-up on it, so you must add an external pull-up (2.2K to 10K) to 3V3, or connect it to 3V3 if not using a button.
The RST pin does have an internal weak pull-up, but you may want to add external pull-up on that as well, especially if you use an off-board reset button connected by long wires.
Pin description
1These pins are connected to the internal MFF2 SIM and should be left open.
2A0-A7 are 12-bit Analog-to-Digital (A/D) inputs (0-4095).
3SoM-specific and Reserved pins will vary depending on module. They are able to be used on the B523, but their function may be be different on future modules.
4RI is available on the B504 (Quectel) but not on the B402 (u-blox LTE M1)
5The VCC maximum is 4.3V on the B504 (Quectel) but is 4.2V on the B402 (u-blox LTE M1). For compatibility across modules, limit this to 4.2V.
By default, the Tinker application firmware enables the use of the bq24195 PMIC and MAX17043 fuel gauge. This in turn uses I2C (D0 and D1) and pin A6 (PM_INT). If you are not using the PMIC and fuel gauge and with to use these pins for other purposes, be sure to disable system power configuration. This setting is persistent, so you may want to disable it with your manufacturing firmware only.
System.setPowerConfiguration(SystemPowerConfiguration());
If you are using Ethernet with the B-Series SoM, the following pins are used by Ethernet:
Cellular modem USB pins
The cellular modem USB pins are optional on custom base boards. These pins are used for low-level diagnostics
and reprogramming the cellular modem firmware.
Note, however, the Particle has never done a cellular modem firmware upgrade in the field because doing so
generally requires recertification, and is there is a high likelihood that the upgrade will fail, rendering
the modem unusable.
Cellular modem could be reprogrammed by removing the SoM from your board and putting it in the M.2 SoM
breakout board, which has the cellular modem USB connector.
Complete module pin details
Click this link to skip over this section
1 GND
| Details |
Pin Number | 1 |
Pin Name | GND |
Description | Ground. |
2 VCC
| Details |
Pin Number | 2 |
Pin Name | VCC |
Description | System power in, connect to the +LiPo or supply a fixed 3.6-4.2v power. |
3 GND
| Details |
Pin Number | 3 |
Pin Name | GND |
Description | Ground. |
4 VCC
| Details |
Pin Number | 4 |
Pin Name | VCC |
Description | System power in, connect to the +LiPo or supply a fixed 3.6-4.2v power. |
5 GND
| Details |
Pin Number | 5 |
Pin Name | GND |
Description | Ground. |
6 VCC
| Details |
Pin Number | 6 |
Pin Name | VCC |
Description | System power in, connect to the +LiPo or supply a fixed 3.6-4.2v power. |
7 GND
| Details |
Pin Number | 7 |
Pin Name | GND |
Description | Ground. |
8 VCC
| Details |
Pin Number | 8 |
Pin Name | VCC |
Description | System power in, connect to the +LiPo or supply a fixed 3.6-4.2v power. |
9 GND
| Details |
Pin Number | 9 |
Pin Name | GND |
Description | Ground. |
10 3V3
| Details |
Pin Number | 10 |
Pin Name | 3V3 |
Description | System power in, supply a fixed 3.0-3.6v power. |
11 USBDATA+
| Details |
Pin Number | 11 |
Pin Name | USBDATA+ |
Description | USB Data+ |
Input is 5V Tolerant | Yes |
12 3V3
| Details |
Pin Number | 12 |
Pin Name | 3V3 |
Description | System power in, supply a fixed 3.0-3.6v power. |
13 USBDATA-
| Details |
Pin Number | 13 |
Pin Name | USBDATA- |
Description | USB Data- |
Input is 5V Tolerant | Yes |
14 NC
| Details |
Pin Number | 14 |
Pin Name | NC |
15 GND
| Details |
Pin Number | 15 |
Pin Name | GND |
Description | Ground. |
16 VUSB
| Details |
Pin Number | 16 |
Pin Name | VUSB |
Description | USB VUSB power pin |
Input is 5V Tolerant | Yes |
17 NFC1
| Details |
Pin Number | 17 |
Pin Name | NFC1 |
Description | NFC Antenna 1 |
MCU Pin | P0.09 |
18 NC
| Details |
Pin Number | 18 |
Pin Name | NC |
19 NFC2
| Details |
Pin Number | 19 |
Pin Name | NFC2 |
Description | NFC Antenna 2 |
MCU Pin | P0.10 |
20 D1
| Details |
Pin Number | 20 |
Pin Name | D1 |
Description | I2C SCL, GPIO |
Supports digitalRead | Yes |
Supports digitalWrite | Yes |
I2C interface | SCL. Use Wire object. |
Supports attachInterrupt | Yes. You can only have 8 active interrupt pins. |
Internal pull resistance | 13K |
MCU Pin | P0.27 |
21 GND
| Details |
Pin Number | 21 |
Pin Name | GND |
Description | Ground. |
22 D0
| Details |
Pin Number | 22 |
Pin Name | D0 |
Description | I2C SDA, GPIO |
Supports digitalRead | Yes |
Supports digitalWrite | Yes |
I2C interface | SDA. Use Wire object. |
Supports attachInterrupt | Yes. You can only have 8 active interrupt pins. |
Internal pull resistance | 13K |
MCU Pin | P0.26 |
23 A0
| Details |
Pin Number | 23 |
Pin Name | A0 |
Pin Alternate Name | D19 |
Description | A0 Analog in, GPIO, PWM |
Supports digitalRead | Yes |
Supports digitalWrite | Yes |
Supports analogRead | Yes |
Supports analogWrite (PWM) | Yes |
Supports tone | A0, A1, A6, and A7 must have the same frequency. |
Supports attachInterrupt | Yes. You can only have 8 active interrupt pins. |
Internal pull resistance | 13K |
MCU Pin | P0.03 |
32 MODE
| Details |
Pin Number | 32 |
Pin Name | MODE |
Pin Alternate Name | D20 |
Description | MODE button, has internal pull-up |
MCU Pin | P0.25 |
33 A1
| Details |
Pin Number | 33 |
Pin Name | A1 |
Pin Alternate Name | D18 |
Description | A1 Analog in, GPIO, PWM |
Supports digitalRead | Yes |
Supports digitalWrite | Yes |
Supports analogRead | Yes |
Supports analogWrite (PWM) | Yes |
Supports tone | A0, A1, A6, and A7 must have the same frequency. |
Supports attachInterrupt | Yes. You can only have 8 active interrupt pins. |
Internal pull resistance | 13K |
MCU Pin | P0.04 |
34 RST
| Details |
Pin Number | 34 |
Pin Name | RST |
Description | Hardware reset, active low. External pull-up required. |
35 A2
| Details |
Pin Number | 35 |
Pin Name | A2 |
Pin Alternate Name | D17 |
Description | A2 Analog in, GPIO |
Supports digitalRead | Yes |
Supports digitalWrite | Yes |
Supports analogRead | Yes |
Supports attachInterrupt | Yes. You can only have 8 active interrupt pins. |
Internal pull resistance | 13K |
MCU Pin | P0.28 |
36 TX
| Details |
Pin Number | 36 |
Pin Name | TX |
Pin Alternate Name | D9 |
Description | Serial TX, GPIO |
Supports digitalRead | Yes |
Supports digitalWrite | Yes |
UART serial | TX. Use Serial1 object. |
Supports attachInterrupt | Yes. You can only have 8 active interrupt pins. |
Internal pull resistance | 13K |
MCU Pin | P0.06 |
37 A3
| Details |
Pin Number | 37 |
Pin Name | A3 |
Pin Alternate Name | D16 |
Description | A3 Analog in, GPIO |
Supports digitalRead | Yes |
Supports digitalWrite | Yes |
Supports analogRead | Yes |
Supports attachInterrupt | Yes. You can only have 8 active interrupt pins. |
Internal pull resistance | 13K |
MCU Pin | P0.29 |
38 RX
| Details |
Pin Number | 38 |
Pin Name | RX |
Pin Alternate Name | D10 |
Description | Serial RX, GPIO |
Supports digitalRead | Yes |
Supports digitalWrite | Yes |
UART serial | RX. Use Serial1 object. |
Supports attachInterrupt | Yes. You can only have 8 active interrupt pins. |
Internal pull resistance | 13K |
MCU Pin | P0.08 |
39 AGND
| Details |
Pin Number | 39 |
Pin Name | AGND |
Description | Analog Ground. |
40 D3
| Details |
Pin Number | 40 |
Pin Name | D3 |
Description | SPI1 MOSI, Serial1 CTS, GPIO, Wire1 SCL |
Supports digitalRead | Yes |
Supports digitalWrite | Yes |
UART serial | CTS. Use Serial1 object. |
SPI interface | MOSI. Use SPI1 object. |
I2C interface | SCL. Use Wire1 object. |
Supports attachInterrupt | Yes. You can only have 8 active interrupt pins. |
Internal pull resistance | 13K |
MCU Pin | P1.10 |
41 A4
| Details |
Pin Number | 41 |
Pin Name | A4 |
Pin Alternate Name | D15 |
Description | A4 Analog in, GPIO |
Supports digitalRead | Yes |
Supports digitalWrite | Yes |
Supports analogRead | Yes |
Supports attachInterrupt | Yes. You can only have 8 active interrupt pins. |
Internal pull resistance | 13K |
MCU Pin | P0.30 |
42 D2
| Details |
Pin Number | 42 |
Pin Name | D2 |
Description | SPI1 SCK, Serial1 RTS, PWM, GPIO, Wire1 SDA |
Supports digitalRead | Yes |
Supports digitalWrite | Yes |
UART serial | RTS. Use Serial1 object. |
SPI interface | SCK. Use SPI1 object. |
I2C interface | SDA. Use Wire1 object. |
Supports attachInterrupt | Yes. You can only have 8 active interrupt pins. |
Internal pull resistance | 13K |
MCU Pin | P1.02 |
43 A5
| Details |
Pin Number | 43 |
Pin Name | A5 |
Pin Alternate Name | D14 |
Description | A5 Analog in, GPIO |
Supports digitalRead | Yes |
Supports digitalWrite | Yes |
Supports analogRead | Yes |
Supports attachInterrupt | Yes. You can only have 8 active interrupt pins. |
Internal pull resistance | 13K |
MCU Pin | P0.31 |
44 CELL USBD+
| Details |
Pin Number | 44 |
Pin Name | CELL USBD+ |
Description | Cellular Modem USB Data+ |
Input is 5V Tolerant | Yes |
45 A6
| Details |
Pin Number | 45 |
Pin Name | A6 |
Description | A6 Analog in, PWM, GPIO |
Supports digitalRead | Yes |
Supports digitalWrite | Yes |
Supports analogRead | Yes |
Supports analogWrite (PWM) | Yes |
Supports tone | A0, A1, A6, and A7 must have the same frequency. |
Supports attachInterrupt | Yes. You can only have 8 active interrupt pins. |
Internal pull resistance | 13K |
MCU Pin | P0.05 |
46 CELL USBD-
| Details |
Pin Number | 46 |
Pin Name | CELL USBD- |
Description | Cellular Modem USB Data- |
Input is 5V Tolerant | Yes |
47 A7
| Details |
Pin Number | 47 |
Pin Name | A7 |
Description | A7 Analog in, GPIO, Ethernet Reset |
Supports digitalRead | Yes |
Supports digitalWrite | Yes |
Supports analogRead | Yes |
Supports analogWrite (PWM) | Yes |
Supports tone | A0, A1, A6, and A7 must have the same frequency. |
Supports attachInterrupt | Yes. You can only have 8 active interrupt pins. |
Internal pull resistance | 13K |
MCU Pin | P0.02 |
48 D8
| Details |
Pin Number | 48 |
Pin Name | D8 |
Description | GPIO, SPI SS, Ethernet CS |
Supports digitalRead | Yes |
Supports digitalWrite | Yes |
SPI interface | SS. Use SPI object. This is only the default SS/CS pin, you can use any GPIO instead. |
Supports attachInterrupt | Yes. You can only have 8 active interrupt pins. |
Internal pull resistance | 13K |
MCU Pin | P0.07 |
49 AGND
| Details |
Pin Number | 49 |
Pin Name | AGND |
Description | Analog Ground. |
50 MISO
| Details |
Pin Number | 50 |
Pin Name | MISO |
Pin Alternate Name | D11 |
Description | SPI MISO, GPIO |
Supports digitalRead | Yes |
Supports digitalWrite | Yes |
SPI interface | MISO. Use SPI object. |
Supports attachInterrupt | Yes. You can only have 8 active interrupt pins. |
Internal pull resistance | 13K |
MCU Pin | P1.08 |
51 NC
| Details |
Pin Number | 51 |
Pin Name | NC |
52 MOSI
| Details |
Pin Number | 52 |
Pin Name | MOSI |
Pin Alternate Name | D12 |
Description | SPI MOSI, GPIO |
Supports digitalRead | Yes |
Supports digitalWrite | Yes |
SPI interface | MOSI. Use SPI object. |
Supports attachInterrupt | Yes. You can only have 8 active interrupt pins. |
Internal pull resistance | 13K |
MCU Pin | P1.09 |
53 NC
| Details |
Pin Number | 53 |
Pin Name | NC |
54 SCK
| Details |
Pin Number | 54 |
Pin Name | SCK |
Pin Alternate Name | D13 |
Description | SPI SCK, GPIO |
Supports digitalRead | Yes |
Supports digitalWrite | Yes |
SPI interface | SCK. Use SPI object. |
Supports attachInterrupt | Yes. You can only have 8 active interrupt pins. |
Internal pull resistance | 13K |
MCU Pin | P0.11 |
55 NC
| Details |
Pin Number | 55 |
Pin Name | NC |
56 GND
| Details |
Pin Number | 56 |
Pin Name | GND |
Description | Ground. |
57 NC
| Details |
Pin Number | 57 |
Pin Name | NC |
58 NC
| Details |
Pin Number | 58 |
Pin Name | NC |
59 NC
| Details |
Pin Number | 59 |
Pin Name | NC |
60 NC
| Details |
Pin Number | 60 |
Pin Name | NC |
61 RGBR
| Details |
Pin Number | 61 |
Pin Name | RGBR |
Description | RGB LED Red |
MCU Pin | P0.16 |
62 D22
| Details |
Pin Number | 62 |
Pin Name | D22 |
Description | GPIO, Ethernet INT |
Supports digitalRead | Yes |
Supports digitalWrite | Yes |
Supports attachInterrupt | Yes. You can only have 8 active interrupt pins. |
Internal pull resistance | 13K |
MCU Pin | P1.01 |
63 RGBG
| Details |
Pin Number | 63 |
Pin Name | RGBG |
Description | RGB LED Green |
MCU Pin | P0.15 |
64 D23
| Details |
Pin Number | 64 |
Pin Name | D23 |
Description | GPIO |
Supports digitalRead | Yes |
Supports digitalWrite | Yes |
Supports attachInterrupt | Yes. You can only have 8 active interrupt pins. |
Internal pull resistance | 13K |
MCU Pin | P1.03 |
65 RGBB
| Details |
Pin Number | 65 |
Pin Name | RGBB |
Description | RGB LED Blue |
MCU Pin | P0.14 |
66 D4
| Details |
Pin Number | 66 |
Pin Name | D4 |
Description | SPI1 MISO, PWM, GPIO |
Supports digitalRead | Yes |
Supports digitalWrite | Yes |
Supports analogWrite (PWM) | Yes |
Supports tone | D4, D5, and D6 must have the same frequency. |
SPI interface | MISO. Use SPI1 object. |
Supports attachInterrupt | Yes. You can only have 8 active interrupt pins. |
Internal pull resistance | 13K |
MCU Pin | P0.12 |
67 SIM_VCC
| Details |
Pin Number | 67 |
Pin Name | SIM_VCC |
Description | Leave unconnected, 1.8V/3V SIM Supply Output from R410M. |
68 D5
| Details |
Pin Number | 68 |
Pin Name | D5 |
Description | PWM, GPIO |
Supports digitalRead | Yes |
Supports digitalWrite | Yes |
Supports analogWrite (PWM) | Yes |
Supports tone | D4, D5, and D6 must have the same frequency. |
Supports attachInterrupt | Yes. You can only have 8 active interrupt pins. |
Internal pull resistance | 13K |
MCU Pin | P0.24 |
69 SIM_RST
| Details |
Pin Number | 69 |
Pin Name | SIM_RST |
Description | Leave unconnected, 1.8V/3V SIM Reset Output from R410M. |
70 D6
| Details |
Pin Number | 70 |
Pin Name | D6 |
Description | PWM, GPIO |
Supports digitalRead | Yes |
Supports digitalWrite | Yes |
Supports analogWrite (PWM) | Yes |
Supports tone | D4, D5, and D6 must have the same frequency. |
Supports attachInterrupt | Yes. You can only have 8 active interrupt pins. |
Internal pull resistance | 13K |
MCU Pin | P1.04 |
71 SIM_CLK
| Details |
Pin Number | 71 |
Pin Name | SIM_CLK |
Description | Leave unconnected, 1.8V/3V SIM Clock Output from R410M. |
72 D7
| Details |
Pin Number | 72 |
Pin Name | D7 |
Description | PWM, GPIO |
Supports digitalRead | Yes |
Supports digitalWrite | Yes |
Supports analogWrite (PWM) | PWM is shared with the RGB LED, you can specify a different duty cycle but should not change the frequency. |
Supports attachInterrupt | Yes. You can only have 8 active interrupt pins. |
Internal pull resistance | 13K |
MCU Pin | P0.13 |
73 SIM_DATA
| Details |
Pin Number | 73 |
Pin Name | SIM_DATA |
Description | Leave unconnected, 1.8V/3V SIM Data I/O of R410m with internal 4.7 k pull-up. |
74 CELL VBUS
| Details |
Pin Number | 74 |
Pin Name | CELL VBUS |
Description | USB detect pin for R410M. 5V on this pin enables the Cellular Modem USB interface. |
Input is 5V Tolerant | Yes |
75 RI
| Details |
Pin Number | 75 |
Pin Name | RI |
Description | Ring Indicator for cellular modem |
LED status
System RGB LED
Unlike the Boron, the B504 module does not have an on-module RGB system status LED. We have provided its individual control pins for you to connect an LED of your liking. This will allow greater flexibility in the end design of your products.
A detailed explanation of different color codes of the RGB system LED can be found here.
PMIC Notes
When using the B-Series SoM with a bq24195 PMIC, note the following:
By default, the bq24195 sets the input current limit, which affects powering by VIN and VUSB, to 100 mA. This affects the VSYS output of the PMIC, which powers both the cellular modem and 3V3 supply, and is not enough to power the B-Series SoM in normal operation.
If your device has the default firmware (Tinker), it will attempt to connect to the cloud, brown out due to insufficient current, then the device will reset. This may result in what appears to be the status LED blinking white, but is actually rolling reboot caused by brownout.
A factory new B-Series SoM does not enable the PMIC setup. To enable the use of the bq21415, you must enable the system power feature PMIC_DETECTION in your code. This defaults to off because the B-Series SoM can be used without a PMIC, or with a different PMIC, and also requires I2C on D0/D1, and some base boards may use those pins as GPIO.
Because the input current limit does not affect the battery input (Li+), for troubleshooting purposes it can be helpful to attach a battery to help rule out input current limit issues. It's also possible to supply 3.7V via a bench power supply to the battery input, instead of VIN.
The input current limit can result in a situation where you can't bring up a B-Series SoM because it browns out continuously, but also cannot flash code to it to stop if from browning out. There are two general solutions:
- Attach a battery or supply by Li+ when bringing up a board.
- Use SWD/JTAG and reset halt the MCU. This will prevent it from connecting to the cloud, so you can flash Device OS and firmware to it by SWD.
The input current limit is actually controlled by three factors:
- The power source max current setting in the PMIC. The default is 900 mA. It can be set to 100, 150, 500, 900, 1200, 1500, 2000, or 3000 mA.
- It is also limited by the hardware ILIM resistor. On Particle devices with a built-in PMIC, this is set to 1590 mA, but if you are implementing your own PMIC hardware, you can adjust this higher.
- When connected by USB, it will use DPDM, current negotiation via the USB DP (D+) and DM (D-) lines.
Note that some 2A tablet chargers and multi-port USB power supplies supply 2A but do not implement DPDM; these will be treated as if VIN was used, and you must set the power source current, otherwise the input current will be limited to 900 mA, which is not enough to power a 2G/3G cellular modem without an attached battery.
Technical specifications
Absolute maximum ratings [1]
Supply voltages
[1] Stresses beyond those listed under absolute maximum ratings may cause permanent damage to the device. These are stress ratings
only, and functional operation of the device at these or any other conditions beyond those indicated under recommended operating
conditions is not implied. Exposure to absolute-maximum-rated conditions for extended periods may affect device reliability.
Recommended operating conditions
Notes:
1 Normal operating temperature range (fully functional and meet 3GPP specifications).
2 Extended operating temperature range (RF performance may be affected outside normal operating range, though module is fully functional)
Power consumption
Values are from B523 using the EG91-E cellular modem. Actual operating current with cellular using the EG91-NAX modem may vary slightly but should be similar.
These values are preliminary and subject to change
1The min, and particularly peak, values may consist of very short transients.
The typical (typ) values are the best indicator of overall power consumption over time. The
peak values indicate the absolute minimum capacity of the power supply necessary, not overall consumption.
Radio specifications
The B-Series SoM has two radio modules.
Nordic Semiconductor nRF52840 for BLE
Nordic Semiconductor nRF52840 for NFC tag
Quectel EG91-NAX
I/O characteristics
These specifications are based on the nRF52840 datasheet.
Mechanical specifications
Dimensions and weight
3D models
3D models of the B-Series SoM module are available in the hardware-libraries Github in formats including step, iges, stl, and f3d.
The 3D models are the same for the B504 and B523 as the cellular modem module is the same size.
Mechanical drawing
Dimensions are in millimeters.
Mating connector and land pattern
The mating connector is a an M.2 (NGFF) type 4. Note that there are several different key configurations for the M.2, and type 4 is different than is commonly used on SSDs.
One compatible connector is the TE 2199230-4. It is widely available including at suppliers such as DigiKey.
Screw assembly
The M.2 SoM requires a screw to hold the SoM in place because the M.2 connector does not have integrated locks and the SoM will pop up if not attached to the base board. The screw also provides better vibration resistance than locking clips.
- This is one style of standoff.
- An alternative design uses a JAE SM3ZS067U410-NUT1-R1200 standoff. It's reflow soldered to your base board and has a threaded hole for a M2*3 screw to hold down the SoM. This may be easier to obtain.
- The screw should be connected to the ground plane on your base board.
Design considerations
We strongly recommend against placing components under the SOM board because there is not enough height.
Product handling
ESD precautions
The B series contains highly sensitive electronic circuitry and is an Electrostatic Sensitive Device (ESD). Handling an B series without proper ESD protection may destroy or damage it permanently. Proper ESD handling and packaging procedures must be applied throughout the processing, handling and operation of any application that incorporates the B series module. ESD precautions should be implemented on the application board where the B series is mounted. Failure to observe these precautions can result in severe damage to the B series!
Connectors
The U.FL antenna connector is not designed to be constantly plugged and unplugged. The antenna pin is static sensitive and you can destroy the radio with improper handling. A tiny dab of glue (epoxy, rubber cement, liquid tape or hot glue) on the connector can be used securely hold the plug in place.
The M.2 edge connector is static sensitive and should be handled carefully. The M.2 connector is not designed for repeated removal and insertion of the module.
Assembly
B-Series SoM modules should not use a conformal coating to protect the module from water. Some components on the SoM cannot be coated and would need to be masked off during coating. This will make the coating process difficult to implement and test.
Furthermore, you cannot safely protect the the connection between the M.2 SoM and the M.2 NGFF connector by using a coating. Using an enclosure that protects both your base board and the B-Series SoM as a single waterproof assembly is recommended instead.
Default settings
The B series comes pre-programmed with a bootloader and a user application called Tinker. This application works with an iOS and Android app also named Tinker that allows you to very easily toggle digital pins, take analog and digital readings and drive variable PWM outputs.
The bootloader allows you to easily update the user application via several different methods, USB, OTA, Serial Y-Modem, and also internally via the Factory Reset procedure. All of these methods have multiple tools associated with them as well.
FCC warnings and end product labeling requirements
Federal Communication Commission Interference Statement
This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation. This equipment generates, uses and can radiate radio frequency energy and, if not installed and used in accordance with the instructions, may cause harmful interference to radio communications. However, there is no guarantee that interference will not occur in a particular installation. If this equipment does cause harmful interference to radio or television reception, which can be determined by turning the equipment off and on, the user is encouraged to try to correct the interference by one of the following measures:
- Reorient or relocate the receiving antenna.
- Increase the separation between the equipment and receiver.
- Connect the equipment into an outlet on a circuit different from that to which the receiver is connected.
- Consult the dealer or an experienced radio/TV technician for help.
FCC Caution:
Any changes or modifications not expressly approved by the party responsible for compliance could void the user's authority to operate this equipment.
This device complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions:
- This device may not cause harmful interference, and
- This device must accept any interference received, including interference that may cause undesired operation.
FCC Radiation Exposure Statement:
This equipment complies with FCC radiation exposure limits set forth for an uncontrolled environment. This transmitter module must not be co-located or operating in conjunction with any other antenna or transmitter. This End equipment should be installed and operated with a minimum distance of 20 centimeters between the radiator and your body.
IMPORTANT NOTE:
In the event that these conditions can not be met (for example certain laptop configurations or co-location with another transmitter), then the FCC authorization is no longer considered valid and the FCC ID can not be used on the final product. In these circumstances, the OEM integrator will be responsible for re-evaluating the end product (including the transmitter) and obtaining a separate FCC authorization.
End Product Labeling
The final end product must be labeled in a visible area with the following:
- Contains FCC ID: 2AEMI-B504
Manual Information to the End User
The OEM integrator has to be aware not to provide information to the end user regarding how to install or remove this RF module in the user’s manual of the end product which integrates this module.
Certification documents
FCC (United States) - B504 B-Series SoM
Country compatibility
Additional countries
The following countries are not officially supported at this time, but may be compatible. Countries in this list can be used for prototyping and development work, but contact Particle prior to fleet deployment in these additional countries.
Revision history