Author Topic: cheap way of interfacing 5V PCI to Spartan 6  (Read 2727 times)

0 Members and 1 Guest are viewing this topic.

Offline ali_asadzadehTopic starter

  • Super Contributor
  • ***
  • Posts: 1905
  • Country: ca
cheap way of interfacing 5V PCI to Spartan 6
« on: March 05, 2017, 09:37:40 am »
Hi
I have used  330ohm series resistors in the PCI signals and connect it directly to Spartan 6, Does it a viable option? I do not wanna use level shifter chips to save cost.
Do you have any other idea?
ASiDesigner, Stands for Application specific intelligent devices
I'm a Digital Expert from 8-bits to 64-bits
 

Offline legacy

  • Super Contributor
  • ***
  • !
  • Posts: 4415
  • Country: ch
Re: cheap way of interfacing 5V PCI to Spartan 6
« Reply #1 on: March 05, 2017, 03:25:26 pm »
330ohm series resistors in the PCI signals and connect it directly to Spartan 6

I say - No!
 

Offline asgard20032

  • Regular Contributor
  • *
  • Posts: 184
Re: cheap way of interfacing 5V PCI to Spartan 6
« Reply #2 on: March 05, 2017, 03:32:33 pm »
A resistance only limit current, you need a voltage divider if you want to limit the voltage.

Also, high speed digital (everything above 20 MHz) don't like any such thing, such as voltage divider and other low cost / easy thinking way of voltage conversion. Those usually limit the transition speed of the signal, because of capacitance and inductance effect. Almost everything is a Mosfet... if you put a resistance, you also limit the gate charge and discharge time. There must be a better way to connect 5V PCI to Spartan 6... Doesn't PCI use LVDS interface ? There exist transceiver for that, and in fact, I never heard anything connected to PCI or PCIe without a transceiver. Some FPGA even got the transceiver, so no need for an external one.

EDIT: PCI doesn't use LVDS. It use 3.3 V signaling. Just use a voltage converter.

EDIT EIDT: PCI can either be 3.3V or 5V. Check your system to be sure. Also, you will need some bidirectional converter for some of the line.
« Last Edit: March 05, 2017, 03:37:48 pm by asgard20032 »
 

Offline legacy

  • Super Contributor
  • ***
  • !
  • Posts: 4415
  • Country: ch
Re: cheap way of interfacing 5V PCI to Spartan 6
« Reply #3 on: March 05, 2017, 04:05:02 pm »
Some FPGA even got the transceiver

which ones?
 

Offline ali_asadzadehTopic starter

  • Super Contributor
  • ***
  • Posts: 1905
  • Country: ca
Re: cheap way of interfacing 5V PCI to Spartan 6
« Reply #4 on: March 06, 2017, 06:41:12 am »
I'm designing a universal card, So I might assume some motherboards have 5V signaling, the series resistors with the internal clamp diodes server as 5V down conversion to 3.3V and I think the outputs with 3.3V high state would be enough for driving the inputs of the motherboard bridge. and 33MHz is not a fast signal, any one has done it this way before?
ASiDesigner, Stands for Application specific intelligent devices
I'm a Digital Expert from 8-bits to 64-bits
 

Offline poorchava

  • Super Contributor
  • ***
  • Posts: 1672
  • Country: pl
  • Troll Cave Electronics!
Re: cheap way of interfacing 5V PCI to Spartan 6
« Reply #5 on: March 06, 2017, 08:06:49 am »
You need to remember thatmaximum voltage level is not all. I bet 3.3V and 5V variants of the bus have different thresholds for logic high and low. For CMOS to guarantee reading input as high it typically needs to be >0.7*VDD or  >3.5V which is obviously not possible to achieve with a 3.3V-powered FPGA.

You will either have to use an FPGA that supports PCI natively (and perhaps allows you to switch voltage powering the IO buffers at runtime) or use some dual-supply buffers which work at both 5V and 3.3V.
I love the smell of FR4 in the morning!
 

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 26906
  • Country: nl
    • NCT Developments
Re: cheap way of interfacing 5V PCI to Spartan 6
« Reply #6 on: March 06, 2017, 11:45:19 am »
Hi
I have used  330ohm series resistors in the PCI signals and connect it directly to Spartan 6, Does it a viable option? I do not wanna use level shifter chips to save cost.
Do you have any other idea?
IIRC Xilinx had some aplication notes on this issue and their solution might be using series resistors to limit the current going into the clamping diodes in the FPGA.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline ali_asadzadehTopic starter

  • Super Contributor
  • ***
  • Posts: 1905
  • Country: ca
Re: cheap way of interfacing 5V PCI to Spartan 6
« Reply #7 on: March 06, 2017, 12:37:12 pm »
Quote
You need to remember thatmaximum voltage level is not all. I bet 3.3V and 5V variants of the bus have different thresholds for logic high and low. For CMOS to guarantee reading input as high it typically needs to be >0.7*VDD or  >3.5V which is obviously not possible to achieve with a 3.3V-powered FPGA.

You will either have to use an FPGA that supports PCI natively (and perhaps allows you to switch voltage powering the IO buffers at runtime) or use some dual-supply buffers which work at both 5V and 3.3V.
Then powering the FPGA with 3.6V would solve this issue ;) :)

Quote
IIRC Xilinx had some aplication notes on this issue and their solution might be using series resistors to limit the current going into the clamping diodes in the FPGA.
Do you happen to know the App-note number?
ASiDesigner, Stands for Application specific intelligent devices
I'm a Digital Expert from 8-bits to 64-bits
 

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 26906
  • Country: nl
    • NCT Developments
Re: cheap way of interfacing 5V PCI to Spartan 6
« Reply #8 on: March 06, 2017, 12:41:58 pm »
I think the Spartan3 application notes for their PCI core may have some info on how to deal with this. I don't know the numbers so better use Google or Xilinx' search engine on their website. It will take some digging/reading though to get the answer.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline Scrts

  • Frequent Contributor
  • **
  • Posts: 797
  • Country: lt
Re: cheap way of interfacing 5V PCI to Spartan 6
« Reply #9 on: March 06, 2017, 01:36:23 pm »
I'm designing a universal card, So I might assume some motherboards have 5V signaling, the series resistors with the internal clamp diodes server as 5V down conversion to 3.3V and I think the outputs with 3.3V high state would be enough for driving the inputs of the motherboard bridge. and 33MHz is not a fast signal, any one has done it this way before?

PCI is not fast, but the timing is really critical there. You have to be sure to meet setup and hold requirements.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf