fastlearner
Member
Hello Everyone, i am new with teensy and beginner with arduino, currently i am working on teensy4.1 and EVAL-AD7124-8SDZ, the board has SPI pins as test points / solder points, and i am trying to establish a connection with this pin. the board already has a power supply of 7-9v, and i am powering my teensy through usb. my aim is to connect a MQ-8 sensor on the 24 bit ADC, but before that i am trying to slowly achieve the basic SPI setup. The following are the pin connections
TSCLK - PIN 13 of teensy
TCS - PIN 10 of teensy
TDIN -PIN 11 of teensy
TDOUT - PIN12 of teensy
AVDD - VCC of MQ8
AVSS - GND of MQ8
AIN2 - A0 of MQ8
i connected the teensy GND to the GND of ADC board.
For the first instance i have code to just read the ID register 0x05, which has a value 0x17 but i do not receive this value. this means i have not established a SPI connection successfully. i am trying to troubleshoot this but if you find any mistakes in the code or approach please correct me. thank you i will have the code and important links below.
https://mm.digikey.com/Volume0/opasdata/d220001/medias/docus/1234/AD7124-8SDZ_EVB_UG.pdf
TSCLK - PIN 13 of teensy
TCS - PIN 10 of teensy
TDIN -PIN 11 of teensy
TDOUT - PIN12 of teensy
AVDD - VCC of MQ8
AVSS - GND of MQ8
AIN2 - A0 of MQ8
i connected the teensy GND to the GND of ADC board.
For the first instance i have code to just read the ID register 0x05, which has a value 0x17 but i do not receive this value. this means i have not established a SPI connection successfully. i am trying to troubleshoot this but if you find any mistakes in the code or approach please correct me. thank you i will have the code and important links below.
https://mm.digikey.com/Volume0/opasdata/d220001/medias/docus/1234/AD7124-8SDZ_EVB_UG.pdf

Hydrogen sensor MQ8 breakout - Soldered Electronics
Hydrogen is all around us, and it’s very flammable. Its leakage can be very dangerous to both life and property. That’s why it's important to detect any leakage to prevent in the industry.
soldered.com
Attachments
Last edited: