Skip to content

microbit/microbit-common/src/display/nonblocking ⸺ defect in timings? #131

@deep-outcome

Description

@deep-outcome

I went through example regard using nonblocking display — https://github.com/nrf-rs/microbit/blob/main/examples/display-nonblocking/src/main.rs.

I noticed that some LEDs shine very dimmly in their core that should not. This is permanent for pattern being displayed. Since I verified using blocking API there is no issue with LEDs on this, I suppose some wrong.

My unqualified guess is there is some interferrence regard timing.

From doc.

This uses a 6ms period to light each of the three internal LED rows, so that the entire display is updated every 18ms.

I tried some interrupt priorities and RTC0 frequencies variations but issue is resistable to this.

Sample of displaying letter E; RTC0 with 100 prescaler, NVIC priority 32, TIMER2 NVIC priority 64

IMG_20240219_205537332

So I wonder if there is bug somewhere seeking for remendy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions