05-15-2020 07:47 AM - edited 05-15-2020 07:50 AM
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!
05-17-2020 12:03 PM
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.
05-18-2020 03:51 AM
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!
05-18-2020 07:36 AM
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/
08-28-2025 11:13 PM
so how i can configure PXIe-6571 slave address through any software or it is predefined ?
08-28-2025 11:22 PM
@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.