I'm fairly new to all of this as well. So I'm working on this project and I have to connect an external ADC, the TLV571 (datasheet), to an Arduino Mega 2560. I know it's complicated and it isn't the easiest solution but that's what I have to work with.

Unfortunately, I don't even know where to begin. I have been looking at the data sheet for the TLV571 all day and am just clueless.

Can anyone help me or give me advice? Even the smallest piece of advice would be helpful!

  • \$\begingroup\$ Do you want it to be a memory-mapped device or are you willing to use it the brute-force way? \$\endgroup\$ – Ignacio Vazquez-Abrams May 12 '14 at 21:19
  • \$\begingroup\$ The brute-force way would be fine! Right now, I just need the two to communicate with each other. Thanks! \$\endgroup\$ – user41738 May 12 '14 at 21:43

D[7:0] should be connected to any entire 8-bit port. This will allow you to read the entire conversion result at a time without having to perform wacky bit manipulations.

nCS, nWR, nRD, and nCSTART should be connected to pins in ports A, B, C, D, E, F, or G since those pins need to be individually twiddled and those ports are the only ones that work with SBI/CBI.

You likely want to connect nINT to a INTx pin for interrupt-driven conversion, otherwise any pin should be fine.

CLK should be connected to OCnx if you want to use an external clock (see CLKSEL in CR0).

The rest is just hooking up the references and analog input, and following the timing diagrams in the datasheet.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.