EULER bus question...
#6
(05-20-2017, 09:33 PM)MarkHaysHarris777 Wrote: Use multiplexing;

... the 74hc165 is a parallel in serial out chip;  you multiplex and latch the ADC of choice and then use SPI to bring the ADC bits into the pine via serial.  The 74hc595 reverses that.  A combination of 165 and 595 is generally used to scan a keyboard matrix, for instance.

Basically  each ADC has its own parallel to serial setup.  Your software should use multiplexing to select the parallel to serial setup (for the particular ADC) and then SPI is used to read it.  This can be done with i2c as well.

Heck yeah your pine and SPI can keep up with your ADC chips;


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 know the main processor is at 1100 mhz, which would be plenty given SPI's single bit per cycle, but does the SPI run at that clock rate?
800K 8 bit samples is 6.4megabits per second for 1 a/d channel, with framing bits say 8 megabits/channel
with 4 channels its 32 megabits/channel, which would need a 32 mhz clock rate on a SPI bus...within spi specs of 20-100 mbps, but I start to worry about the 74165, its specs say 28mhz top freq, could 2 74165's do 2 spi channels?
Perhaps just keeping the circuit simple even if it needs 8*4=32+8(control) 40 gpio signals?  Though its a lot of wiring...
Thanks!
E


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,338 01-17-2019, 02:25 AM
Last Post: ramstadt
  Supply DC power to Pine64 via Pi-2 Connector & Euler Bus? crapped 2 5,697 05-24-2018, 01:58 AM
Last Post: crapped
  Backer 12,931 - Shipping Question pspina3rd 13 15,162 07-30-2016, 07:10 PM
Last Post: tllim
  Simple Question, has anyone successfully booted a 2Gb Pine? rahlquist 24 32,244 07-12-2016, 11:31 PM
Last Post: tllim
  Backer 11,978; Shipping question GJurriens 3 4,726 07-12-2016, 06:55 PM
Last Post: tllim
  Case question Fosterocalypse 5 5,707 05-02-2016, 10:35 PM
Last Post: Fosterocalypse
  Playbox Kit Question! TGCOM 8 10,988 02-22-2016, 12:13 AM
Last Post: Ghost

Forum Jump:


Users browsing this thread: 2 Guest(s)