Maximum SPI clock frequency

Hi, I have a question about the myRIO 1900 spec.
The onboard FPGA has a 40 MHz clock, thus as described here it is possible to generate a 20 MHz frequency. That page also provides an equation for valid frequencies:
The following equation calculates frequencies that you can generate for serial peripheral interface (SPI) I/O on the NI myRIO.
fSPI = fclk / (2 * N * [X + 1]) 
where fSPI is the desired SPI frequency
 fclk is the base clock frequency
 N is the clock divisor
 X is the number of counts before changing the signal
The PWM Express VI and SPI Express VI provide a Validate button that you can use to validate whether the Express VI can generate the frequency that you specify. If the specified frequency is not valid, both Express VIs coerce the specified value to the nearest valid value.
However, the VI limits the frequency to 4 MHz, and 4 MHz is the maximum SPI frequency stated in the user guide / spec. So the question is, why the inconsistency? Is it possible to use the FPGA to run SPI at a higher frequency, such as 10 or 20 MHz? Or is there some unmentioned constraint on N or X in the above equation?

Hi Lack,
After researching this issue, it turns out that all of the default functions VIs, including the advanced VIs for myRIO, will coerce the SPI maximum frequency to 4 MHz because this is the highest range that NI officially supports. Technically you could try for higher frequencies by changing the fixed myRIO FPGA personality and accessing the registers available there, but we cannot guarantee its accuracy.
David H.
National Instruments

