FRDM-RW612: Hands On 3: ISP and Temperature Sensor

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

FRDM-RW612: Hands On 3: ISP and Temperature Sensor

FRDM-RW612: Hands On 3: ISP and Temperature Sensor

This demo shows the temperature measured from the i2c temperature sensor integrated in the board. The information can be monitored in the UART terminal or in the IoT Toolbox app.

Attachments
Comments

I'm seeing a fail with the temperature read using the supplied binary:

md5sums:
2e26bee874948e87173c85cf76e8796f *frdm_rw612_peripheral_ht_binary.zip
218443c49f01fc9c1451dd0eb993ed1e *frdm_rw612_peripheral_ht.bin
*** Booting Zephyr OS build 97e036b09e89 ***
[00:00:00.471,582] <inf> bt_hci_core: Identity: C0:95:DA:01:54:F0 (public)
[00:00:00.471,600] <inf> bt_hci_core: HCI: version 5.4 (0x0d) revision 0x8300, manufacturer 0x0025
[00:00:00.471,607] <inf> bt_hci_core: LMP: version 5.4 (0x0d) subver 0x1410
Bluetooth initialized
no temperature device; using simulated data
úøFail to fetch temperature is 0C
sample from sensor
þáIndication success
ándication complete

Both the SDK demo_apps/temperature_measurement and driver_examples/i2c/read_p3t1755_temp_value_transfer work correctly.

Hello,

Could you please let me know the Zephyr-SDK version. We know that connection maybe instable with Zephyr-SDK 0.16.8 

Could you please try with Zephyr-SDK 0.16.4, you can download from this link

https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.16.4/zephyr-sdk-0.16.4_windows-x86...

Once it is download uncompress the file in same folder you have the other version by default is usually C:\users\*your_user*\ , This is to try that VS Code shows the new SDK automatically, but you can also import the SDK from the path you choose 

After the SDK is imported go to VSCode and do a right click on the project and select   Configure->Associate Zephyr SDK

Daniel_Martinez_0-1729098384583.png

A list will pop up in the top of the VSCode select the new SDK 0.16.4

Daniel_Martinez_1-1729098478085.png

now clean the project and compile again

Hope this helps

 

I was running the binary provided by the class, so I don't know where the source is.

I am able to build, run, and see the fake temps in IoT Toolbox for: https://github.com/zephyrproject-rtos/zephyr/tree/main/samples/bluetooth/peripheral_ht

 Where is the support for it to read the frdm_rw612 sensor in zephyr?

No ratings
Version history
Last update:
‎10-10-2024 09:29 AM
Updated by: