Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21180 Discussions

Stratix 10 I2C IP Maximum speed of Operation

kiransr
New Contributor I
1,180 Views

Hi,

 

I would be using an I2C IP on the Stratix10 FPGA.

What is the maximum speed of operation of this I2C IP.

Is it interns of Giga or Megha Hertz would like to know the exact frequency range the I2C IP can work.

 

Thanks

Labels (1)
0 Kudos
22 Replies
aikeu
Employee
1,070 Views

Hi kiransr,


May I know which IP which you are referring to according to the embedded peripheral IP user guide?

https://www.intel.com/content/www/us/en/docs/programmable/683130/24-1/introduction.html


Thanks.

Regards,

Aik Eu


0 Kudos
kiransr
New Contributor I
966 Views

Hi Aik Eu,

 

The IP which I was referring to was 

I2c Slave to Avalon-MM Master Bridge Intl FPGA IP

 

And the I2C IP which is used along with ARM hard processor.

For both of these IP would like to know the speed of operation.

 

Regards,

Kiran

 

0 Kudos
kiransr
New Contributor I
1,040 Views

Hi Aik Eu,

 

The IP that I was referring to was LVDS Serdes IP, available in the library basic functions IO section.

And also, I would like to know about the mini LVDS IO how long it can drive.

Both of my questions are related to LVDS.

 

Regards,

Kiran

0 Kudos
aikeu
Employee
977 Views

Hi kiransr,


I think you can refer to this document first:

https://www.intel.com/content/www/us/en/docs/programmable/683792/22-1-20-0-1/high-speed-lvds-i-o-overview.html


Can create a new forum title related to LVDS and further add in the related questions so the case can be properly assigned and to be referred in future.


Thanks.

Regards,

Aik Eu


0 Kudos
aikeu
Employee
912 Views

Hi kiransr,


The embedded peripheral IP document didnt mention about the max clock operating frequency or different I2c frequency mode. From some of the tested cases it is based on the standard I2c max clock frequency of 100khz.


Thanks.

Regards,

Aik Eu


0 Kudos
kiransr
New Contributor I
901 Views

Hi Aik Eu,

 

Actually, you mentioned standard I2C max clock frequency of 100khz is it correct.

We are using the Intel stratix10 soc FPGA in that we will be using the I2C IP in the ultra-fast mode of operation so, will it be working at a speed of 1Gigahertz.

 

Regards,

Kiran

 

0 Kudos
FvM
Honored Contributor I
894 Views

Hi, you are above referring to I2C interface of Stratix 10 Hard Processor. It's maximal speed is specified in Technical Reference Manual  with 400 Kbps.

Generally, what's the idea behind bridging HPS I2C to AVMM master in your design? According to user guide, Intel FPGA I2C Agent to Avalon-MM Host Bridge Core is specifically intended to drive flash memory. Also this core is limited to 400 Kbps speed. 

Gbps speed is simply impossible by nature of the I2C interface as open drain bus with asynchronous clock and arbitration

0 Kudos
kiransr
New Contributor I
880 Views

Hi FvM,

 

Thank you.

It's not in gigahertz, my question should be will the I2C be working at some meghahertz speed, if so what's that speed.

 

Regards,

Kiran

0 Kudos
FvM
Honored Contributor I
870 Views

Hi,

no, 400 Kbps (400 kHz) maximal, as specified. Special fast I2C variant can achieve higher speed by using push-pull drivers, obviously the discussed IP doesn't provide it.

Still not clear what you want to achieve.

Regards,
Frank

0 Kudos
kiransr
New Contributor I
792 Views

Hi Frank,

 

Thank you for the reply.

You mentioned about the special fast I2C variant, where/how can I get access to this special fast I2C variant and will it run at a speed of 1Mhz.

And if that special fast I2C is used in Stratic10 soc FPGA, will the open drain IO pads support speed of 1Mhz.

