SMT Signal Measurement Timer
Hello. My question is does anyone have experience of using the SMT core independent peripheral as an infra red remote decoder? (NEC/Japanese protocol).
I am using a PIC16F18855, XC8 and MCC. Although I have TB3129, AN2030 along with the PIC datasheet I am having difficulty understanding the sequence of API calls.
The first time period of the waveform that I am trying to decode is 13.5ms followed by 32 periods of either 1.125ms representing a logic 0 or 2.25ms representing a logic 1.
I am reading the captured period into a uint32_t array. The first value, (13.5ms), recorded seems to repeat. Susequent values read seem appropriate but in the wrong array locations.
Any help would be appreciated.