I have dual TLV493D sensors I've been trying to get working. I've used multiple configurations
  • MSP430 + TLV493D on perfboard
  • ATMEGA (3.3V) + TLV493 on custom PCB
  • XMC1100 2go + TLV493 on 2nd custom PCB

In each implementation I can get either of the two sensors to work on either of the two addresses but when I try to run the two concurrently one or the other addresses throw a NAK

Click image for larger version

Name:	tlv493d_dual.JPG
Views:	0
Size:	26.3 KB
ID:	3073

My most recent code is attached (using the Arduino IDE 1.0.3 board/libraries front-end provided by Infineon ):

Code:
#include <MagneticSensor3D.h>
#define SECONDARY_PIN 5               // P0.15

void setup() {
  Serial.begin(9600);
  while(!Serial);
  
  delay(2000);
  Serial.println("Initialization...");
  delay(500);
  
  pinMode(SECONDARY_PIN, OUTPUT);     // Sensor #2 Power Pin
  digitalWrite(SECONDARY_PIN, LOW);   // Force Sensor #2 off

  Serial.println("Starting Sensor #1");
  magnetic3dSensor_primary.begin();
  delay(100);

  Serial.println("Starting Sensor #2");
  digitalWrite(SECONDARY_PIN, HIGH);
  delay(10);
  magnetic3dSensor_secondary.begin();

  Serial.println("Setup complete");
}

void loop() {
  magnetic3dSensor_primary.updateData();
  delay(100);
  magnetic3dSensor_secondary.updateData();
  delay(100);

}
I assume I have tunnel vision now if you folks can get me out of the tunnel I'd appreciate it.

Thanks much and have a great weekend!
Uily