ADT7420 temperature sensor can't work with KW47-LOC board Hi i tried to run the adt7420 sample demo with KW47-LOC board, but the print message is "sensor_addr_set failed ret -134.“ after i flashed the image into the target . Since the chips are compatible , I used the frdm-mcxw72 examples and modify the overlay file to adapt it to the KW47-LOC board pins. you can find the print message like below picture for reference anliu114036_0-1787031664257.pnganliu114036_0-1787031664257.pnganliu114036_0-1787031664257.pnganliu114036_0-1787031664257.png here is the overlay. and prj. file information : anliu114036_1-1787032612716.pnganliu114036_1-1787032612716.pnganliu114036_1-1787032612716.pnganliu114036_1-1787032612716.png anliu114036_2-1787032650507.pnganliu114036_2-1787032650507.pnganliu114036_2-1787032650507.pnganliu114036_2-1787032650507.png can you help check how to get the right temperature very. i really have no idea to solve the issue. thanks in advance Best regards! Re: ADT7420 temperature sensor can't work with KW47-LOC board Hi db16122, i‘m junior for this part, and i can't understand your below guiding. is it possible we can have web meeting to check the issue? Re: ADT7420 temperature sensor can't work with KW47-LOC board sensor_addr_set failed ret -134 may caused by address setting incorrect about the adt7420 module ADT7420_cn.pdf QUICK GUIDE TO MEASURING TEMPERATURE The following is a quick guide for measuring temperature in continuous conversion mode (default power-up mode). Execute each step sequentially. 1. After powering up the ADT7420, verify the setup by reading the device ID (Register Address 0x0B). It should read 0xCB. 2. After consistent consecutive readings are obtained from Step 1, proceed to read the configuration register (0x03), TCRIT (0x08, 0x09), THIGH (0x04, 0x05), and TLOW (0x06, 0x07) registers. Compare to the specified defaults in Table 6. If all the readings match, the interface is operational. 3. Write to the configuration register to set the ADT7420 to the desired configuration. 4. Read the temperature value MSB register, followed by the temperature value LSB register. Both registers should produce a valid temperature measurement. Re: ADT7420 temperature sensor can't work with KW47-LOC board official EVK anliu114036_0-1787042775204.jpeganliu114036_0-1787042775204.jpeganliu114036_0-1787042775204.jpeganliu114036_0-1787042775204.jpeg Re: ADT7420 temperature sensor can't work with KW47-LOC board do you use custom board or officail EVK? Re: ADT7420 temperature sensor can't work with KW47-LOC board Yes, i need your help. which web meeting tool is ok for you and when you are available? many thanks! Re: ADT7420 temperature sensor can't work with KW47-LOC board Ok then, drop me a internal message if you need further help
View full article