In one of our designs we use FXPQ3115BV Pressure sensor.
We were able to get the Chip correctly communicating with the host micro-controller. We verified this by reading the WHO AM I register of the chip as mentioned in the datasheet sensor responded with 0xC5
After that we followed the flow chart for getting data using polling mode (Figure 7 page 14).
In the datasheet it says the Raw data is Q8.4 fixed point format for pressure.
My question is how we can convert thie Q8.4 fixed point data to usable values in our algorithms.
Do you have any C code showing us how to convert this Q8.4 Raw values to actual pressure values. (floating point number)