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

Problem using 2xLCD 20x4 in conjunction with 2x 7 Segments Display MAX 7219 #1785

Open
FlyDario opened this issue May 31, 2024 · 7 comments
Open

Comments

@FlyDario
Copy link

HW involved:
With MF 10.2.2
IMG_20240529_084508836
IMG_20240529_084414679
Actual functionality
Expected funcionatily
Release using Arduino 2560 R3 with 2xLCD 20x4 + 2x 7 Segment Display Max7219 5 Digit there is a following bug:

Problem encountered:

  1. Start MF, Run an .mcc (no matter XP12 or MSF2020, any aircraft) , the2x 20x4 LCDs work fine, the 2x 7 segments display only one is shown, the other remain blank.
  2. If I upload config or re-load firmware without changing anything all the Displays (both LCD and 7 segments) work fine until the next MF application re-load where we go back in the status described in step 1, it lacks consistency at the MF re-load.
  3. Made lot of testing which exclude power related issue (used external power for LCD and/or 7 segments ) -> same problem
  4. Further test show that if 1 LCD is set as 20x4 and the other 20x2 or 20x3 everything works as expected and MF is consistent in loading MF, start mcc, stop mcc, re-load MF application, start stop in a forever cycle, both the 7 Segments show the display as it should be.
  5. As soon as I configure the second LCD display from 20x2 or 20x3 config to 20x4 config, at the first run all the displays are working (I had to upload new config so it is the same situation in the step 2) but when I re-load the MF application we go back to step 1 with one 7 segment dropped

Steps To Reproduce
Steps to reproduce the behavior:
Easy to reproduce using the steps decribed above

Expected behavior
I Just expect that both LCD and 7 Segment will be operative wthout any display dropped by MF

Actual behavior
It is decribed in the problem description

Details

  • MobiFlight Version: Latest 10.2.2
  • FlightSim: [Any XP12 or MSF2020]
  • AddOn: [Any Aircraft]

Additional context
Add any other context about the problem here.

@DocMoebiuz
Copy link
Collaborator

Thanks for sharing this. We will look into it and see if we can reproduce it too.

@elral
Copy link
Contributor

elral commented Oct 5, 2024

@FlyDario One question, are both MAX7219 daisy chained or are they separate wired and configured?

@FlyDario
Copy link
Author

FlyDario commented Oct 5, 2024 via email

@elral
Copy link
Contributor

elral commented Oct 11, 2024

@FlyDario could you please upload both config files, from the board and the connector. I have some kind of idea but must test it.

Could take some time as I am on vacation and have sometimes limited internet access (and limited time ;) ).

@FlyDario
Copy link
Author

FlyDario commented Oct 12, 2024 via email

@elral
Copy link
Contributor

elral commented Oct 12, 2024

Hi Dario,
do you roughly remember which output devices were configured? More than 2 LCD's and 2 7Segments?

@FlyDario
Copy link
Author

FlyDario commented Oct 12, 2024 via email

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