Are there Open-Drain pads in Stratix 10 device that can run at 1Mhz.

 

Can you provide detailed explanation on this.

 

Regards,

Kiran

 

 

 

 

0 Kudos
JingyangTeh
Employee
689 Views

Hi


Sorry to mention that the Stratix10 only supports up to Fast Mode of the I2c protocol.


For the Stratix10 I2C controller maximum speed is up to 400Khz.

This is mentioned in the Stratix10 TRM :

https://www.intel.com/programmable/technical-pdfs/683222.pdf


It is the same if you are using the I2C Host IP :

https://www.intel.com/content/www/us/en/docs/programmable/683130/22-1/core-overview-35558.html



Regards

Jingyang, Teh


0 Kudos
kiransr
New Contributor I
684 Views

Hi Jingyang Teh,

 

Thank you for the answer.

 

If we port ASIC verified I2C (our own I2C module, which can run at 1.3Mhz) to stratix 10 FPGA then will the IO's support the same speed as ASIC (1.3Mhz) or will it be restricted to 400Khz.

 

Regards,

Kiran

0 Kudos
kiransr
New Contributor I
682 Views

 

Hi Jingyang, 

 

Please let me know - 

         Are there Open-Drain IO pads in Stratix 10 device that can run at 1Mhz or above?

 

 

Thanks,

Kiran

0 Kudos
FvM
Honored Contributor I
677 Views

Hi,

documentation clearly specifies to support 400 kHz maximal. To find out what's the actual limitation, you probably need to get familiar with the documentation and IP core details yourself.

In case of soft I2C IP, speed is fixed to 100 and 400 kHz, there's one bit to switch between both. Using a different speed would require to modify the IP source code.

Stratix 10 HPS has preset SCL high and low clock tic counts for standard and fast mode. I read the documentation so, that lower counts are possible (see 20.4.5.1. Minimum High and Low Counts). If I2C can actually operate with lower settings must be tested.

I2C operation speed is not only limited by controller timing but also by time constant (pull-up resistor and load capacitance) of open drain bus. Intel I2C IP doesn't support push-pull bus drivers for Hs mode.

0 Kudos
kiransr
New Contributor I
585 Views

Hi,

Please understand my query, 

I am not asking for I2C soft IP speed and its limitations. My query is not around I2C, my question is all about 

open-drain IOs that come with stratix-10 device.

Please let me know - what is the max speed the open-drain IO can operate ? 

 

 

 

Thanks,

Kiran

0 Kudos
kiransr
New Contributor I
583 Views

so, do you mean - that Stratix-10 open-drain IO is limited to operate upto max 400KHz, time-constant of open-drain IO does not support to run beyond 400Khz ? Please request for a binary answer. 

0 Kudos
FvM
Honored Contributor I
569 Views

You did not refer to IO speed in initial posts, really confusing. Speed of open drain is surely not limited to 400 kHz, it can be affected by varying the pull-up resistors. 400 kHz for fast mode has been specified in I2C standard to support common applications. Details are discussed here https://www.nxp.com/docs/en/user-guide/UM10204.pdf

 

I suggest to check the achievable speed for your actual hardware, at least HPS I2C interface should allow to adjust speed.

0 Kudos
kiransr
New Contributor I
508 Views

Please understand the Question carefully 

I am not using the I2C IP from Startix device, I have designed a soft I2C master module, would like to run this I2C master IP at 1Mhz or above, but can i use this IP and connect it to stratix open-drain IO, 

will the IO support 1Mhz speed or not ?

0 Kudos
JingyangTeh
Employee
436 Views

Hi


Yes the Stratix10 Single Ended IO could support up to 100Mhz.

Running 1Mhz should be not a problem.


Regards

Jingyang, Teh




0 Kudos
JingyangTeh
Employee
267 Views

Hi


Do you have any follow up question on this case?


Regards

Jingyang, Teh


0 Kudos
Reply