Skip to content

Generic - LN882HKI

by Generic

Product page

Parameter Value
Board code generic-ln882hki
MCU LN882HK
Manufacturer Lightning
Series LN882X
Frequency 160 MHz
Flash size 2 MiB
RAM size 295 KiB
Voltage 3.0V - 3.6V
I/O 20x GPIO, 2x UART, 6x ADC
Wi-Fi 802.11 b/g/n
Bluetooth BLE v5.1

Usage

Board code: generic-ln882hki

In platformio.ini:

[env:generic-ln882hki]
platform = libretiny
board = generic-ln882hki
framework = arduino

Pin functions

Name(s) UART I²C SPI PWM Other
PA00, ADC2 SCL0, SDA0
PA01, ADC3 SCL0, SDA0 SWDIO
PA02 TX0 SCL0, SDA0
PA03 RX0 SCL0, SDA0
PA04, ADC4 SCL0, SDA0 SWCLK
PA05 SCL0, SDA0
PA06 SCL0, SDA0
PA07 SCL0, SDA0
PA08 SCL0, SDA0
PA09 SCL0, SDA0
PA10 SCL0, SDA0
PA11 SCL0, SDA0
PA12 SCL0, SDA0
PB03, ADC5 SCL0, SDA0
PB04, ADC6 SCL0, SDA0
PB05, ADC7 SCL0, SDA0
PB06 SCL0, SDA0
PB07 SCL0, SDA0
PB08 RX1 SCL0, SDA0
PB09 TX1 SCL0, SDA0

Flash memory map

Flash size: 2 MiB / 2,097,152 B / 0x200000

Hex values are in bytes.

Name Start Length End
Boot Image 0x000000 24 KiB / 0x6000 0x006000
part_tab 0x006000 4 KiB / 0x1000 0x007000
App Image 0x007000 1.2 MiB / 0x12C000 0x133000
ota 0x133000 680 KiB / 0xAA000 0x1DD000
nvds 0x1DD000 12 KiB / 0x3000 0x1E0000
kv 0x1E0000 16 KiB / 0x4000 0x1E4000
Key-Value Store 0x1E4000 32 KiB / 0x8000 0x1EC000
user 0x1EC000 80 KiB / 0x14000 0x200000