Can you please let us know which device you are using? As you are using a PSoC 6 device, you can use ModusToolbox for your application development which is catered towards PSoC 6 development.
Regarding the pressure sensor, can you please let us know which pressure sensor you are using and the communication protocol that it uses?
We have a couple of code examples on each of the communication protocols and it would be a good starting step. You can check out all the ModusToolbox code examples here - GitHub - cypresssemiconductorco/Code-Examples-for-ModusToolbox-Software: This ReadMe links to all available code example…
To learn more about ModusToolbox you can check out this blog series - Session 1: Introduction to ModusToolbox 2.x
Thanks and Regards,
Rakshith M B