You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used the MAX31865 driver.
-> CONFIG_MAX31865=y
-> /zephyr/drivers/sensor/max31865
I configured the device tree to fit the circuit and gpios.
cs-gpios is configured in the inverter method.
And I created a simple test program.
First I configured two MAX31865 devices using the device_is_ready() function.
I used the sensor_sample_fetch() and sensor_channel_get() functions.
I want to be able to check the RTD value of each of the two devices.
However, two outputs are produced with the same data value.
I believe the cause of this problem is either having two devices bound to one device,
or the way the inverter cs-gpios is configured in the device tree is incorrect.
Please give me advice on how to get the desired values.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Zephyr Version: 3.4.99
Board: STM32L433
I hope to use two MAX31865 devices.
I used the MAX31865 driver.
-> CONFIG_MAX31865=y
-> /zephyr/drivers/sensor/max31865
I configured the device tree to fit the circuit and gpios.
cs-gpios is configured in the inverter method.
And I created a simple test program.
First I configured two MAX31865 devices using the device_is_ready() function.
I used the sensor_sample_fetch() and sensor_channel_get() functions.
I want to be able to check the RTD value of each of the two devices.
However, two outputs are produced with the same data value.
I believe the cause of this problem is either having two devices bound to one device,
or the way the inverter cs-gpios is configured in the device tree is incorrect.
Please give me advice on how to get the desired values.
Beta Was this translation helpful? Give feedback.
All reactions