Other Parts Discussed in Thread: DRV5032, SYSCONFIG, CC1352R,
Tool/software:
Hi,
Is there an example program to read the DRV5032 sensor? Do I just the analog example program to read it?
-kel
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
Hi,
Is there an example program to read the DRV5032 sensor? Do I just the analog example program to read it?
-kel
Hi Kel,
you have two options.
You can use the sensor controller for extra low power consumption and use sensor controller studio to generate an example project: https://www.ti.com/tool/SENSOR-CONTROLLER-STUDIO
Or you can use the TI driver projects to understand how to use the drivers: https://dev.ti.com/tirex/explore/node?node=A__AGqCRlyfoV8Zd43k1pp4.A__com.ti.SIMPLELINK_CC13XX_CC26XX_SDK__BSEc4rl__LATEST&placeholder=true
Then you can add them to any other project using SysConfig.
The data sheet of the sensor will also explain you how the sensor can be read: www.ti.com/.../drv5032
Kind regards,
Theo
Hi,
The example programs for DRV5032 are available at TI SAIL Plugin, which now does not exist. It is unacceptable that TI provides hardware without code to read the sensors.
-kel
Hi Kel,
this is not the case.
TI fully supports the Lipstick, all example programs for CC1352R run on it.
Following this SimpleLink academy for the Sensor Controller you will have a project that reads the adc. This can be used to read the hall effect sensor. https://dev.ti.com/tirex/explore/node?node=A__AddniPdrlDWP1siaPICBSw__com.ti.SIMPLELINK_ACADEMY_CC13XX_CC26XX_SDK__AfkT0vQ__LATEST
Other than that you can use the driver example projects to read it according to the datasheet: https://www.ti.com/lit/ds/symlink/drv5032.pdf?ts=1737620916050&ref_url=https%253A%252F%252Fwww.ti.com%252Fproduct%252Fde-de%252FDRV5032
What question do you need answered to get it working?
Please let me know how I can help you.
Kind regards,
Theo
It is not a big problem for me to get this working. I already marked this post as answered.
Using your latest SDK there is no example program for the LPSTK-CC1352R to read the sensors. Other technology company provides complete support for their hardware including reading of sensors.
-kel
Hi Kel,
I still wanted to follow up and provide you the help you need to get it to work.
I'm glad to hear that you know how to use the sensors.
As I mentioned this reading is supported by the software that we provide but I understand that you would like a dedicated example using everything together.
We unified the software support for CC1352R and LPSTK-CC1352R since it is the same chip and all drivers can be used in the same way providing control for all peripherals.
If you have a specific question on how to get something to run please reach out again so that we can help you.
Kind regards
Theo