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/