Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Setting the I2C Slave Wait for Event on the USB 8452

Hi,

 

I just ordered my USB 8452 and have configured my 8452 to act as Slave. Few questions arises:

 

1. How can I configure my Wait for Event time to be about 210us? This is the time period for which my master device (LTC1760) write a command to the slave

2. What other slave address can I use other than the default, 0?

 

Thanks for your answers.


Regards,

 

Stan.

 

 

 

0 Kudos
Message 1 of 3
(4,519 Views)

I have been able to solve the problem I posted early. Another thing I find as a road block is that I am only able to execute one read write from and to the master device. My master device in my project is the LCT1760 which constantly send commands to the Smart Battery which in my case is the USB-8452. My question is, how can I enable my code to run continuously for a given time and extract the commands being sent by the Master device (LCT1760) so that I can write response back to the Master?

 

Any suggestion would do.


Regards,


Stan.

0 Kudos
Message 2 of 3
(4,506 Views)

Hve you looked at the example EEPROM that ships with the NI-845x driver? That runs continuously and responds to requests from the master and may be useful as a guide.

0 Kudos
Message 3 of 3
(4,437 Views)