pantryThief
New member
The project:
I'm trying to get readings from a very sensitive tri-axial magnetometer, which requires that I use a high precision ADC. I've selected the MCP3424 (4 input, differential 18 bit) ADC for this purpose, and it uses I2C to communicate the digital signal back to the microcontroller. The board is a Teensy 4.1.
The problem:
Whenever I connect the teensy to the adc and give them power, the teensy invariably cannot receive data from the ADC. I have tried using the Wire library "scanner" example, as well as several example files from a specific MCP3424 library.
Troubleshooting:
1. Devices respond when an arduino is swapped for the teensy
2. All wires are in the correct positions, and connections have been double ultra mega triple checked with a multimeter
3. Using the "Scanner" example from the "wire" library does not return any results on teensy, but the same wiring configuration returns an address on Arduino (tested on 3x individual MCP3424 chips)
4. I am using pins 19 and 18 for the I2C connection, and have tried swapping them d o z e n s of times to make sure sure I haven't accidentally got the wires wrong.
5. Have also tried pins 17 and 16 with wire1(), which fail to produce results.
I'm at my wits end. The teensy is new, and I've checked my soldering. Blink program runs correctly. I swear I got these ADCs working on an old teensy 4.1 that I've since fried, but I can't remember what I did to make it run.
I'm trying to get readings from a very sensitive tri-axial magnetometer, which requires that I use a high precision ADC. I've selected the MCP3424 (4 input, differential 18 bit) ADC for this purpose, and it uses I2C to communicate the digital signal back to the microcontroller. The board is a Teensy 4.1.
The problem:
Whenever I connect the teensy to the adc and give them power, the teensy invariably cannot receive data from the ADC. I have tried using the Wire library "scanner" example, as well as several example files from a specific MCP3424 library.
Troubleshooting:
1. Devices respond when an arduino is swapped for the teensy
2. All wires are in the correct positions, and connections have been double ultra mega triple checked with a multimeter
3. Using the "Scanner" example from the "wire" library does not return any results on teensy, but the same wiring configuration returns an address on Arduino (tested on 3x individual MCP3424 chips)
4. I am using pins 19 and 18 for the I2C connection, and have tried swapping them d o z e n s of times to make sure sure I haven't accidentally got the wires wrong.
5. Have also tried pins 17 and 16 with wire1(), which fail to produce results.
I'm at my wits end. The teensy is new, and I've checked my soldering. Blink program runs correctly. I swear I got these ADCs working on an old teensy 4.1 that I've since fried, but I can't remember what I did to make it run.