Honywell RSC differential pressure sensor troubleshooting

Hello everyone!

I am having problems with getting a Honywell RSCDRRM2.5MDSE3 differential pressure sensor work properly with an arduino Mega...

I am using the following library GitHub - ij96/Honeywell_RSC: Arduino library for communication with Honeywell RSC Series digital pressure sensors via SPI, I have also used the proposed schematic from the datasheet (honeywell-sensing-trustability-rsc-series-data-sheet-32321348-d-en (1).pdf (3.3 MB)).
I get the following output on the serial monitor:


So I understand that the comunication should be working properly since it can read the information stored in the sensor(serial number,type of sensor...). However, the temperature mesurement is supposed to be in Celsius and it makes no sense to be 551.97 and the pressure mesurement is always the same and I guess it should be 0 or close....

Here is the breadboard mount and schematic I have done:


Since the sensor is a 3.3V sensor I have placed some voltage dividers from the digital outputs of the Mega. However, I have some doubts if I should remove the ones from the SPI comunications.

Basically I want to know if my problem is in the setting, in the library or both.... So, can anyone help??

You must not use the pull-ups together with voltage dividers as you do!.

If a MCU signal (let's say SCKL) is HIGH you get approximately 3.3V on the sensor. But if the MCU sets the signal to LOW you get a different voltage divider that results in ~1.4V which probably gets interpreted as HIGH too (the datasheet doesn't tell anything about the limits there).

I don't find any reference why the pull-ups are necessary anyway, given a MCU is connected to the SPI signal pins as then the signal always have a defined state anyway.

Don't use the voltage dividers as a replacement of a level shifter. This might work in the direction to the sensor but fails in the other direction, even if you remove the pull-ups (which might be necessary for the output pins, although I doubt that the maximum frequency of 5MHz would be possible then).

Even better, as the sensor is available in a 5V version, get that version and you can eliminate the additional circuitry.

Hey! Eventually, I came back to the project, and the problem where the pullup resistors indeed. After getting rid of all of them the lectures were perfect. I also connected directly the outputs with the Arduino inputs, since I saw that it can interpret 3.3V logic. Thanks for the help @pylon !