2025-04-14 2:48 PM - last edited on 2025-04-25 4:53 AM by Peter BENSCH
I am working on a Tire Pressure Monitoring System (TPMS) application. This is not a device that goes inside of a tire. This will be a device that talks to the TPMS devices inside the tire.
I found the SPIRIT1 as a good choice for sub 1 Ghz wireless radios and that is the realm of TPMS.
I am trying to bring together several libraries that support TPMS. There is the main rtl_433 library that has a lot of the code needed to decode the signals once they come from the radio.
I am also using a library called RadioLib that does a lot of the setup of chips and such.
The part I am getting stuck on is connecting RadioLib to the SPIRIT1 driver source code that ST provides for their chip.
If anyone has any experience with TPMS and the SPIRIT1, please let me know if you are willing to help me.
Mainly I am looking for sample code to set the SPIRIT1 for TPMS using the ST driver code.
2025-04-15 1:01 PM
I have been working on this as best I can and think I can simplify my requirements.
I found that the RadioLib and rtl_433 libraries seem to be expecting raw pulses as input. This means I think I just need to set up the SPIRIT1 to do direct data via Clock and Data pins using the gpio on the SPIRIT1.
I tried to set this up with an interrupt to be generated on the clock falling edge per the SPIRIT1 datasheet.
I am transmitting using a method I know works and think I have the SPIRIT1 radio configured correctly, but I never see anything coming out of the clock or data pins I have configured.
Can someone help me configure the SPIRIT1 for direct pulse data output?