Problem! use stm32 to driver st7735 #34628
Unanswered
shuiyihang
asked this question in
Q&A
Replies: 1 comment 4 replies
-
We may have an issue on DMA support on F1. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
hi,everybody
I encountered a problem,When I use spi and dma to drive st7735 screen with a size of 129*160, I found that its refreshing speed is slower than that of pure hardware spi. What happened? Which direction should I try to solve the problem?
the board is stm32F102RCT6
the config is this :
`&spi1 {
pinctrl-0 = <&spi1_nss_master_pa4 &spi1_sck_master_pa5
&spi1_miso_master_pa6 &spi1_mosi_master_pa7>;
status = "okay";
dmas = <&dma1 3 1 0x20440 0x00>,
<&dma1 2 1 0x20480 0x00>;
dma-names = "tx", "rx";
};`
Beta Was this translation helpful? Give feedback.
All reactions