Similar Messages

  • Can 9401 generate the clock frequency of 20Mhz on 4 Channels in SCTL of 40MHz

    We need to use 9401 to generate the clock frequency of 20Mhz on 4 Channels
    But as per trhe data sheet 
    4 output channels........................10 MHz
    Does it means that we can get maximum frequency of 10MHz on each channel.
    Thanks

    Hello Johan!
    Bad news I am afraid….
    I assume you are using the Data Acquisition Toolbox from the Mathworks and when it comes to support on that interface I have to advice you to contact the Mathworks for assistance. We don't provide any support on their data acquisition interface since we have nothing to do with it.
    Sorry for the inconvenience this might cause you.
    Regards,
    Jimmie A.
    Applications Engineer, National Instruments
    Regards,
    Jimmie Adolph
    Systems Engineer Manager, National Instruments Northern Region
    Bring Me The Horizon - Sempiternal

  • I7 clock frequency ridiculously high in 3.15

    Hi, after upgrading to the 3.15 kernel the CPU clock frequency is very high even when in idle mode. Previously (in 3.14) it went down to 800MHz, now the i7z utility gives the following output (while htop shows no heavy processor usage):
    Real Current Frequency 3539.79 MHz [100.00 x 35.40] (Max of below)
    Core [core-id] :Actual Freq (Mult.) C0% Halt(C1)% C3 % C6 % Temp
    Core 1 [0]: 3539.79 (35.40x) 1.06 97.9 1 0 28
    Core 2 [1]: 3499.31 (34.99x) 1 100 0 0 27
    Core 3 [2]: 3497.60 (34.98x) 1 99.3 0 0 25
    Core 4 [3]: 3513.86 (35.14x) 0 100 0 0 26
    This is reproducible on two of my machines (one being a laptop which is now constantly in turbo mode unnecessarily draining its battery). Everything regarding frequency scaling is set to the defaults, intel_pstate is enabled.
    echo 20 > /sys/devices/system/cpu/intel_pstate/max_perf_pct
    immediately sets the clock frequency of all cores to 800MHz, so I assume pstate is working.
    The CPU models are i7-4770K and i7-4510U.
    Any help or further information on this issue?

    I can confirm that, my Xeon E3-1230v3 (haswell) keeps running at turbo clock (100x37) in idle
    Real Current Frequency 3694.77 MHz [99.94 x 36.97] (Max of below)
    Core [core-id] :Actual Freq (Mult.) C0% Halt(C1)% C3 % C6 % Temp
    Core 1 [0]: 3685.23 (36.87x) 5.19 75.8 11.7 6.72 37
    Core 2 [1]: 3667.91 (36.70x) 1 97 1 1 38
    Core 3 [2]: 3668.83 (36.71x) 1.36 96.4 1.08 1 39
    Core 4 [3]: 3694.77 (36.97x) 2.33 89.2 6.87 1.33 39
    It seems that something went wrong with haswell CPUs and intel_pstate
    cpupower frequency-info:
    analyzing CPU 0:
    driver: intel_pstate
    CPUs which run at the same hardware frequency: 0
    CPUs which need to have their frequency coordinated by software: 0
    maximum transition latency: 0.97 ms.
    hardware limits: 800 MHz - 3.70 GHz
    available cpufreq governors: performance, powersave
    current policy: frequency should be within 800 MHz and 3.70 GHz.
    The governor "powersave" may decide which speed to use
    within this range.
    boost state support:
    Supported: yes
    Active: yes
    Last edited by marcinz (2014-07-06 14:27:07)

  • DDS Compiler (Xilinx Coregen IP) maximum achievable clock rate

    Hi,
    I am using labview FPGA2011 and FlexRIO 7965R (i.e. Virtex5 SX95T). I have compiled a sinusoid generater using the built in Xilinx Coregen IP named 'DDS Compiler'. The output of DDS Compiler is sent to the host VI using DMA FIFO. My SCTL runs at 346MHz, as the largest clock that can be provided is 346.666MHz. The code according to DDS Compiler data sheet (DS558) with the configuration settings that i have used, should burn at 450MHz (mentioned in cloumn 4  of Table8 on page 28). But my code gives a maximum achievable clock rate of 350.63MHz. I have attached my code and images of the compilation results. Can somebody check and tell me why am i not getting the 450MHz rate? Is there any limitation on the clock rate due to the VI scoped or DMA FIFOs?
    Thanks
    Attachments:
    DDS Compiler.zip ‏858 KB
    images.zip ‏53 KB

    Hi Sandee, 
    What are you planning on doing with this sine wave?  Are you using a FlexRIO Adapater Module(FAM)?  
    The reason you can't get anything higher than 346.66MHz is because the clock that is being generated from is a 40 MHz clock.  Once you multiply it up that high, the accuracy of the frequency is not reliable.  
    The beauty of the FlexRIO is that you are able to bring in external clocks with several of our FAMs.  These external clocks are piped directly to the FPGA.  On top of that, if you're using the 6587 FAM, for example, you're able to generate up to a 500 MHz clock on the FAM, and provide that to the FPGA.  
    To do that, you first add your adapter module to the project
    Right click on your fpga target -> select new FPGA Base clock - > IO Module clock 0 from the drop down.  
    Then specify your frequency to be 450 or 500, whatever you want it to be. 
    Then on your block diagram, you'll provide your single cycle timed loop with the IO Module Clock 0 as the source. 
    I'm going to compile it now and I'll update with the results. 
    National Instruments
    FlexRIO & R-Series Product Support Engineer

  • Selecting sample clock frequency for NI 4472

    HelIo:
    I have been using NI 4472 DSA on a PCI slot for reading accelerations. I was reading the NI 4472 User Manual and under "Selecting your sample clock frequency", it specify two increments (95.37 uS/s for Fs<51.2 kS/s and 190.7 uS/s for Fs>51.2 kS/s). Can you explain what these increments mean? I understand the sampling frequency, but what does this time increment mean?
    Also, it says "If you do not specify a rate at a multiple of the increment, NI-DAQ will automatically choose the next higher step for you". Dose that mean I cannot specify any random value for Fs? Dose it have to be a certain multiplication. Please explain this for a novice to Labview/DAQ.
    Thanks a lot in advance.

    Hello MiamiVipul,
    Those statements in the User Manual mean that the PCI-4472 only has a finite set of sample rates that it can produce.  The allowable sample rates are given by 51.2 kS/s - k * 95.37 uS/s or 51.2 kS/s + k * 190.7 uS/s, where k is an integer.  As you can see, the step size is quite small, so you still have a lot of flexibility. 
    As an example, if you specify a sample rate of exactly 51.2 kS/s, that would be fine.  However, if you try to set the sample rate to something between 51,200 S/s and 51,199.990463 S/s (51.2 kS/s - 95.37 uS/s), the driver will automatically coerce that sample rate to next highest allowable rate, or 51.2 kS/s.  In order to find out the exact value that the driver is using, you can read the from the DAQmx Timing Property "Sample Clock:Rate" as shown below:
    I hope this helps!
    Best regards,
    Message Edited by Jarrod B. on 01-04-2007 09:03 AM
    Attachments:
    ReadSampleRate.JPG ‏6 KB

  • Change clock frequency in PCI 7334

    Hi ,
       I'm using a PCI 7334 stepper motor controller. The default clock is 10 KHz, but I would like to reduce it to 100 Hz or less.
    I'm using LabView 8 and  the example .vi like 
    One-Axis Find Reference with Status Monitor.vi or
    Simple One-Axis Move.vi
    I can't find how to change the clock frequency. Anybody can help ?
    Many thanks.
    Paola

    Hi,
    I think you have to change the velocity using Load velocity function.
    You can find an example in the One Axis.llb > One-Axis Move (Accel- max Vel - Decel).vi in which is used Load Velocity in RPM.flx.
    If you want to specify Steps/sec you have to use the Load Velocity.flx function (as you can see from the help the default value is 10000steps/s).
    Best regards
    AmbuA

  • NI USB-8451 SPI clock release

    Is it possible to release the SPI clock signal so it reamins high immediately after sending data on the SDO line? Currently, SCLK is held low for a significant period of time after transmission of the final data bit before it is released to a logic high state. Is there a way to configure this? Is there also a way to configure DIO signals independent of the SPI using scripting?

    Hi John,
    I believe you are referring to the clock polarity and phase.
    Where Can I Find More Information About the SPI Clock in a USB-8451?
    http://digital.ni.com/public.nsf/allkb/4FB0A184E545AC1586257609007537EF?OpenDocument
    The information is found here in the NI-845x Hardware and Software Manual:
    http://www.ni.com/pdf/manuals/371746e.pdf#page=26
    Additionally, beyond using SPI scripting, we can use the basic SPI and basic DIO examples installed with the 845x driver in Help > Find Examples.
    Joey S.
    Software Product Manager
    National Instruments

  • Configure WTK With Platform details (Processor,memory,clock frequency,etc.)

    Hi All,
    For our Midp Application, we are using Sun WTK 2.3 beta version & j2sdk1.4.2_13 which is running on three different Desktop PC's with different processors speed & RAM. we are also using IBM Rational Test RealTime tool for profiling the results.
    below is the profiling figures of my MIDP Application on three different PC's.
    Function Time F+D time
    PC 1: 3594 3594
    PC 2: 20 30
    PC 3: 1428 1427
    Note: The figures given above is in Milliseconds.
    we had also configure the Sun WTK 2.3 beta version & j2sdk1.4.2_13 in IBM Rational Test RealTime tool for profiling the results of my MIDP Application.
    Queries:
    Q1: is there any way to set the WTK or Emulator parameters as real time Device configurations like (Processor,memory,clock frequency,etc as real time device.
    We are also having a Profiling Tool called RVDS3.0 ,it has armulate.dse file, which allows us to change the parameters of any target device but unfortunately it doesnt support MIDP Application for profiling.
    Regards,
    Mukesh Kumar,
    India,
    Bangalore.

    Hi,
    i agree withyou , since the vm behave differently on different PC'S, there what i am looking for WTK Settings for a particular set of devices, let us say, if i want to test the series60 Profiles using WTK , then i have to setup the same enviorment in wtk.
    any ways,
    i am trying to integrate the nokai_midp sdk with wtk and trying to profile on different PC's.
    -Mukesh Kumar,
    India,
    Bangalore.

  • Confused about the 'cpu fsb clock frequency' setting, etc., in cell in bios

    just got a new k8n neo2-f nforce3 board with an a64 3500+ venice chip.  It is properly recognized in the bios and windows as an a64 3500+ at 2.2ghz, but I'm confused about the cell menu settings in the bios. I see a 'cpu fsb clock frequency' which was automatically set at 200mhz, but the fsb runs at 1Ghz (1000mhz), so what is the 'fsb clock frequency' if not equal to the cpu fsb?  Is 200 the correct setting for that?  Should I need to change any of the other settings in here?  I wonder, because my 3dmark03 score only went up 200 points from the same system with a AthlonXP 2500+ chip and kt4avl mobo, which seems like a low increase to me.....

    I would set that to Manual in BIOS, so that you can incremently increase the CPU speed without causing a sudden crash. Each system is different and operates within the specs of not only the CPU, but system memory and PCI-E add-ins as well. Your video card is the primary driver behgind your 3DMark scores...but you haven't listed that?!

  • Different clock frequency on hyper-threaded cores?

    I'm not sure if this is the right place to ask, It's not really an issue but has be bothering me for some time now and google didn't find an answer for me....
    I'm currently using an i7-5500U with 2 physical cores (4 HT cores).
    Yet, when I check the clock frequency on the system it shows a different value for each of the 4 HT cores:
    cat /proc/cpuinfo | grep MHz
    cpu MHz : 3001.031
    cpu MHz : 2975.906
    cpu MHz : 2994.468
    cpu MHz : 2901.562
    How can this be possible when there are only 2 physical cores?
    Shouldn't the HT cores share the same frequency on the same physical core?
    If I'm getting this right, hyper-threading simply means interleaving 2 instruction streams into a single (physical) core to reduce pipeline hazards right?
    This just boggles my mind....
    Last edited by akiroz (2015-06-06 19:05:33)

    The numbers are different each time, here are 3 more samples:
    cat /proc/cpuinfo | grep MHz
    cpu MHz : 2937.187
    cpu MHz : 2954.250
    cpu MHz : 2977.500
    cpu MHz : 2990.250
    cat /proc/cpuinfo | grep MHz
    cpu MHz : 2954.812
    cpu MHz : 2981.812
    cpu MHz : 2996.343
    cpu MHz : 2987.062
    cat /proc/cpuinfo | grep MHz
    cpu MHz : 2969.250
    cpu MHz : 2936.718
    cpu MHz : 2985.093
    cpu MHz : 2980.031

  • MIG clock frequency configuration

    Dear All,
    I have a question. I am generating MIG in VIVADO 2014.1 and I want to have clock period equal to 1250 ps which is generating clock with 800 MHZ for my SODIMM but I want to have memory controller work with 400 MHZ which means that PHY to controller clock ratio should be 2 but it does not have this option and it can be JUST 4 (it is disable and automatically it is selected as 4). 
    I know it might be different than standard but the question is that is there any way to have MIG which works with 800 MHZ SODIMM and has  memory controller working with 400 MHZ. 
    I was thinking to generate MIG with clock period = 400 MHZ but choose PHY to controller clock ratio = 2 then when it is generated then I can change the parameters of PLL to generate 800 MHZ instead of 400 MHZ. 
    if it is not recommended what else I can do ? 
    thanks for your prompt reply in advance, 
    Meysam

    Meysam -
    The Zynq Kintex-7 PL fabric is pretty fast, but asking a complicated memory controller and whatever logic interfaces with it to run at 400MHz is asking too much. The tool won't let you select 2:1 for that reason. You're going to have to either compromise on speed or on data width. Depending on PL fabric (Artix or Kintex) and speed grade, 400MHz is near or even beyond the maximum frequency for hard resources like block RAMs and DSP blocks (see data sheet). That's a good indication that you can't do much at that clock rate.
    Having a data path 512 bits wide is a little unwieldy, but the nice part is that this width matches the 64-byte burst size at the SODIMM. This simplifies your interface with the controller somewhat. If you really need 800MHz at the memory I don't think you have any choice.
    Good luck.

  • FFT express VI: maximum possible clock speed

    I'm using the FFT express VI in an FPGA VI running on a PXIe-7962R.  The maximum clock speed I can use without getting timing errors on compilation is 125 MHz.  Is this about right for this VI?  I see that the Xilinx LogiCORE FFT has much faster max. clock speeds listed - > 300 MHz for most configurations.  Would I be able to achieve a significant speed increase by switching to the Xilinx IP module, or are there other timing considerations specific to LabVIEW FPGA that would slow it down?

    Hi Bob,
    125 MHz does sound about right for the FFT Express VI.  You may be able to increase that a bit by adjusting the Clock rate, Throughput, and Length parameters, but you definitely won't be able to get it up to 300 MHz as you mentioned.  Based on the Xilinx LogiCORE FFT documentation, it does look like that could be a faster solution. Have you tried compiling with that method?  What clock rates were you able to compile.  Also, what rate are you trying to reach?
    Thanks,
    Morgan Sweatt
    Applications Engineer
    National Instruments

  • My GTX 580 OC will not drop the core clock frequency when idle

    The model is N580GTX-M2D15D5/OC .
    I have read some reviews said that the GTX580 drops the core clock down to about 50MHz when idle. But my card will always stay at 823MHz. Is this a issue or it's just working as intended? Can i have the clock auto-tunable?
    Thanks in advance
    acui.

    Thank you

  • Clock Frequency

    I just got the KT6 Delta and i put my old AMD XP2000+ processior on it and am re-using my pc2100 RAM. The board keeps running it at 100 MHz and I cannot find where to switch it to 133MHz.  It won't let me change it in advanced chipset features in the BIOS.

    I have both powers hooked to the board(20 and the 4 pin).  My psu is a Raid Max 350W with +3.3v, +5v, +12v, -5v, -12v, +5Vsb.
    Everything runs fine at 100MHz except the fact that its only running at 1.25GHz and it should be 1.67GHz.  I have one stick of PC2100 ram (256MB) in and am running a 128 MB AIW ATI vid card.  Ithought maybe there would be a jumper on the board to set the FSB speed but there isn't.  When i adjust it in the BIOS under frequency/voltage, it moves in increments of 1.  That is why i think that setting just overclocks it.  I appreciate the help.

  • Clock frequencies

    i uped my clockfrequencies from core -50 memory -100     to 325 and 550 (did the autodetect thing) but when i ran 3dmark it said it was still 50 and 100???
    i tryed checking the "apply setting at start up" but it didnt change anything

    First of all, not EVER trust the auto-detect feature! I almost learned that the hard way.
    second, are you testing with the 01 or 03 version? Did you see a performance increase ?
    We need much more info to answer your Q, how about taking a look in the sticky's, on how about posting.  
    neXuzDK

Maybe you are looking for

  • How do I install programs and files from my backup hard drive?

    I had my computer reset to original settings after I backed it up to an external hard drive and now I'm not sure how to reinstall everything from there.

  • Intalling CUCM on UCS-C200M2-VCD

         HI Everyone      I have a new office that we just purchaed  and they want to install an additional CM Subcriber onsite.      I'm familiar with doing installs on the MCS series where you just pop in the DVD and your off and running      but now t

  • Problems loading RAW files from Canon EOS 70D

    I've recently changed my camera from an EOS 500D to a 70D and now find that I can't open the RAW files even though my Photoshop says it's up-to-date when queried through Creative Cloud.  However, when I check the Camera RAW version used in PhotoShopC

  • Keeping unlimited 3g with a 4g phone

    Is it possible to keep a 3g unlimited data plan when you purchase an unsubsidized 4g phone? I do not mind keeping 3g speeds as the 4g coverage in my area is non-existent. If you upgrade to another unsubsidized 3g phone is it still possible to keep un

  • "iPod Service Failed to Start" message when upgrading iTunes

    When upgrading iTunes from Version 7 to the newest version, I got an error message stating "Service, 'iPod Service' failed to start. Verify that you have sufficient priviledges to start system services." So I canceled the download and rolled back to