I try to get a nice!view like panel working with my mlego/m66 rev4 which uses 2xhc595 to scan the columns and one of the promicro cheap nrf52840... schematics is here https://kicanvas.org/?github=https%3A%2F%2Fgithub.com%2Fm-lego%2Fm65 the pcb is ok, also the screen, since I have qmk working on it (see picture). on zmk side I have the matrix working, encoder too but the screen is just noise... the firmware is here https://github.com/alinelena/mlego-zmk/tree/main/config/boards/shields/mlego_m66_rev4 for zmk. any help appreciated.
#solved - getting nice!view panel working with 2xhc595
1 messages · Page 1 of 1 (latest)
I am building against ```bash
- board: nice_nano_v2
shield: mlego_m66_rev4 nice_view ```
if that matters
https://github.com/alinelena/mlego-zmk/blob/0121c0c7b26d98cd817527517823db4b768cff53/config/boards/shields/mlego_m66_rev4/mlego_m66_rev4.overlay#L140
You are using &pro_micro 6 for CS on the display, right? Your reg needs to be <1> then: https://docs.zephyrproject.org/latest/build/dts/intro-syntax-structure.html#important-properties
yes that is the pin
but still no luck
ok some progress now is perfectly white
I could have swear I enabled some widgets
Consider adding USB logging: https://zmk.dev/docs/development/usb-logging
Overview
If necessary you can also increase the log buffer size, e.g.: CONFIG_LOG_BUFFER_SIZE=4096
yes I will add it will be a job for tomorrow... there is this P9 pin
that in qmk i need to control to get the screen on
here it is a full log
seems things do what they are supposed to do
but nothing on the screen just perfect blank
measured the pins and they seem to be setup correctly
practically same as in the working qmk
This is pro micro D9 right? Not P0.09
have you considered omitting it temporarily? nice_view doesn't bother with this pin: https://github.com/zmkfirmware/zmk/blob/main/app/boards/shields/nice_view/nice_view.overlay
that pin in niveview pcb is always set up to high
just for reference here is the pcb board #hardware message
i will try to shortcut totally the disp pin to see if that is the issue
even if I measured it and is high the same way as in qmk
ok so indeed the jumper is on right position so no dc pin needed is always connected to 3,3V
odd is i even got some image
so i wonder if there is some deadlocking
or some race condition
any suggestions appreciated run out of ideas https://github.com/alinelena/mlego-zmk/tree/main/config/boards/shields/mlego_m66_rev4
GitHub
Contribute to alinelena/mlego-zmk development by creating an account on GitHub.
the latest version of the code is there
some progress one key and the sharp screen work as expected
so I suspect is having more than one stuff on the spi
that's interesting given this message yesterday #pointing-devices message
nice... at least I am not alone
i think is indeed some race... since I can swear i have seen it working one time
...have to admit I am a bit surprised that QMK would be able to handle two devices on the same SPI bus more gracefully. perhaps there is just some Zephyr configuration we are unaware of
i think so
just for record... after flashing the full firmware after the one key one...
works
blimey it likes the battery it seems
the display is wired to VCC, right? yes, double checked kicanvas