# u-blox C027

Contents

- u-blox C027

  - Hardware

  - Configuration

  - Uploading

  - Debugging

  - Frameworks

## Hardware

Platform NXP LPC: The NXP LPC is a family of 32-bit microcontroller integrated circuits by NXP Semiconductors. The LPC chips are grouped into related series that are based around the same 32-bit ARM processor core, such as the Cortex-M4F, Cortex-M3, Cortex-M0+, or Cortex-M0. Internally, each microcontroller consists of the processor core, static RAM memory, flash memory, debugging interface, and various peripherals.

Microcontroller | LPC1768
Frequency | 96MHz
Flash | 512KB
RAM | 64KB
Vendor | u-blox

## Configuration

Please use `ubloxc027` ID for board option in “platformio.ini” (Project Configuration File):

    [env:ubloxc027]
    platform = nxplpc
    board = ubloxc027

You can override default u-blox C027 settings per build environment using `board_***` option, where `***` is a JSON object path from board manifest ubloxc027.json. For example, `board_build.mcu`, `board_build.f_cpu`, etc.

    [env:ubloxc027]
    platform = nxplpc
    board = ubloxc027

    ; change microcontroller
    board_build.mcu = lpc1768

    ; change MCU frequency
    board_build.f_cpu = 96000000L

## Uploading

u-blox C027 supports the next uploading protocols:

- `blackmagic`

- `cmsis-dap`

- `jlink`

- `mbed`

Default protocol is `mbed`

You can change upload protocol using upload_protocol option:

    [env:ubloxc027]
    platform = nxplpc
    board = ubloxc027

    upload_protocol = mbed

## Debugging

PIO Unified Debugger - “1-click” solution for debugging with a zero configuration.

Warning

You will need to install debug tool drivers depending on your system. Please click on compatible debug tool below for the further instructions and configuration information.

You can switch between debugging Tools & Debug Probes using debug_tool option in “platformio.ini” (Project Configuration File).

u-blox C027 has on-board debug probe and IS READY for debugging. You don’t need to use/buy external debug probe.

Compatible Tools | On-board | Default
--- | --- | ---
Black Magic Probe |  |
CMSIS-DAP | Yes | Yes
J-LINK |  |

## Frameworks

Name | Description
--- | ---

Mbed

The mbed framework The mbed SDK has been designed to provide enough hardware abstraction to be intuitive and concise, yet powerful enough to build complex projects. It is built on the low-level ARM CMSIS APIs, allowing you to code down to the metal if needed. In addition to RTOS, USB and Networking libraries, a cookbook of hundreds of reusable peripheral and module libraries have been built on top of the SDK by the mbed Developer Community.