NAT9914 and PIC host device, Problem reading registers.

I am working on a device as a student at Portland State University, and we are using a PIC microcontroller as the host interface. We can initilize the 9914 correctly and using a PCMCIA-GPIB card and NI's interactive control tool, detect it as a listener and successfully send it 1 byte of data. After this it appears to us that the 9914 "freezes". We have used a logic analyzer to watch the events on the bus side as the data is sent to the 9914. The process goes like this.
1. ATN is asserted high.
2. EOI is asserted low.
3. The data is placed on DIO8 - DIO1, (Active Low).
4. NDAV and DAV are asserted low.
5. NRFD is asserted high.
6. NRFD is asserted low, and DAV is asserted high.
7. EOI is asserte
d high.
The problem comes in when we try to read the contents if ISR0 to see if there is data in the DIR (BI bit). The register never shows that the BI bit sets. We have used a logic analyzer to watch as the address is placed on RS2 - RS0, and as the DBIN pin is asserted high.
We cannot send multiple bytes of data to the 9914, the device times out if we try sending more than 1 byte at once, also the device has to be re-initilized once a byte has been sent, before we can successfully send it another byte.
We have tied CE pin on the 9914 to ground, hopefully this does not cause a problem for reading registers. It does not appear to for writing to registers.
We are also wondering if there is a readable register in the 9914 that by default has a value other that 0x00 so we can test our read register routine.
Also when the IFC line is asserted low by the CIC what does the 9914 do? What does the host need to do if anything?
Any suggestions about what may be going on
or what to test in order to find out would be greatly appreciated.
Rick Dyer
ECE, Portland State University

There is an application note, AN110, that discusses creating a device using the NAT9914. The application note contains source code (or at least pseudo-source code) that goes through a test routine to verify that the NAT9914 is connected correctly. You can access this application note though the link below.
http://digital.ni.com/devzone/conceptd.nsf/webmain​/40D4BB8DCD8CEB35862568040069E228?OpenDocument
Hopefully this will help you get started.
The IFC line should cause the NAT9914 to transition its talker and listener state machines to the idle state, effectively terminating communication on the bus. It should not really have much other side affects.

