Author Topic: Analog switches and SDIO/SPI devices  (Read 833 times)

0 Members and 1 Guest are viewing this topic.

Offline ledtesterTopic starter

  • Super Contributor
  • ***
  • Posts: 3039
  • Country: us
Analog switches and SDIO/SPI devices
« on: September 23, 2020, 07:03:26 pm »
I was wondering if an analog switch such as the TS3A5018 (datasheet) would be suitable for switching the SDIO/SPI interface lines between two SD cards.

In this case data is written to the SD card at about 100 MB/minute.

The datasheet says the bandwidth of the TS3A5018 is 300 MHz into a 50R load. Would that also be indicative of its performance in this application?

This is an idea to off-load data from a camera by electronically switching between two SD cards.


 

Offline julian1

  • Frequent Contributor
  • **
  • Posts: 735
  • Country: au
Re: Analog switches and SDIO/SPI devices
« Reply #1 on: September 23, 2020, 09:08:25 pm »
Why analog. Do you want to send over fixed impedance line? Why not a digital transceiver. The SD cards on arduino breakouts commonly rely on LVC245A.
 

Offline rstofer

  • Super Contributor
  • ***
  • Posts: 9891
  • Country: us
Re: Analog switches and SDIO/SPI devices
« Reply #2 on: September 23, 2020, 10:16:50 pm »
Can't they both share the bus and just use the SS Slave Select line?
 

Offline ledtesterTopic starter

  • Super Contributor
  • ***
  • Posts: 3039
  • Country: us
Re: Analog switches and SDIO/SPI devices
« Reply #3 on: September 23, 2020, 10:45:17 pm »
Can't they both share the bus and just use the SS Slave Select line?

I want to access the other card from another microcontroller. And I can't modify the firmware of the camera.

Quote
Why analog. Do you want to send over fixed impedance line? Why not a digital transceiver. The SD cards on arduino breakouts commonly rely on LVC245A.

It could be done with 4 transceiver chips. Possibly could be done with 2 if I give up the ability of independent HI-Z control.

Think of it as a camera writing to card #1. Then it is redirected to write to card #2 while a microcontroller connects to card #1 to process the data. And then another switch happens, etc.
 

Offline David Hess

  • Super Contributor
  • ***
  • Posts: 16644
  • Country: us
  • DavidH
Re: Analog switches and SDIO/SPI devices
« Reply #4 on: September 24, 2020, 02:45:41 am »
Yes, analog switches can be used as digital multiplexers in most digital applications and may even be preferred in some cases.
 
The following users thanked this post: ledtester


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf