[{"data":1,"prerenderedAt":270},["ShallowReactive",2],{"docs-\u002Fdocs\u002Fboards\u002Fnrf52840-dk":3},{"id":4,"title":5,"body":6,"description":262,"extension":263,"meta":264,"navigation":265,"path":266,"seo":267,"stem":268,"__hash__":269},"content\u002Fdocs\u002Fboards\u002Fnrf52840-dk.md","Nordic nRF52840 DK",{"type":7,"value":8,"toc":256},"minimark",[9,13,17,22,162,166,180,184,213,217,252],[10,11,5],"h1",{"id":12},"nordic-nrf52840-dk",[14,15,16],"p",{},"The nRF52840 is Nordic's flagship for low-power wireless: Cortex-M4F at 64 MHz, BLE 5, Thread, Zigbee, native USB, NFC tag emulation, and plenty of GPIO. The DK (development kit) is the official Nordic dev-board with on-board J-Link, four buttons, four LEDs, and Arduino-shield headers.",[18,19,21],"h2",{"id":20},"specs","Specs",[23,24,25,38],"table",{},[26,27,28],"thead",{},[29,30,31,35],"tr",{},[32,33,34],"th",{},"Property",[32,36,37],{},"Value",[39,40,41,50,58,66,74,82,90,98,106,114,122,130,138,146,154],"tbody",{},[29,42,43,47],{},[44,45,46],"td",{},"MCU",[44,48,49],{},"ARM Cortex-M4F, 64 MHz, FPU",[29,51,52,55],{},[44,53,54],{},"Flash",[44,56,57],{},"1 MB",[29,59,60,63],{},[44,61,62],{},"RAM",[44,64,65],{},"256 KB",[29,67,68,71],{},[44,69,70],{},"GPIO",[44,72,73],{},"48 pins (P0.00–P0.31, P1.00–P1.15) — many shared with Arduino-shield headers",[29,75,76,79],{},[44,77,78],{},"ADC",[44,80,81],{},"8 channels (SAADC)",[29,83,84,87],{},[44,85,86],{},"PWM",[44,88,89],{},"4 PWM peripherals × 4 channels each = 16 hardware PWM outputs",[29,91,92,95],{},[44,93,94],{},"I2C",[44,96,97],{},"2 buses (TWI)",[29,99,100,103],{},[44,101,102],{},"SPI",[44,104,105],{},"4 buses",[29,107,108,111],{},[44,109,110],{},"UART",[44,112,113],{},"2 hardware UARTs (UARTE)",[29,115,116,119],{},[44,117,118],{},"BLE",[44,120,121],{},"5.0 — central, peripheral, observer, broadcaster",[29,123,124,127],{},[44,125,126],{},"Thread",[44,128,129],{},"1.2",[29,131,132,135],{},[44,133,134],{},"Zigbee",[44,136,137],{},"3.0",[29,139,140,143],{},[44,141,142],{},"Native USB",[44,144,145],{},"Yes",[29,147,148,151],{},[44,149,150],{},"NFC",[44,152,153],{},"Tag emulation",[29,155,156,159],{},[44,157,158],{},"OTA",[44,160,161],{},"Supported via DFU service over BLE\u002FUSB",[18,163,165],{"id":164},"flashing","Flashing",[14,167,168,169,173,174,179],{},"The DK ships with an on-board SEGGER J-Link debugger, exposed as a USB mass-storage device. Drag-drop a HEX file or flash via PlatformIO (",[170,171,172],"code",{},"pio run -t upload -e nrf52840_dk","). The ",[175,176,178],"a",{"href":177},"\u002Fplayground","Playground"," supports DFU-over-USB for production boards (no J-Link needed).",[18,181,183],{"id":182},"notes","Notes",[185,186,187,196,210],"ul",{},[188,189,190,191,195],"li",{},"BLE transport is in development for the SDK side. For now, use the ",[175,192,194],{"href":193},"\u002Fdocs\u002Fconcepts\u002Ftransport-architecture","Serial transport"," over the on-board USB-CDC.",[188,197,198,201,202,205,206,209],{},[170,199,200],{},"Adafruit_nRF52"," is the Arduino core for this board (not ",[170,203,204],{},"arduino-nordic","). PlatformIO selects it automatically when ",[170,207,208],{},"framework = arduino",".",[188,211,212],{},"The 4 PWM peripherals × 4 channels means up to 16 simultaneous PWM outputs, which is generous compared to most AVR boards.",[18,214,216],{"id":215},"compile-flag","Compile flag",[218,219,224],"pre",{"className":220,"code":221,"language":222,"meta":223,"style":223},"language-ini shiki shiki-themes github-light github-dark","[env:nrf52840_dk]\nplatform = nordicnrf52\nboard = nrf52840_dk\nframework = arduino\n","ini","",[170,225,226,234,240,246],{"__ignoreMap":223},[227,228,231],"span",{"class":229,"line":230},"line",1,[227,232,233],{},"[env:nrf52840_dk]\n",[227,235,237],{"class":229,"line":236},2,[227,238,239],{},"platform = nordicnrf52\n",[227,241,243],{"class":229,"line":242},3,[227,244,245],{},"board = nrf52840_dk\n",[227,247,249],{"class":229,"line":248},4,[227,250,251],{},"framework = arduino\n",[253,254,255],"style",{},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":223,"searchDepth":236,"depth":236,"links":257},[258,259,260,261],{"id":20,"depth":236,"text":21},{"id":164,"depth":236,"text":165},{"id":182,"depth":236,"text":183},{"id":215,"depth":236,"text":216},"nRF52840 board guide — ARM Cortex-M4F with BLE 5, Thread, Zigbee, USB, NFC.","md",{},true,"\u002Fdocs\u002Fboards\u002Fnrf52840-dk",{"title":5,"description":262},"docs\u002Fboards\u002Fnrf52840-dk","nKK2SAZUhAyvejabYCCSjGqJUbqGHuA7DLUn31o7z24",1777412314783]