Pressure Sensors Forum Discussions
text.format{('custom.tabs.no.results')}
I'm using SP49 TPMS sensor example code.
My query is: How can I stop the interval timer in this code?
As there is no such library function for this. I couldn't find a way to stop the interval timer.
Show LessI'm using example code of SP49 sensor.
How can I add .c and .h files to the existing code and compile them?
Hi,
I've noticed the DPS310 pressure sensor now has "not for new design" label in the product finder. Can you please recommend alternatives in similar price range?
Also, are there any information regarding the DPS310 status available? For how long it will be produced, supported etc.? I've tried to find it but without any success.
Thanks and have a nice day!
Best regards,
Michal Šebesta
In SP49 sensor measurement example code,
The API Lib_Meas_Raw_Pressure(); gives RAW values of the sensor.
How can we convert this raw value to the exact normal value.
OR
How can we convert this value to measurement value in its appropriate unit.
E.g. pressure value should be converted to KPI or Psi.
Show LessBased on the device acceleration (acceleration sensor value) how to wake up the device? In example code where we can set the Acceleration sensor threshold value for wakeup.
Show LessI'm using SP49 example code Low Power Monitoring Code.
The main function in the code int main(void) does repeat every time we call the library function Lib_State_Low_Power(); and also all global variable values are also automatically set to zero.
What's the reason behind this and please provide solution for it.
Show Lessin the driver sensor-xensiv-dps3xx-master.zip (downloaded from https://github.com/Infineon/sensor-xensiv-dps3xx), there are two files with license texts (LICENSE & EULA).
Which of the two license text is the current one? Where can I request this information?
Thank you very much
Thomas
the original driver writes values to undocumented registers 0x0E, 0x0F & 0x62 (neither in the datasheet for the DPS368 nor DPS310).
See function _xensiv_dps3xx_correct_temperature in xensiv_dps3xx.c (below)
Can anyone tell me anything about this function?
Thank you very much
Thomas
static cy_rslt_t _xensiv_dps3xx_correct_temperature(xensiv_dps3xx_t* dev)
{
uint8_t write_data = 0xA5;
cy_rslt_t rc = _xensiv_dps3xx_reg_write(dev, 0x0E, &write_data, 1);
if (rc == CY_RSLT_SUCCESS)
{
write_data = 0x96;
rc = _xensiv_dps3xx_reg_write(dev, 0x0F, &write_data, 1);
}
if (rc == CY_RSLT_SUCCESS)
{
write_data = 0x02;
rc = _xensiv_dps3xx_reg_write(dev, 0x62, &write_data, 1);
}
if (rc == CY_RSLT_SUCCESS)
{
write_data = 0x00;
rc = _xensiv_dps3xx_reg_write(dev, 0x0E, &write_data, 1);
}
if (rc == CY_RSLT_SUCCESS)
{
write_data = 0x00;
rc = _xensiv_dps3xx_reg_write(dev, 0x0F, &write_data, 1);
}
return rc;
}
Show Less