Similar Messages

  • I use Firefox on my PC and I have no problem reading kurdish fonts, but on my android Sumsung Galaxy S 2 phone I can't read kurdish fonts.

    Recently I bought a Samsung Galaxy S II mobile phone which uses Android software. I then downloaded the Firefox for Mobile application to use it as my main browser, but I have a problem, which is, whenever I visit a Kurdish Sorani website some of the characters appear like a small box. Can you suggest some solution please?
    Thanks.

    Sorry, most Android devices do not include fonts with full support for the Kurdish script, and so Android applications like Firefox are not able to display Kurdish correctly. For some more details, see this link:
    http://code.google.com/p/android/issues/detail?id=15401
    Unfortunately, there's currently no easy way to install additional fonts on an Android device. For a future version of Firefox, we plan to make Firefox automatically download fonts for missing scripts:
    https://bugzilla.mozilla.org/show_bug.cgi?id=619521

  • Airport Express and a host of problems!

    Hi I'm running a PB G4 10.4.6 with Airport Express v6.3 at work. I have a Canon i6500 and speakers plugged in.
    Work has a Netgear wireless network.
    I have three problems.
    I want to use the AE as a booster for the Netgear network but can't I only have 1 bar on my reception indicator.
    The printer stops printing on large files.
    My airtunes drops out continuously.
    I have trawled through 20 of pages of discussions but not found any answers that solve my problem.
    My colleague on an iBook doesn't have any drop out problems with airtunes but does with the joining the network and printing.
    I am sat almost on top of the AE!
    I have AE at home and Airtunes has never had a problem.
    I have no hair left... please help!

    Hi Tim,
    Could there be Interference problems?
    http://docs.info.apple.com/article.html?artnum=58543
    Have you reset the Airport Express and try the Airport Setup Assistant?
    http://docs.info.apple.com/article.html?artnum=108044
    Are the speakers you are streaming iTunes to in the same room as the computer you are using?
    What is your Streaming Buffer Rate set at in iTunes Preferences>Advance?
    Do you have all the lastest updates.....airport firmware, OSX, iTunes?
    http://www.apple.com/support/airport/
    here is some info. on your Error code:
    http://docs.info.apple.com/article.html?artnum=303157

  • Problems Reading/Writing Parallel Port Data, Status & control Registers Using In Port.vi and Out port.vi

    Hi,
    Can anyone there help me Please with the problem. I am trying to
    communicate with the parallel port using my program which i have
    attached to the message. I am running LabVIEW 7.0 Professional with
    application builder. All the program does is reads and writes to the
    three parallel port registers. It runs FINE!!! in my computer. But when
    i built an executable (see attached) and tried running on a different
    computer (with LabVIEW Runtime engine 7.0 installed) the program does
    not read/write to the registers. The target PC had the parallel port in
    SPP mode just like mine. I can't seem to understand whats going wrong?
    Can anyone please help me if you know the right answer.
    Thanks
    Attachments:
    Programs.zip ‏119 KB

    Hi Guys,
    I too have a problem using "Out Port.vi", but of a diferent kind. I use this VI to control the  Parallel Port which in  turn controls a small circuit. I use only two data pins, DP-2 and DP-4 for this purpouse. I use LV 7.1 Professional Development version in a Windows 2000 operating system. Now, my main problem is that my code runs fine (both is development and .exe forms) in my development computer, but when I try to run the .exe version in  other computers (Windows XP operating system), it asks for a "protocol file" while starting (look at the attached picture).
    Now, I really have no idea what kind of a protocol file it asks for and just click "ok" and proceed to work, the most interesting part is that the code works well as I expected. So, my only problem is that it asks for a protocl file which I want to avoid. As with the application building, I do all that is  required like including the sub VIs (self developed), creating an installer, enabling the port access, and creating a proper .ini fine. I also use the Out Port.vi from the AccessHW library.
    I have my doubts on two fronts,
    1) With the version conflict, since my development computer runs with Windows 2000 and my target computers all run with Windows XP
    2) With the Out Port.vi which further contains a small VI "Output Word to Port.vi" in it and that further contains Call Library Function Node, which might call soem external files, like what my problem is.(look at the attached picture)
    I don't have answers to these questions and may be my problem is in different place, but I would like to hear from anyone who could give me a helping hand. I am in a situation where I could not disclose my code.
    Thanks in advance,
    mohan
    Attachments:
    protocol file.zip ‏153 KB

  • HT201442 I am got error while trying to restore,, but i just only error file with 3194. I try many step by install lastest version and fix host file, but still fail. Anybody can give me any key point to solve this problem? Thank you

    I am got error while trying to restore,, but i just only error file with 3194. I try many step by install lastest version and fix host file, but still fail. Anybody can give me any key point to solve this problem? Thank you

    Error 3194:
    This device isn't eligible for the requested build
    It means that Apple has stopped signing the version of iOS that you have, try downloading the latest iOS version, then try Restore again.

  • I updated 7.1.1 then my sms , wifi , pics,apps and data all get problems

    i have just updateed 7.1.1 then my phone become suck.
    msm canot send imess or text.
    wifi is slowly , pics is lost  , app i bought is gone,
    it is hard to macke a phone call and all other things working slowly.
    i tried restar but all still same.

    Basic troubleshooting steps outlined in the User Guide are restart, reset, restore from backup, restore as new device.
    Have you been through ALL FOUR troubleshooting steps?  If so, and you still have problems, you'll need to bring your phone into Apple for evaluation as you likely have a hardware issue.

  • I recently had to swap out my iphone 4s and I am having problems restoring photos and videos from icloud.  I get a message on my phone that says " the URL you are requesting is not found on this server".  Pics and videos have been deleted too.

    I recently had to swap out my iphone 4s and I am having problems restoring photos and videos from icloud.  When I restored my phone from icloud, half of my pics and videos have been deleted, the pics that were restored on my phone are very blurry, and the videos won't play.  I get a message on my phone that says " the URL you are requesting is not found on this server".  I have erased and reset my phone twice, but every time I do it, more pics and videos are deleted.  I have backed up to icloud and iphoto, however, some of the pics are no longer on iphoto either.  Is there someway to get the videos to play on my phone again?  Make the photos not as blurry as they are now and to restore the pics and videos that have been lost?  I really would love to have them back, this phone is supposed to be the best and right now it doesn't seem to be.  Please help if you can.

    I too have noticed that once i restored from iCloud. Pictures blurry and videos wont play!
    Need help too!!

  • TS3048 My early 2009 Mac Pro does not connect via bluetooth to my sound bar or bluetooth mini speakers. Both my wireless keyboard and mouse have no problems connecting. What do I need to do to connect to external bluetooth devices?

    My early 2009 Mac Pro does not connect via bluetooth to my sound bar or bluetooth mini speakers. Both my wireless keyboard and mouse have no problems connecting. What do I need to do to connect to external bluetooth devices?

    I would always have a wired keyboard and mouse on hand (need not be expensive ... any cheap wired devices will work).  "Emergency recovery" procedures can activate features in random order, so the opportunity to select a recovery partition may pass before the wireless devices are recognized.
    That will let you select the "turn on Bluetooth" icon.

  • HT204053 I have two apple ID's and it's causing problems in my contacts. It repeats the same address and sometimes displays email address only but not the full contact details? How do I get my contact list the same in all my devices (iMac, iPhone & iPad (

    I have two Apple ID's and it's casing problems on my contact list as it repeats the address in somecases and in others it only displays email address for a contact. I want to have the same contact list and details on all my devices (iMac, iPhone 4S & iPad Mini)? Is it possible?

    By using 1 of the 2 ID's instead of both, choose one, move everything in the other one to the one you chose and stop using it.

  • Anyone else had issues with phone network being unavailable on iPhone 4 since updating to iOS 5.0.1? My iPhone 4 is continually searching for a network and does not find my provider. I swapped SIMs with another iPhone 4 on ios 4 to confirm device problem.

    Has anyone else had issues with phone network being unavailable on iPhone 4 since updating to iOS 5.0.1? My iPhone 4 is continually searching for a network and does not find AT&T, my provider. I swapped SIM cards with another iPhone 4 running ios 4 and established this is a device problem, not a SIM card problem.

    Does the device get any signal? 
    Sounds like the device may have had a hardware failure.  If it is out of warranty, the only option is the Out of Warranty replacement.
    AppleCare is only an option if it is still under the original warranty.

  • No bootable device -- insert boot disk and press any key - problem

    Hi,
    I'm running an early-2008 MacBook (13-inch) that has previously had Windows Vista and Windows 7 installed to it through Bootcamp over the years.
    A few weeks ago I did a fresh reinstall of OS X Lion (10.7.5) and decided to reinstall Windows 7 as well. I deleted all the partitions and started afresh. However, upon trying to reinstall Windows 7 I've become a wee bit stuck.
    Bootcamp works fine at first - it lets me partition the HDD without any issues (the partition is MS-DOS - FAT32), but when it reboots it gives me a message 'No bootable device -- insert boot disk and press any key' against a black screen. I've never seen this message before and it won't let me continue with the installation. I'm able to get back into OS X by pressing the option key upon reboot.
    Any idea what I'm doing wrong? As I said I've used Bootcamp several times in the past on this machine without any problems. The only difference between then and now is that my Superdrive no longer works so I'm using an external DVD drive. However, the error happens regardless of whether it's plugged in.
    Cheers,
    Matt

    jeffjefftyjeff wrote:
    The only difference between then and now is that my Superdrive no longer works so I'm using an external DVD drive. However, the error happens regardless of whether it's plugged in.
    For Macs with built-in Optical drives, it must be functional for a Windows installation/installer to work. You will also need a USB2 flash drive.
    On such Macs, the BCA sets the boot device to be the non-functional Optical drive, which is why you see a No boot device message.

  • I have been creating forms in InDesign and pulling into Acrobat XI Pro to do form fields. My client would like to fill in the PDF form, save under a different name locally on their device, and redistribute. The problem I have is that, sometimes, they want

    I have been creating forms in InDesign and pulling into Acrobat XI Pro to do form fields. My client would like to fill in the PDF form using Reader, save under a different name locally on their device, and redistribute. The problem I have is that, sometimes, they want to redistribute the form as Read Only. I know how to flatten the form on a mobile device, but uncertain how they can do that with a PC or Mac using Adobe Reader. I looked at FormsCentral thinking there might be a solution going that route, but don't believe there is. Any advice?

    FormsCentral won't help with flattening a form. You could set up the form in Acrobat so that the fields are set to read-only, using JavaScript. Not quite the same as flattening but it's the best Reader can do.
    Note that when Reader is used to e-sign a document, it gets flattened, but this won't be possible if you need to Reader-enable the form and under certain other conditions.

  • HT204368 I have a Voyager Plantronics Pro bluetooth device and have been experiencing problems since the most recent ios upgrade. Is there a way to restore the previous os version?

    I have a Voyager Plantronics Pro bluetooth device and have been experiencing problems since the most recent ios upgrade (6.0.1). Is there a way to restore the previous os version?

    I have a Voyager Plantronics Pro bluetooth device and have been experiencing problems since the most recent ios upgrade (6.0.1). Is there a way to restore the previous os version?

  • I don't have space on iPhone and iPad anymore.. So I bought 10GB on iCloud and backup both electronics. So what I wanna know is can I delete my apps and pics in order to get more space on my devices

    I don't have space on my iPhone and iPad anymore.. So I bought 10GB on iCloud and backup both devices. So what I wanna know is can I delete my apps and pics in order to get more space on my devices?

    You can delete apps (which will also delete their content), but they will only be redownloadable whilst they remain in your country's store - none of your iTunes downloads (apps, music, ibooks etc) use any of your iCloud storage, iCloud is for your backups (e.g. app's content, camera roll photos, messages, homescreen layout).
    To delete an app, press and hold any of the apps and after a couple of seconds or so they should start to shake. Then press the 'x' in the left corner to delete the ones that you don't want, and when you've finished deleting press the home button so as to stop the shaking. If you don't get the 'x' on any of the apps that you've downloaded (you can't delete built-in apps) then check that Settings > General > Restrictions > Deleting Apps isn't set 'off'
    You can delete photos from your iPad, but if you want them back then you should copy them to your computer first.
    Copying photos to a computer : http://support.apple.com/kb/HT4083
    You can also copy your downloads (apps, music, films etc) to your computer's iTunes by connecting your iPad and/or iPhone to it and doing File > Devices > Transfer Purchases.

  • I iPad 3 fails to recognize cellular data In a number of locations Displays "searching and No Service" I have narrowed this to device problem. What can I do?

    i iPad 3 fails to recognize cellular data In a number of locations Displays "searching and No Service" I have narrowed this to device problem. What can I do?

    Hello there, OSOSANYA.
    The following Knowledge Base article provides a great checklist of steps and additional recommendations for troubleshooting issues with cellular connection:
    iPhone: Troubleshooting a cellular data connection
    http://support.apple.com/kb/ts3780
    Follow these steps for help troubleshooting cellular data issues on your iPhone. After performing each step, please test to see if the issue is resolved.
    Toggle airplane mode: Tap Settings, turn airplane mode on, wait three seconds, and then turn off again.
    Restart your iPhone.
    Make sure that your software is up to date:
    Check for a Carrier Settings Update: Tap Settings > General > About.
    Check for an iOS Software Update: Tap Settings > General > Software Update.
    Note: Some updates may require a Wi-Fi connection.
    Remove the SIM Card and reinsert it. Allow the iPhone to acquire the network again.
    If your SIM card has SIM PIN enabled, try turning it off: Tap Settings > Phone > SIM PIN.
    Try another location. If a different location works, but the original location still doesn't, contact your carrier to report the issue.
    Reset network settings: Tap Settings > General > Reset > Reset Network Settings.
    Restore the iPhone as new.
    Contact your carrier to:
    Verify that the iPhone is properly set up on the account with the appropriate, current data plan.
    Verify that there are no account-related blocks.
    Find out if there are specific error messages in the carrier logs that could help determine why the issue is occurring.
    If none of the above steps resolves the issue, contact your carrier, make an appointment at an Apple Retail Store, or contact AppleCare to troubleshoot further.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

Maybe you are looking for