Use of NOR-8451 talk to TI BQ20Z60-> question address Chip

I'm working on the product test this chipset use the TI LI-ON "gas gauge".  The chip talk bus smb and chip address 0 x 17.  In order to access some features you need to do a series of Scriptures to register 0 x 77 with the data 0 x 48, followed by a reading of the register 0 x 78.

I can talk all day to the device using the smb TI-2300 adapter but can't seem to understand the sequence necessary to specify address 0 x 17, then the address of register 0 x 77 & 0 x 78.

So I guess that the line background question how do you manage the addresses of the chip with the NOR-8451?

I found the answer.  The chip required a PEC byte at the end.  I had to calculate the CRC and add it to the transaction among other things.

Tags: NI Software

Similar Questions

  • bit of banging with NOR-8451

    Hi all!

    So I have a Board that has two 12-bit DAC (LTC1257). They are cascaded with the doubt of a DAC in the din of the other. So, basically, I need to switch to 24 bits to get my two voltages output analog 12-bit. I tried to use the script of writing SPI API with some success, but there are times where my output voltages have no sense and I think it's because the timing is not always right. Therefore, I want to try some good old fashioned bit - banging on the OID of the NOR-8451 lines and see if it works. Deadlines for the DAC are attached, which I am trying to imitate with 3 lines of DIO. One for the clock, one for the DAC data for the LOAD line. However, I have a problem syncing of all signals for a schedule just as it should. I don't know if I'm limited due to hardware or if I just do it the right way.

    My code (LV 2011) and also a JPEG of my code is attached. I tried several ways, but the best I have so far is running 2 loops at the same time, a loop for clock and data and the other for the outbreak of my load line (which is not very accurately). If I run a signal at a time and check my reach, the signal seems ok, but when I try to run 2 or 3 signals at the same time, the timing of the signals get funky on the scope, which makes me think it could my hardware that cannot follow. Any advice on how I should approach this would be greatly appreciated!

    Thank you

    Serge

    they are updated very slowly (in the order of 100-150 Hz)

    and there's a jitter of considerations on these updates so

  • I can implement using the NOR-6221 SPI? When I try to generate using ctr0 make an error indicating 'Sample clock' is not a supported option.

    I'm trying to use a NOR-USB-6221 to implement SPI in a C++ application.  When I try to configure a digital output task that uses ctr0 as the clock, I get an error stating that 'Sample clock' is not supported and use instead "on demand".  I would be able to use the NOR-6221 and if so how to do this?  Thank you.

    Hi IntAndTest,

    Maybe silly question: are you sure that you have a USB-6221 and not a USB-6212? The USB-6221 supports clocked DIO, but the USB-6212 is not working.

    A problem with your code: when you specify a terminal DAQmx name, it must be is compared to the device (such as 'Ctr0InternalOutput', "AI/SampleClock" or "PFI0") or contains a slash before the device name (like "/ Dev1/Ctr0InternalOutput", "/ Dev1/AI/SampleClock ', or ' Dev1 / / PFI0"). This does not apply to the names of physical channel (like ' Dev1/port0' or "Dev1/ctr0").

    The error is returned from code that you have not displayed? Your says error message DAQmxCreateDIChan failed, but the code you posted does not call this function. In addition, I don't see a call to DAQmxStartTask or DAQmxWriteDigitalU8, U16, U32, whatever.

    Also, what NOR-DAQmx version are you using?

    Brad

  • NOR-8451 with embedded Windows

    The NOR-8451 is not compatible with Windows Embedded? I have LabVIEW on but I can't get 8451 drivers to install. When I run the installation of the drivers I don't get the error messages to give me an indication that something was wrong. Thanks for the help.

    Hi jmountney,

    Yes, the OR-8451 is compatible with Windows Embedded.   Depending on your version of Windows, you may need to add additional packages.  The model recommended to register is the "application compatibility", which should include everything you need.

    Nick

  • EchoLink error-om 1 port is not availible use your push to talk button

    On my program of the Echolink each time I open I will give me an error; com port 1 is not availible use your push to talk button!
    How activate this... also the media cannot. Thank you!

    Moved from feedback

    Original title: software

    Hi Kane,

    Thanks for the reply.

    What version of Windows 7 are you using?

    I suggest you to install the application in Windows XP compatibility mode, this might help you solve the problem.

    Make older programs run in this version of Windows.

    http://Windows.Microsoft.com/en-us/Windows7/make-older-programs-run-in-this-version-of-Windows

    I hope this helps.

  • I use to manage my DSL modem via an ip address. When I enter FF8 I wonder where to save the file. Why and how can I prevent the FF8 to do this?

    I use to manage my DSL modem via an ip address. When I enter FF8 I wonder where to save the file. Why and how can I prevent the FF8 to do this?

    And now, whenever I'm in an ip address that I wonder if I want to download the file.

    This happens when the modem server does not send the file in text/html, but with a different MIME type.

    I tried adding index.html in the event that the server can send this file as text/html.

    If your DSL modem has a support Web site, then you can try asking it there advice on how to configure the server modem.

  • I just bought an Iphone 6s and not yet am possession of en from the Sim Card. Ook, do you know if I can use the phone including applications via Wifi and put the chip later? Thank you. Renault JL

    I just bought an Iphone 6s and not yet am possession of en from the Sim Card. Ook, do you know if I can use the phone including applications via Wifi and put the chip later? Thank you. Renault JL

    No, because if you bought a new iPhone, then you need a SIM card to activate it before you can use the wifi applications.

    This is a phone after all, you don't need a sim card any to be able to activate it.

  • Use Firefox 4, the URL bar displays most web address to my current web site so I can't copy and paste links. In addition, there is no refresh button.

    I upgraded to Firefox 4 and so far I really like it, but I want to give him a chance again. However, the URL address bar displays more current address for that I surfed on websites. It is therefore sharing pages or emailing links almost impossible. In addition to this, there is no icon refresh I can find so I'm stuck just hit F5 to refresh my page.

    Short of downgrading, is anyway I can change these specific issues?

    This problem may be caused by an extension that is not working properly.

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions of the origin of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).

    If this does not work in mode without failure, then disable all extensions and then try to find out who is the cause by allowing both the problem reappears.

    • Choose "Disable all add-ons" on issues to troubleshoot Firefox in Safe Mode to set window to disable all extensions.
    • Close and restart Firefox after each change through "file > exit ' (Mac: ' Firefox > leave";) Linux: "file > exit ')

    In Firefox 4, you can use one of them to start in the questions to troubleshoot Firefox in Safe Mode:

    • Help > restart with disabled modules
    • Hold down the SHIFT key while double-clicking the shortcut from the desktop Firefox (Windows)
  • When I save a file (using "Save as" in Firefox) on the desktop the address bar reads: file:///C:/Users/Name/Desktop...

    ORIGINAL TITLE: File evil

    When I save a file (using "Save as" in Firefox) on the Office the address bar reads: file:///C:/Users/Name/Desktop...how can I fix it?

    Hi Goldie,

    1. not the problem only occurs when you save the file in Firefox?
    2. don't you make changes to the computer before the show?

    I suggest you try to save the file using Internet Explorer on the desktop and see if it works.

    If the problem is with the shortcut of Firefox, then I suggest you to post.
    https://support.Mozilla.org/en-us/questions

  • How to use ACS 5.2 to create a static ip address user for remote access VPN

    Hi all

    I have the problem. Please help me.

    Initially, I use ACS 4.2 to create the static ip address for VPN remote access user, it's easy, configuration simply to the user defined > address assignment IP Client > assign the static IP address, but when I use ACS 5.2 I don't ' t know how to do.

    I'm trying to add the IPv4 address attribute to the user to read "how to use 5.2 ACS", it says this:

    1Ajouter step to attribute a static IP address to the user attribute dictionary internal:

    Step 2select System Administration > Configuration > dictionaries > identity > internal users.

    Step 3click create.

    Static IP attribute by step 4Ajouter.

    5selectionnez users and identity of the stage stores > internal identity stores > users.

    6Click step create.

    Step 7Edit static IP attribute of the user.

    I just did, but this isn't a job. When I use EasyVPN client to connect to ASA 5520, user could the success of authentication but will not get the static IP I set up on internal users, so the tunnel put in place failed. I'm trying to configure a pool of IP on ASA for ACS users get the IP and customer EasyVPN allows you to connect with ASA, everything is OK, the user authenticates successed.but when I kill IP pool coufigurations and use the "add a static IP address to the user 'configurations, EzVPN are omitted.

    so, what should I do, if anyboby knows how to use ACS 5.2 to create a user for ip address static for remote access VPN, to say please.

    Wait for you answer, no question right or not, please answer, thank you.

    There are a few extra steps to ensure that the static address defined for the user is returned in the Access-Accept. See the instuctions in the two slides attached

  • Whenever I use Adobe Creative Cloud, I have the same question; do you want to allow the following program to make changes to this computer. Whenever I click OK. But the question is always every time. I have download the new versin of the designer c.

    See the previous question.

    Please follow every time I use Adobe Creative Cloud, I have the same question, you want to allow the following program to make changes to this computer. Whenever I click OK. But the question is always every time. I have download the new versin of the creative c

    Double Post

  • Jitter in response to signal generator of digital dashboard by using trigger nor tclk with digitizer

    I've written a VI that uses NEITHER tclk to synchronize a generator (PXI-5422 named FGEN1) and a digitizer (PXI-5122 named DIGITIZER1).  There is also a clock card TIMING3 generating a digital camera.

    It seems that can probably be explained by the way TCLK to synchronize, but I don't understand all the details.  Could someone help explain this to me?

    You are right. NOR-TClk ensures that all synchronized devices start at almost at the same time, to the same sample clock, with timing very tight. Sometimes, the level of synchronization with the devices OR TClk-synchronized beats at the level of the synchronization of the instruments of some competitor channels in the same device. But this is not free, there are compromises and added additional jitter for trigger response time is one of them. Here is an attempt to explain why:

    When you use NEITHER-TClk and send a trigger, the devices will respond to relax on the next cycle of the clock once made the trigger signal to the device. Let's say you have several devices all of them even configured with the same clock frequency. You block the signal of PXI_Clk10 using their PLL, so they drift out. But each unit's clock edge will be off, clock +-0.5 cycles. If you send a trigger to each of them, they will respond on the next clock cycle whenever it is, after the arrival of the relaxation to each device with different propagation times, whatever they may be. You get a single clock cycle of jitter on reaction of device to set it off.

    When you use NEITHER-TClk, several things happen: all devices are locked on the PXI_Clk10 signal to eliminate drift. The device clocks are then adjusted to a period level secondary clock. Very very tight. Then a clock signal common, slower called TClk is produced inside the devices. All the generation of trigger are delayed to be sent to the next rising edge TClk, and all consumption trigger is delayed to be received at the next front descending TClk. This way you make sure that propagation delays don't mean one of the devices does not react to the trigger until the next clock cycle.

    That's why you see jitter above the reaction time of relaxation. When you add devices with different clock settings, so the frequency of the TClk can be slower for a divisible frequency in the device clock frequencies everything is possible. This causes the trigger jitter of reaction time be even slower!

    I hope this helps you understand what you see.

  • Cannot use the NOR-IMAQdx with 3 USB camera driver

    I have a system WIN7 64-bit I would use with two USB 3 Vision cameras (both are 24UJ003 from The Imaging Source DFK), which works very well with the software IC software. The camera can be opened with IC software but will be visible only with a cadence of 1fps, any size I put it.

    I can open them able and Automation Explorer, but they do not appear under NOR-IMAQdx in the tree.  When I click on the software in MAX tree below, NOR-IMAQdx revealed as being installed (14.5). The camera (and OR) instructions say change the camera driver to that found in C:\Program NIUninstaller Instruments\NI - IMAQdx\Staging\NI USB3 Vision, but my driver is located in C:\Program Files (x 86) \National Instruments\NI - IMAQdx\Staging\NI USB3 Vision.

    Attempts to install the driver displays the following message is displayed:

    "The folder you specified contains a compatible software driver for your device.  If the folder contains a driver, make sure that it is designed to work with Windows for x 64 systems".

    This makes it sound like the driver is in the wrong place or it does not for a 64 bit OS.  Any advice on how to switch them TIS drivers to drivers OR-IMAQdx and also how increase the pace of the second camera would be very much appreciated.

    I tried to connect the cameras individually, and they both have the same performance as when they are connected together (we have good pace, and the other has only 1 fps).

    Are you sure that the camera is Vision compatible USB3? Nothing that I do not see in the marketing material says it is compatible. Is it possible you need a firmware update to make it compatible?

    The installer put IMAQdx driver in the space provided for an x 64 system and he always puts the number of correct bits of the driver down to the system that you have installed. My hunch is that the camera is not to expose a USB3 Vision interface for the driver to bind.

  • NOR-8451 I2C - error 301742

    Back to try to figure out why I can't connect with my AMS AS5510 I2C device.  Device address ID = 56 H.  If this error continues generating once the I2C configuration.  Why am I having this problem?

    Hello dg_lbe,

    When you see this error, 9 out of 10 times the problem is related to something happening at the physical level of the system.  Recheck (value that you use in this configuration?) pullup resistors and look to see if there are wandering connections to the Earth.

    Just to cover all of our bases, could you provide a description of the layout of the circuit?  The 8451 pins are connected to which of your interfaces of the AS5510?

    The error basically tells us "I tried to use this line, but I couldn't take control of it or pull up."  As a general rule, the lines are either not set up in a way conducive to be pulled upward, or something is pushing it down.

    In the event that we have stumbled upon one of those rare cases of 1 in 10, we also wish to re-examine the used addresses.

    101011 is only 6 - bit, and this device is expected to be treated by a 7-bit identifier.

    Page 8-6 of the AS5510 data sheet:

    'address of 7bits slave 101011 x, the last bit of the address x is defined by the axis of the ADR (0 or 1)'

    "ADR = LOW Pin" address I²C = 1010110b (56 h)

    ADR = HIGH pin"address I²C = 1010111 b (57 h).

    In your code, depending on whether the ADDR PIN is high or low, the hexadecimal numbers, 56 and 57 or decimal values of 86 and 87 are probably the right path to take.

    Best regards and good luck!

  • Use of NOR-9161 & 9215 in SE 2.5

    I can collect data using NOR-DAQmx Base 2.2 using the foregoing and the recorder of data OR included, but so far have failed to help SE 2.5.

    Is it still possible?

    Thank you

    Randy

    HI RJJE,

    I don't know exactly what you're asking when you say "the result to file would be about 1 second or so that would include general material time?, ' but what it looks like you're asking, is if the file is written to update all about 1 second. If that's what you mean, then the answer is about Yes.

    In your acquisition process, you need to specify the sampling frequency and the number of samples. so if you use this as an acquisition continues, then each iteration of the loop there will be 1000 samples that will be processed by the average stage, while an average value will be written to your file. This process will be repeated until you stop the task. This means that between the time readings Signal Express 1000 samples of your PC RAM until he wrote that value to your average file, it would be 1 second over the amount of time it takes Signal Express to retrieve only the data from RAM PC as well as the time it takes the average work to process these samples of 1000 plus the amount of time it takes actually to write this average value in the file.

    If you are looking at a time between iterations to be about 1 second, then these other values will be very low in comparison. They are really dependent on the speed at which your processor can handle these other functions in your task.

Maybe you are looking for