Cannot use i2c and custom fpga logic at the same time

I am driving a OV7670 camera sensor with my myRio. Configuring the camera's registers is done via I2C (or they call it the SCCB interface, but it's practically the same thing). The sensors has to be given an external clock input which I do through the FPGA (I run it with an 8MHz signal). I can then do a parallel read (8-bits) from the chip into the FPGA on each clock in order to read off the pixel information, place it in a buffer and let the real-time side read it and manipulate it. The whole idea is to let the FPGA do the image acquisition while the processor does the image manipulation.
The only problem is, when I have my FPGA configuration loaded, the I2C bus seems to stop working. I know that the I2C is actually handled throught the FPGA as opposed to the processor. Is there anyway to run those two functions simultaneously on the FPGA? If not, can I somehow implement the I2C protocol independently of the FPGA?
Thanks in advance

Hey quickbacon,
I take it you're talking about using the built in I2C API for the myRIO. The myRIO comes preconfigured with a default FPGA personality, and the myRIO API is built off of that default personality - the default personality needs to be in place in order for it to function. By customizing the FPGA on your own, you've overwritten the personality, which is why the myRIO I2C VIs have broken.
If you want to use both the myRIO I2C VIs and customize the FPGA you can do so, but you need to modify the FPGA VI for the default personality instead of creating a new FPGA VI from scratch. To expose the FPGA VI that defines the default personality in a project, create a new project in LabVIEW and select the "myRIO Custom FPGA Project Template." Once you've created a project from that template, expand the FPGA target - the FPGA VI that's present under the target is the FPGA VI that defines the default personality. To add your own custom FPGA functionality, simply open that VI and add your functionality in parallel to the existing code. As long as you leave the code pertinent to the I2C VIs in place (it should be clearly labelled in the FPGA VI), the I2C VIs should still function. If you run into resource utilization problems, you can delete sections of code from the personality that deal with myRIO functions that you aren't using - just leave the code pertinent to I2C intact.
Regards,
Ryan K.

