Skip to content

Commit 2155b42

Browse files
committed
nrf52840_hic: Add documentation for nrf52840 HIC
1 parent fbd81f2 commit 2155b42

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed

docs/hic/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,6 @@ Support for these HICs has been recently added.
2020

2121
| HIC | Core | Freq. | RAM | ROM | USB |
2222
|-------------------------------|:----:|--------:|-------:|-------:|:---:|
23+
| [nrf52840](nrf52840.md) | M4 | 64 MHz | 64 KB | 256 KB | FS |
2324
| [stm32f072x8](stm32f072xx.md) | M0 | 48 Mhz | 16 KB | 64 KB | FS |
2425
| [stm32f072xb](stm32f072xx.md) | M0 | 48 Mhz | 16 KB | 128 KB | FS |

docs/hic/nrf52840.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# nrf52840 HIC
2+
3+
Based on Nordic [nRF52840](https://www.nordicsemi.com/Products/nRF52840):
4+
- Cortex-M4 64 MHz
5+
- 1MB Flash (limited to 256 KB)
6+
- 64 KB RAM
7+
- Full-speed USB 2.0 device controller: up to 9 bi-directional endpoints including EP0 (*)
8+
- aQFN73 or QFN48 packaging
9+
10+
(*) "Endpoints: 2 control (1 IN, 1 OUT) [...] 14 bulk/interrupt (7 IN, 7 OUT) [...] 2 isochronous (1 IN, 1 OUT)" (source: [Datasheet](https://infocenter.nordicsemi.com/pdf/nRF52840_PS_v1.7.pdf))
11+
12+
## Memory Map
13+
14+
| Region | Size | Start | End |
15+
|----------|--------|-------------|-------------|
16+
| Flash | 256 KB | 0x0000_0000 | 0x0004_0000 |
17+
| SRAM | 64 KB | 0x2000_0000 | 0x2001_0000 |
18+
19+
Bootloader size is 64 KB
20+
21+
## DAPLink default pin assignment
22+
23+
| Signal | I/O | Symbol | Pin |
24+
|-------------|:---:|---------|:---:|
25+
| SWD |
26+
| SWCLK | O | P0.13 | |
27+
| SWDIO | I/O | P0.17 | |
28+
| nRST | O | P0.09 | |
29+
| UART |
30+
| UART TX | I | P0.24 | |
31+
| UART RX | O | P1.00 | |
32+
| Button |
33+
| F-RST But. | I | P1.06 | |
34+
| LEDs |
35+
| HID LED | O | P0.06 | |
36+
| MSD LED | O | P0.08 | |
37+
| CDC LED | O | P0.12 | |
38+
39+
Note:
40+
- LEDs have active state low.

0 commit comments

Comments
 (0)