Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Using PXIe-6571 as a I2C SLAVE

Hi,

 

I'm a new guy in this field of work, and there is much questions to ask, but let me start with a simple one. I saw an example of 6571 as an I2C MASTER so I was wandering if such a device could behave also as a bus SLAVE.

 

I'd like to test some parameters on a MCU bus MASTER via Digital Pattern Editor or LabView.

 

Please advise the possible work flow direction regarding the use of PXIe-6571.

 

Many thanks!

0 Kudos
Message 1 of 6
(2,738 Views)

You can in fact implement an I2C slave using 6571 with some features limited to the flow control capabilities of 6571. Example, if you are waiting for a state on a pin, you can use MATCH opcode but those results are available exactly after 80 vector cycles, which in many cases you don't want.

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
Message 2 of 6
(2,683 Views)

Thank You Santhosh,

 

actually, I would need a pretty basic stuff from 6571 to process, such as: START/STOP condition recognition, ADDRESS ACK/NACK, a and 1 byte data SEND/RECEVE.

 

Where can I learn more about this 'opcode' stuff anyhow?

 

All the best!

0 Kudos
Message 3 of 6
(2,669 Views)

You could refer NI Digital Help once you installed Digital Driver or online over here,

 

http://zone.ni.com/reference/en-XX/help/375145e/digipat/opcodes/

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
Message 4 of 6
(2,661 Views)

so   how i can configure PXIe-6571 slave address through any software or it is predefined ?

0 Kudos
Message 5 of 6
(44 Views)

@Adi077 wrote:

so   how i can configure PXIe-6571 slave address through any software or it is predefined ?


6571 is Digital Pattern Instrument which is able to execute (burst) digital patterns that define what signals to generate or capture. It is up to the digital pattern on how the instrument will behave.

To behave as I2C slave, you're the one implementing the logic to behave as such and it will be up to your implementation if the address is static or configurable.

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 6 of 6
(39 Views)