I need you experienced guys! I’ve made a mios32-Core by myself which I test at the moment. While the first one works great. The second one causes trouble. And I don’t know why.
Please see the picture attached. Does anyone have an idea where the noise on the displays come from? I used this OLED-breakout (it contains OLEDs, Reset-circuits (Cap & Res) & Shiftregister) in some other projects already and it worked fine. So I assume the mistake is somewhere on the core. But as I said: Another identical core runs fine… Could it be the STM that is damaged?
To be sure, that the mistake is not on the 9x OLED Breakout, I also tried it with an OLED with Reset and shiftregister on the breadboard. Same here…
I now searched for about eight hours and also searched with an oscilloscope, but I was not able to locate the problem.
It could be a dud display injecting bad vibes onto the SPI, it could be a defective chip or flux residue.
No. The same oled-breakoutboard works on another core. So I don’t think it’s a defective display.
But still: Why does that happen only on that core? The other one runs fine. Which modification do I have to make in the firmware to clear it correctly? Could you help me with that?
I was serious with the bootloader check, but doesn’t matter… Did you try an app with a correct clear of the oled on init and write something after… (not just the legacy boot sequence) !!!
But Andy is maybe right, you have to check your core boards first and the resistance network there’s on the J15 lines, check the 595 too it can put too much load on the RS line.
If the boards you use are not the ones you made, swap the cores of the two mbhp to see if it comes from board or Core…
I was serious with the bootloader check, but doesn’t matter… Did you try an app with a correct clear of the oled on init and write something after… (not just the legacy boot sequence) !!!
But Andy is maybe right, you have to check your core boards first and the resistance network there’s on the J15 lines, check the 595 too it can put too much load on the RS line.
If the boards you use are not the ones you made, swap the cores of the two mbhp to see if it comes from board or Core…
Which app do you mean?
As the resistor-network is on the same PCB as the OLEDs and the PCB works great with another core, this shouldn’t cause any problems.
Oh my god! This is embarrassing. I forgot to set the correct width and height in the bootloader… I worked with OLEDs already a dozen times… I wonder how I was able to overlook that!