Closed shuiyihang closed 2 years ago
Same as #34543, closing
Let's see the perf once #34543 is merged
Removing bug as initial feature is not merged yet (https://github.com/zephyrproject-rtos/zephyr/pull/34666)
@shuiyihang Can you have a new check now that https://github.com/zephyrproject-rtos/zephyr/pull/34666 has been merged ?
Thank you for thinking about it for so long. I have been busy recently. I will take the time to test.
@shuiyihang ^^
@shuiyihang I'm closing the point, feel free to reopen if required
I am using the spi of stm32 mini to drive a st7735 screen, but I think it is too slow, so I did the following to enable dma, `&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";
};` but there was a problem and a compilation error occurred:
error:'LL_DMA_InitTypeDef' has no member named'PeriphRequest' 461 | DMA_InitStruct.PeriphRequest = config->dma_slot;
So I commented out this line and successfully generated the firmware. After burning, I found that the speed of DMA is much slower than that of pure spi.
I want to make the refreshing speed after using dma faster than pure hardware spi