Home > other >  Haisi 3519 SPI rate problem
Haisi 3519 SPI rate problem

Time:10-31

Use haisi SPI data transmission, 24 mspi clock, found that after every two byte, the waiting time would become, CLK was down more than 1 us directly, at the time of 12 m without this phenomenon, cause the overall transfer rate, so any increase the 24 m is no more than 12 m, and even lower,
CLK was 12 m when transmitted waveform, above as the CLK, the following for the output, the output for all F, can see the basic fixed interval between each byte

CLK was 12 m when transmitted waveform, above as the CLK, the following for the output, the output for all F, you can see every two bytes, CLK stopped have more than 1 us

CodePudding user response:

Post a slip of the pen, zhang is 24 m 2 SPI CLK time waveform figure

CodePudding user response:

The building Lord, solved?
Here I use hi3531a to FPGA hardware spi communication,
Set speed=20 * 1000 * 100, the results of the oscilloscope measurement is 31.2 MHZ (right)
Set speed=10 * 1000 * 100, the results of oscilloscope measurement is 10 MHZ (right)

CodePudding user response:

After reading the data processing time, both 12 m and 24 m should be the same (CPU frequency constant),

CodePudding user response:

The building Lord, you still there? I want to ask SPI sent to from the machine, how to use the DMA way

CodePudding user response:

refer to 6th floor corner met miss reply:
the building Lord, solved?
Here I use hi3531a to FPGA hardware spi communication,
Set speed=20 * 1000 * 100, the results of the oscilloscope measurement is 31.2 MHZ (right)
Set speed=10 * 1000 * 100, the results of oscilloscope measurement is 10 MHZ (right)



Hello, how do you solve the best, it seems that document also said that more than 20 m is 31 hz frequency, I want to sent via DMA mode of SPI, do you have experience exchange it for me

CodePudding user response:

refer to 7th floor worldy response:
read data after the processing time, both 12 m and 24 m should be the same (CPU frequency constant),

Bosses have written under the DMA SPI send? Can communicate it to me
  • Related