Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

usb8452 i2c signal out

I am trying to output an i2c signal.
Geneal i2c write.vi throws error in labview example.
The error code is 131744.

 

I checked the output signal with an oscilloscope.
But there is no signal.

 

There is no problem with the usb8452 module, but I am wondering how to check the output signal.

0 Kudos
Message 1 of 5
(1,072 Views)

Just the code does not seem to help in this case, please share the whole error message.

 

How are you testing? do you've a I2C device on the other end properly powered up and connected to 8452?

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 2 of 5
(1,054 Views)

SDA and SCL lines must be connected to write Can I use it?

SDA, SLC, GND are all connected.

 

An error occurs when checking the output signal of SDA and SLC with an oscilloscope.

 

WRITE and READ were executed using two USB8452s, but an error occurs.

 

Tested the example program (General I2C Write.vi / General I2c Read.vi).

Download All
0 Kudos
Message 3 of 5
(1,026 Views)

You need pull-ups between the voltage translators too.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 4 of 5
(1,012 Views)

Are you using one of 8452 in master I2C mode and the other in slave I2C mode? the easiest option, get a simple I2C sensor breakout board like MPU6050 or some ADC that you use with Arduino for testing.

 

If both are in master, none can communicate.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 5 of 5
(997 Views)