Skip to content

nice!view connections use non-standard nice!nano pins #7

@thrly

Description

@thrly

In my haste, I routed the nice!view display to some conveniently located pins on the nice!nano, rather than the "standard" display pins. As a result, I've had to add this overlay file to remap the MOSI, SCK, and CS pins. If I changed the board routing to use the default/assumed pins, then this overlay file wouldn't be necessary.

As per nice specifications:

To design a shield that uses the default pins and the easy to use nice!view adapter in ZMK, use these pins:
CS = D1 / P0.06
SCL = D2 / 0.20
MOSI = D3 / P0.17

The relevant remappings are here:

psels = <NRF_PSEL(SPIM_SCK, 1, 06)>, // D9, remapped from 0,20
<NRF_PSEL(SPIM_MOSI, 1, 04)>,// D8, remaped from 0,17

cs-gpios = <&pro_micro 10 GPIO_ACTIVE_HIGH>; // remapped from &pro_micro 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions