AD5940/AD5941 and UID

Thread Starter

DJ_AA

Joined Aug 6, 2021
490
Hi All

I am working on a project that will be using the following:
AD5940/AD5941 (Rev.D)

It will be communicating via SPI to my microcontroller, and I will have multiple devices as small modules connecting to a baseboard. At the moment, it's going to be 4-5.

I would like to add a UID, but I do not want to use any additional GPIO from the baseboard to these devices, such as I2C or any additional enable for SPI.

Is it feasible to use the GPIO pins on the AD5940/AD5941 (Rev. D) and have it bit-bash with I2C UID or some other form of UID? I have seen some UIDs that use a single wire, but I have never tried them before. Could this be possible, as it could save me the hassle of using additional GPIO on my microcontroller?
 

MisterBill2

Joined Jan 23, 2018
27,231
Pardon my late response, BUT I do not know what the acronym "UID" stands for, and thus there is no way I could provide a useful answer. Likewise, what is an AD5940/AD5941??
 
Last edited:

MisterBill2

Joined Jan 23, 2018
27,231
YES, TS did link, and why not provide a bit of description instead. Way too many links come with cookies and follow-ups. Just adding the words "Instrument Amplifier" would be useful.
And "baseboard"????
 

nsaspook

Joined Aug 27, 2009
16,259
YES, TS did link, and why not provide a bit of description instead. Way too many links come with cookies and follow-ups. Just adding the words "Instrument Amplifier" would be useful.
And "baseboard"????
This shows the need to be careful with answers to questions unless you have some expertise in the nomenclature, procedures and applications of the OP questions in addition to general technical knowledge. I agree with mind-reading needed for vague questions but some just require knowledge of the 'art' surrounding the question.
 

nsaspook

Joined Aug 27, 2009
16,259
Hi All

I am working on a project that will be using the following:
AD5940/AD5941 (Rev.D)

It will be communicating via SPI to my microcontroller, and I will have multiple devices as small modules connecting to a baseboard. At the moment, it's going to be 4-5.

I would like to add a UID, but I do not want to use any additional GPIO from the baseboard to these devices, such as I2C or any additional enable for SPI.

Is it feasible to use the GPIO pins on the AD5940/AD5941 (Rev. D) and have it bit-bash with I2C UID or some other form of UID? I have seen some UIDs that use a single wire, but I have never tried them before. Could this be possible, as it could save me the hassle of using additional GPIO on my microcontroller?
You've got 8-bits on the GPIO interface of the AD5940/AD5941. You can use that for a 8-bit wide UID or maybe bit-bang a local SPI interface on the AD5940/AD5941 using the device pin I/O commands for local data access on a EEPROM.
 
Top