Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bravequickcleverfibreyarn opened this issue Feb 19, 2024 · 3 comments

Comments

@bravequickcleverfibreyarn

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.

@mattheww
Copy link
Contributor

It seems likely that this is the same as #108.

If so, it's fixed but there hasn't been a release since the fix went in.

@bravequickcleverfibreyarn
Copy link
Author

Yes, it's same.

@BartMassey
Copy link
Member

@lulf Should I make a release based on this merged PR plus other stuff?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants