Skip to content

SPI is getting slow #964

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

Closed
gsaikiran29 opened this issue Mar 3, 2020 · 3 comments
Closed

SPI is getting slow #964

gsaikiran29 opened this issue Mar 3, 2020 · 3 comments
Labels
answered duplicate This issue or pull request already exists question ❓ Usually converted as a discussion

Comments

@gsaikiran29
Copy link

hello,
First of all I am new to this core, prev I used roger's one.
I am using f103vet6 board. by using this https://github.com/r-pv/STM32F103VET6_STUno added variant in this core and ran simple tests like blink, serial examples its fine.
Now I want to use SPI 2 for tft ili9341(tried with adafruit and tft_eSPI) by declaring
SPIClass SPI(PB15, PB14, PB13, PB12); in SPI.cpp.
its works but printing on the display is very slow, when compared with my old core.
I cant find where is the issue.
Is there anything more required to add to core additional to this https://github.com/r-pv/STM32F103VET6_STUno ?

@fpistm
Copy link
Member

fpistm commented Mar 3, 2020

Hi @gsaikiran29
Right the SPI is slow compare to Roger's core.
In the next release an improvement will be available which increase the speed (already available in the master).
You can also change the speed.
There is an issue opened about that to optimize the SPI #257.

Please for questions/support request use the https://www.stm32duino.com

@fpistm fpistm added question ❓ Usually converted as a discussion answered duplicate This issue or pull request already exists labels Mar 3, 2020
@gsaikiran29
Copy link
Author

gsaikiran29 commented Mar 3, 2020

hi @fpistm Thanks for the info.
I have already opened discussion on stm32duino https://www.stm32duino.com/viewtopic.php?f=7&t=184
When it can be solved? and I need a variant of all f103v series, when it will be available?

@fpistm
Copy link
Member

fpistm commented Mar 3, 2020

When it can be solved? and I need a variant of all f103v series, when it will be available?

It is an improvement not a bug. For the STM32F103V series, you can follow the wiki how to add new variant.

This is a community project. Do not hesitate to contribute.

@fpistm fpistm closed this as completed Mar 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered duplicate This issue or pull request already exists question ❓ Usually converted as a discussion
Projects
None yet
Development

No branches or pull requests

2 participants