EULER bus question...
#8
(05-21-2017, 05:13 AM)ealbers Wrote: How many bps can SPI do on the pine?  What clock rate is a SPI channel clocked at???  The processor frequency or the external oscillator freq?

I can't answer your question simply as I haven't played with the SPI stuff on the pine64 much, but @martinayotte may be able to.

However, what I can say is that if you look on p110 of the A64 user manual it appears that SPI can be clocked from one of three different sources, and then you've got the pre-divide ratio and clock divider ratio to deal with. And there is no functional difference between the registers for the SPI0 or SPI1 clock. Since this stuff is set by the registers, the device tree should hold the magic numbers. Fast forward to ln 2034 of the pine64 DTS, and you get the SPI register settings... and I think lines 2041 and 2042 are the ones of interest. I'll leave that up to you to work out out now, or someone else to explain... time for me to go back to the law textbooks and read up on commercial trusts and defeasible transactions... Undecided


Messages In This Thread
EULER bus question... - by ealbers - 05-20-2017, 05:19 AM
RE: EULER bus question... - by martinayotte - 05-20-2017, 09:17 AM
RE: EULER bus question... - by MarkHaysHarris777 - 05-20-2017, 01:24 PM
RE: EULER bus question... - by ealbers - 05-20-2017, 05:18 PM
RE: EULER bus question... - by MarkHaysHarris777 - 05-20-2017, 09:33 PM
RE: EULER bus question... - by ealbers - 05-21-2017, 05:13 AM
RE: EULER bus question... - by pfeerick - 05-21-2017, 06:37 PM
RE: EULER bus question... - by MarkHaysHarris777 - 05-21-2017, 08:25 AM
RE: EULER bus question... - by martinayotte - 05-22-2017, 04:06 PM
RE: EULER bus question... - by pfeerick - 05-22-2017, 07:23 PM
RE: EULER bus question... - by MarkHaysHarris777 - 05-22-2017, 07:33 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  I2S Codec on Euler bus of Pine A64+ RANJITT76 8 10,363 01-17-2019, 02:25 AM
Last Post: ramstadt
  Supply DC power to Pine64 via Pi-2 Connector & Euler Bus? crapped 2 5,708 05-24-2018, 01:58 AM
Last Post: crapped
  Backer 12,931 - Shipping Question pspina3rd 13 15,256 07-30-2016, 07:10 PM
Last Post: tllim
  Simple Question, has anyone successfully booted a 2Gb Pine? rahlquist 24 32,324 07-12-2016, 11:31 PM
Last Post: tllim
  Backer 11,978; Shipping question GJurriens 3 4,741 07-12-2016, 06:55 PM
Last Post: tllim
  Case question Fosterocalypse 5 5,720 05-02-2016, 10:35 PM
Last Post: Fosterocalypse
  Playbox Kit Question! TGCOM 8 11,025 02-22-2016, 12:13 AM
Last Post: Ghost

Forum Jump:


Users browsing this thread: 2 Guest(s)