Jump to content
  • 0

Devices Interfering with each other


Ken.jones

Question

I am using the AD2 on LabVIEW with dwf.dll.  I am using the I2C interface on DIO bits 0 and 1 and the positive power supply.  I have configured everything based on the python example code.  When I set the power supply and write the I2C data,  several other DIO bits go high even though they are not configured in this program.  I have auto configuration enabled.  I can do the same thing in WaveForms and it works fine.

Any suggestions would be appreciated.

Thank you

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Hi @Ken.jones

The I2C has two modes set by FDwfDigitalI2cStretchSet:
- without stretching (0) only the SCL and SDA lines are driven
- with stretching it is implemented using Pattern Generator ROM Logic and this uses other DIOs to keep track on the current I2C states and wait cycles.

Beside this, the unused DIOs are in high impedance and could capture internal and external radiations, specially when wires (antennas) are connected.

Stretching:
image.thumb.png.3e4d84f1be547b071031408565e29bee.png

No stretching:
image.thumb.png.6725934254bbfb1ad2e30d4001f77214.png

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...