My spi lcd (T18SPI-2P) is work on no delay.
DELAY(1) is very slow on led dispay.
This modify work this.
If set over 1000000 Hz then spi is no DELAY.
If set 1000000 Hz to DELAY(1).
Differential D14290
gpiospi no delay support yamori813_yahoo.co.jp on Feb 10 2018, 1:32 AM. Authored by
Details
Diff Detail
Event TimelineComment Actions The description does not seem to match what the code does now. If sc_freq is less than 1 MHz, it will have no delay Does the display you have use a high or a low frequency? Can you provide a better description for the commit message? Comment Actions Sorry my missing comment. I think sc_freq is not frequency. Because of frequency is bigger then one clock is go smaller. Current logic is reverse. I think sc_freq mean latency. I don't have good comment now. Sorry. Comment Actions I update Onion Omega to normal 12-STALBLE then LCD display is slow. I remember no this modify in source tree. sc_freq is revers frequency. If under 1M is no delay, Over 1M divide 1M by micro sec delay. |