Hi Support Team,
We would like to improve the SPI performance with Dragonboard410.
Below is, SPI -Clock waveform. Speed is 50MHz.
Bit cycle = 20ns
BYTE transfer = 170nS + 80nS wait , each BYTE we have an idle time 80ns.
So TOTAL Byte cycle is actually 250nS.
Causing the Byte transfer to be 250 nS instead of 160 nS.
Our SPI configuration
blsp_dma: dma@7884000 { compatible = "qcom,bam-v1.7.0"; reg = <0x07884000 0x23000>; interrupts = <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>; clocks = <&gcc GCC_BLSP1_AHB_CLK>; clock-names = "bam_clk"; #dma-cells = <1>; qcom,ee = <0>; status = "disabled"; }; blsp_spi1: spi@78b5000 { compatible = "qcom,spi-qup-v2.2.1"; reg = <0x078b5000 0x600>; interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>; clocks = <&gcc GCC_BLSP1_QUP1_SPI_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>; clock-names = "core", "iface"; dmas = <&blsp_dma 5>, <&blsp_dma 4>; dma-names = "rx", "tx"; pinctrl-names = "default", "sleep"; pinctrl-0 = <&spi1_default>; pinctrl-1 = <&spi1_sleep>; #address-cells = <1>; #size-cells = <0>; status = "disabled"; };
How can we increase the performance of the SPI?
Thanks,
Darshak