0
\$\begingroup\$

I try to drive ST7735 OLED display with nucleo board. I worked with a ready-made example I found on the internet, but I could not print anything to the screen. When I compile my code, I don't get any errors and my screen is getting power. Is there a point I missed in the SPI settings?

enter link description here

Some friends suggested adding SPI DMA TX, I tried but the result did not change. Do I need to enter an extra parameter in the DMA settings?

enter image description here

\$\endgroup\$
2
  • 2
    \$\begingroup\$ Honestly, if you're having problems driving your display without DMA, why add extra complexity? First you make it work without DMA, then you add DMA on top of it. DMA is a complex peripheral. Take a step back. Get the datasheet of the display's driver IC, check what and how example code initializes. \$\endgroup\$
    – Ilya
    Commented Jun 13, 2022 at 10:03
  • \$\begingroup\$ you're right, I already tried it without using dma, it didn't work, someone solved the problem by adding dma as a solution, so I added dma. thank you for your advice. \$\endgroup\$
    – mco
    Commented Jun 13, 2022 at 11:20

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.