Similar Messages

  • Is there any way to use bluetooth and force audio out at the same time?

    I have an older treadmill that uses IFit which means a program on my phone controls my treadmill via an aux audio cable. I like using BT headphones so I don't have cords hanging. So...I'm trying to figure some way to either a) have iphone connected physically to treadmill but bt'ing music to my headphones at the same time or b) get iphone to communicate with two different bt devices simultaneously. (Treadmill can also be controlled via BT, but I still need the BT for headphones)
    Any ideas would be great. I currently have cable running from treadmill to iphone and headphones via a splitter but it's a LOT of cord hanging which makes things difficult.

    No. FaceTime is one on one only.

  • Use Siri and older voice command at the same time?

    Hi all,
    It is my understanding that Siri cannot be used simultaneously with the older version voice command.
    If I wish to use the older voice command function, I have to deactivate Siri, which is terribly incovenient.
    Is there any way I can use both simultaneously?

    No, it's not normal.  You should be able to send and receive from any mail account set up on your device, whether the account is also set up on another device or not.  Have you tried sending email from your @me account on your Mini?  Does that work properly?
    Here are some troubleshooting steps you can try on your Mini:
    On Safari and go to www.apple.com to confirm that your connection to the internet is working properly
    Go to Settings>Mail,Contacts,Calendars>Fetch New Data, make sure Push is set to On, tap Advanced at the bottom, tap your @me.com address and make sure Push is checked.
    Go to Settings>Mail,Contacts,Calendars>Default Account (in the Mail section) and confirm that you have selected your @me.com address as your defalut.

  • Can you use the Airport Express A1264 as an AP and a DHCP server at the same time?

    Can you use the Airport Express A1264 as an Access Point and a DHCP server at the same time?
    I would like to use it as a DHCP server and AP at the same time in my LAN (no internet, just local machines through a few switches). I was lead to belive this could be the case from a few networking friends that haven't been friendly enough to help me out setting it up.

    I need it to act as a dLink/Cisco/Linksys/etc basic wifi router, in the fact that you can access it via wifi, and it will spit out DHCP addresses (192.168.1.xxx) to everything wired downstream of it.
    I want to simultaniously provide a Wifi connection and a LAN connection at the same time
    Thanks,
    BRad

  • My dad and i use the same apple id, when he recieves a call, hes phone and my phone ring at the same time, why?

    my dad and i use the same apple id, when he recieves a call, hes phone and my phone ring at the same time, why?  and how do i fix this

    Settings > FaceTime > iPhone Cellular Calls > OFF

  • Can't i use xml schema and oledb data connection at the same time?

    Hello to all and thanks in advance.I use xml schema and oledb data connection at the same time and the problem is that when I try to export the xml, the outcome is not what i expect.Without the oledb connection everything is ok (just the schema) and the xml complies with the schema.
    Can't i have both schema and oledb and the exported xml be as i want it?

    You can use both at the same time, but not gor Internet access if that's what you're asking.
    Now there is a thing called Link Aggregation, which combines a number of interfaces for speed/redundancy, but it really only works locally, and then only with ALL special equipment in the route, and most likely OSX Server involved.
    Sorry.

  • Can you use two duetts on logic at the same time

    can you use two duetts on logic at the same time so i can have inserts

    tracktor wrote:
    can you use two duetts on logic at the same time so i can have inserts
    Before going ahead on this you should definitely check with Apogee as I think they do not recommend using their interface(s) in an Aggregate device.
    Maybe that's changed.. not sure.
    pancenter-

  • Can you run 3G and connect to wifi at the same time?

    Is it possible to use the iPhone 5 to search 3G and connect to wifi at the same time? I'm trying to run my Apple TV but only have 3G that is run through my phone. I want to play Netflix using Apple TV run from 3G through my phone.

    The phone and the ATV need to be on the same wireless network.  You cannot communicate with the ATV using 3G on the phone

  • ASA 5505 as a SSL VPN Server and Easy VPN Client at the same time?

    Is it possible to configure and operate the ASA 5505 as a SSL VPN server and Easy VPN Client at the same time? We would like to configure a few of these without having to purchase additional ASA 5505 and use a 2 device method (1 SSL VPN Server and 1 Easy VPN Client). Thanks in advance.

    I don't think it is possible. Following links may help you
    http://www.cisco.com/en/US/products/ps6120/products_configuration_guide_chapter09186a008068dabe.html
    http://www.cisco.com/en/US/products/ps6120/products_configuration_example09186a008071c428.shtml

  • TS3280 How can i enable both paired bluetooth and ios keyboard input at the same time?

    How can i enable both paired bluetooth and ios keyboard input at the same time?
    This is needed for the app im working on. Need some user input via keypad as well as scanner input via a paired bluetooth scanner.

    You probably should not be using a keyboard bluetooth profile for a scanner, I am not a developer for apple so do not know the location for you to find out the correct profile you should be using for an input device that is not a keyboard. Sorry,
    I am sure if you navigate the apple developer site you will probaly finmd what you're looking for.
    https://developer.apple.com

  • Can Express 9 play and record multiple instruments at the same time?

    I have logic express 9 and was told with my interface that I can play and record different instruments at the same time on Express 9. Is this true because I have spent a long time trying to figure out how.

    Hi,
    to record multiple Inputs at a time, open up the appropriate number of audio tracks. Now for each track, select the correct Input in the Channelstrip.
    Now, ARM all these tracks for recording by clicking the little red R in the track header or channelstrip. Now if you hit record, all these tracks should record simultaneously their respective inputs.
    All other existing tracks should playback while recording.
    Fox

  • Labview runs CANBus and DNP3 software model at the same time

    I have an ordinary computer which communicates with several DSPs (CANBus communiation) through Compact Rio. The physical connection is that the DSPs' CANBuses are connected together and connected into Compact Rio, then the Compact Rio is connected with a router through Ethernet, at the same time, the computer also connects with the Router through Ethernet. Based on this physical architecture, the computer can run CANBus software model on Labview to communiate with Compact Rio and DSPs.
    As I know, the communication between the computer and the Compact Rio is not real time, and the communication between Compact Rio and DSPs can be real time, can you tell me if I get the right point?
    Now we have another device named RTDS (communicate with outside through Enternet based on DNP3), and want to add RTDS into our system. I am not sure about the way to conduct the communiation. The main question is that we need to run Labview to communicate with DSPs through CANBus and RTDS through DNP3 at the same time, is that possible?
    I proposed two possible ways to conduct communication, bt not sure if it is possible.
    1. I proposed that I connect RTDS with the Router through Ethernet, and then the computer communicates with RTDS through the Router based on DNP3 and also keeps the communication with DSPs through Router, Compact Rio, CANBus and then DSPs. I am wondering if this kind of communication is available for Labview.
    2. The second possible way I proposed is that I connect the RTDS with Compat Rio (CRio keeps connecting with DSPs through CANBus) through Ethernet, and then the computer communicates with DSPs through Router, Compact Rio and CANBus, and the computer communicates with RTDS through Router, Compact Rio and Ethernet. Also, the computer needs to run Labview with CANBus sofeware model and DNP3 software model at the same time. I am also not sure if it is possible.
    The diagram of the communication system is shown in the attachments.
    Attachments:
    Commnucation system diagram.pdf ‏118 KB

    To use Mail from multiple devices, your Mail Server needs to be using IMAP protocol (iCloud Mail uses that).
    IMAP keeps the Master copies on the Server, not on the Mac the way most default POP Mail servers do.
    To keep one Master Calendar, accessible from all devices, you need a web-accessible place to keep the Master Calendar. iCloud can do that.
    ¿Do you see a trend developing here?

  • [WIN7] Enable Microphone and "What U Hear" at the same time?

    Hey folks!
    I am trying to enable both at the same time on my Windows 7 in order to record Battlefield 2 and my own voice at the same time.
    Please do NOT start with "do this and that", I have tried everything for at least 1 year by now and the only way to make it work is to have microphone and "What U Hear" enabled. Apparently it is not possible. In order to activate one of both you have to make it "Default" record device but then the other device gets disabled. Trying to record the disabled device obviously ends up in silence.
    What is the reason for that and how to enable BOTH devices at the same time?
    I am using PAX Drivers which the maker always updates to the latest Creative Drivers. So I am up to date.
    Thank you a lot in advance.

    Thank you for your reply.
    Well, yes, the microphone is activated. And if I put the microphone playback volume to 100 I can hear myself talk even with "What U Hear" as my default recotding device. But once battlefield 2 starts it uses the default recording device for the in-game voice over IP. If I select "what U hear" as the default device it will basically put the game sound into the VOIP...
    What I tried was - set microphone as default device, launch BF2 so it registers the microphone as VOIP input, then alt tab out, select What U Hear as default device but it does not get activated! I only see a bar at the microphone.
    What I want is to be able to have TWO volume bars, in What U Hear AND Microphone so I can use the microphone for BF2 and What U Hear as gameplay-sound for my recording device.
    In Windows XP this was possible. In Windows 7 this is missing.
    The problem here is that once a recording device (the Default one usually) is being used by a program it BLOCKS the other recording devices.

  • How can you listen to music and play a game at the same time?

    How can you listen to music and play a game at the same time?
    I am playing music, by starting the Crash Baandicoot Nitro Kart 3D game it shuts off the music playing. Is there a way around this?
    It seems like this should be possible.
    Message was edited by: RuthlessVengeance
    Message was edited by: RuthlessVengeance

    Select the music play list you want to listen to and start it playing. Go back to the home screen and start the app you want to use, music will stop. Press the home button two time quickly and it will bring up a simple control for controling the music. This works for me with all of the apps I have purchased including games. Just a note you can pull up the same music control if the iPod is a sleep and locked by pressing the button three times quickly.
    Mike

  • How to mute and lock screen rotation at the same time? Loved this feature in iOS 5.

    How to mute and lock screen rotation at the same time? Loved this feature in iOS 5.

    You cannot do two different simultaneous VISA writes over a serial bus. There is a single rx line on the pc's com port and a single rx line on the instrument. You only hope is if the instrument allows you to chain commands and the reception of the carriage return triggers the instrument to implement both at the same time. Maybe you can send CTS01 and CTS02 separated by a space or comma. The manual should tell you if that's possible or maybe you need to ask the manufacturer.

Maybe you are looking for