Floyd-Fish / ST7789-STM32

using STM32's Hardware SPI to drive a ST7789 based IPS displayer
GNU General Public License v3.0
276 stars 55 forks source link

Frequency Problem #6

Closed turgayhopal closed 4 years ago

turgayhopal commented 4 years ago

Hi,

I have tested your code but it only works with SPI 2MHz. Is there any place you can help?

Floyd-Fish commented 4 years ago

Maybe you should connect 2 pull-up resistor on SCLK and MOSI(SDA)...I have tested it on 42MHZ(stm32f4) with pull-up resistors and it worked fine.

turgayhopal commented 4 years ago

Thank you very much for your interest. I will test and return soon.

turgayhopal commented 4 years ago

Again Hi,

I tested what you said. I tried tensile resistors by connecting them to 5V. The values ​​of my resistors are 3.3K but did not work. It only works at 2MHz. Could there be a different place that I did wrong?

I am using STM32F407VGT6

Thank you very much for your interest.

Floyd-Fish commented 4 years ago

Pull-up resistors should be connected to 3.3v because stm32's IO is 3.3v logic level...And you may check stm32's clock tree configuration, I'll upload a demo project based on stm32f407vet6 later

MrHertzz commented 2 years ago

Hi,

I got a same problem. I tried to initialise on Stm32cubeIDE there is no error but also it isnt work :D

MrHertzz commented 2 years ago

Merhaba Turgay çok güzel olur gerçekten stm32f405 ve stm32f407 kullanıyorum ve slave pinini kendim yapılandırmak istiyorum

Turgay HOPAL @.***>, 12 Mar 2022 Cmt, 10:33 tarihinde şunu yazdı:

Hi,

I got a same problem. I tried to initialise on Stm32cubeIDE there is no error but also it isnt work :D

Melih Merhaba,

Hangi denetleyiciyi kullandın ? Ve bende bunun yazılım üzerinde bir kaç revizyon yaparak düzelttiğim versiyonu var bakmak istersen gönderebilirim.

— Reply to this email directly, view it on GitHub https://github.com/Floyd-Fish/ST7789-STM32/issues/6#issuecomment-1065833592, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHEHVYQYYIJ7X2UB3ZCUK7LU7RCDDANCNFSM4MJKCLMA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

MrHertzz commented 2 years ago

Merhaba Turgay,

çok güzel olur gerçekten... stm32f405 ve stm32f407 kullanıyorum ve slave pinini kendim yapılandırmak istiyorum.

turgayhopal commented 2 years ago

Merhaba Melih,

Buradan ulaşabilirisin.

https://github.com/turgayhopal/STM32-ST7789-Library