I met AD7124 IC two years ago.
I knew great works well. I made 10 boards on same circuit as bellow.
when I turn on the board and check a coldjunction temperature(RT1), the 5 borads temperature is different.
the 5 boards are about 24 degree and the other boards are 30 degree. the part is used same.
what do i do wrong?
my code is like this:
1) reset data send ( 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff)
2) channel-0 setting ( 0x09, 0x10, 0xA6) // AINP=AIN5, AINM= AIN6
3) config-0 setting ( 0x19, 0x01, 0xEF) // unipolar, ref_bufp
4) filter-0 setting ( 0x21, 0xE6, 0x07, 0xFF)
5) IOUT setting (0x03, 0x00, 0x12, 0x0B)
6) when i read, (0x01, 0x01, 0x84); // ADC controll setting
(0x42, 0x00, 0x00, 0x00, 0x00) // read
i send number 6) messages on period.
please, check my setting codes and help me.
thanks for reading.
I understand your disclaimer about Analog Devices.
A problem is that my english skill is poor. So I know misunderstand of 7124 datasheet.
I just reference your software source codes.
My problem is I cant control two channel operations.
I use the NTC for coldjunction temperature and Thermocouple for Hot point temperature. So I have to use two channels of 7124-4 IC.
I just want to how to channel settings for two resources through your C language source codes.
There is no sources in the link.
can you show me how to send the packet in the CN0376 devices?
I am using the 7124-4 like this flow on my code:
RESET for 7124-4
setting for NTC at channel-0
data reading for NTC
after 1 sec
setting for Thermocouple at channel-0
data reading for Thermocouple
go back to first step.
But I want to that like this flow:
setting for Thermocouple at channel-1
My thermocouple setting is not right, so thermocouple data is not useful..
If there is ADICUP360 codes for CN0376 devices, share for me. I will just check the packet for NTC and Thermocouple.
Is it ok when I reset the 7124-4 IC frequently ? actually, I cant set two channels, I do reset operation for channel-0.
thank you for reading. thank you very much.