1.. zephyr:board:: croxel_cx1825
2
3Overview
4********
5
6Croxel's `CX1825 Bluetooth Prototyping board`_ provides support for the Nordic
7Semiconductor nRF52840 ARM Cortex-M4F CPU and the following devices:
8
9* :abbr:`ADC (Analog to Digital Converter)`
10* CLOCK
11* FLASH
12* :abbr:`GPIO (General Purpose Input Output)`
13* :abbr:`I2C (Inter-Integrated Circuit)`
14* :abbr:`MPU (Memory Protection Unit)`
15* :abbr:`NVIC (Nested Vectored Interrupt Controller)`
16* :abbr:`PWM (Pulse Width Modulation)`
17* RADIO (Bluetooth Low Energy and 802.15.4)
18* :abbr:`RTC (nRF RTC System Clock)`
19* Segger RTT (RTT Console)
20* :abbr:`SPI (Serial Peripheral Interface)`
21* :abbr:`USB (Universal Serial Bus)`
22* :abbr:`WDT (Watchdog Timer)`
23
24Hardware
25********
26
27- Ezurio's BL654 (nRF52840 ARM Cortex-M4F processor at 64MHz)
28- 1 MB flash memory and 256 KB of SRAM
29- Coin-cell retainer for Lithium coincell batteries
30- 2 Discrete LEDs (Red and Green)
31- User Button
32- Reset Button
33- Accelerometer (LIS3DH)
34- Ambient & RGB Light and Proximity Sensor (APDS9960)
35- Temperature and Humidity Sensor (HTS221)
36- Barometric Pressure sensor (LPS22H)
37- Hall Effect Switch (MLX90248)
38- RGB LED with Charge-Pump driver (LP5521)
39- Digital Microphone
40- Beeper
41- QWIIC connector supporting expansion for I2C devices
42- USB Connector for data and power
43- 16-pin Expansion connector
44- SWD Connector
45
46Supported Features
47==================
48
49- Discrete LEDs (red and green)
50- Buttons (User and Reset)
51- Sensors (Accelerometer, Light, Temperature and Humidity, Pressure and Hall-Effect sensors)
52- Beeper
53- Radio (Bluetooth, IEEE 802.15.4)
54- SOC peripherals (ADC, Clock, Flash, GPIO, I2C, MPU, NVIC, PWM, Radio, RTC, SPI, USB, WDT)
55
56Future Feature Support
57======================
58
59- RGB LED (Charge-Pump driver not implemented)
60- Microphone
61
62Connections and IOs
63===================
64
65Croxel's CX1825 Bluetooth Prototyping board has detailed information
66about the board (`schematic`_)
67
68LEDs
69----
70
71- LED1 (red) = P0.8
72- LED2 (green) = P0.12
73
74Digital Inputs
75--------------
76
77- User Button = P1.16
78- Reset Button = P0.18
79- Hall-Effect Switch = P0.15
80
81Programming and Debugging
82*************************
83
84Applications for the ``croxel_cx1825/nrf52840`` board configuration
85can be built and flashed in the usual way (see :ref:`build_an_application`
86and :ref:`application_run` for more details).
87
88Flashing
89========
90
91Flashing Zephyr onto the ``croxel_cx1825_nrf52840`` board requires
92an external programmer. The programmer is attached to the SWD header.
93
94Build the Zephyr kernel and the :zephyr:code-sample:`blinky` sample application.
95
96   .. zephyr-app-commands::
97      :zephyr-app: samples/basic/blinky
98      :board: croxel_cx1825/nrf52840
99      :goals: build
100      :compact:
101
102Flash the image.
103
104   .. zephyr-app-commands::
105      :zephyr-app: samples/basic/blinky
106      :board: croxel_cx1825/nrf52840
107      :goals: flash
108      :compact:
109
110You should see the red LED blink.
111
112References
113**********
114
115.. target-notes::
116
117.. _CX1825 Bluetooth Prototyping board:
118    https://croxel.com/ble
119
120.. _schematic:
121    https://croxeldata.s3.amazonaws.com/cx1825/CX1825-01_SCH_200424A.PDF
122