• AVR Freaks

Hot!SMT Signal Measurement Timer

New Member
  • Total Posts : 2
  • Reward points : 0
  • Joined: 2016/09/28 06:45:08
  • Location: 0
  • Status: offline
2018/12/06 10:33:07 (permalink)

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.

0 Replies Related Threads

    Jump to:
    © 2019 APG vNext Commercial Version 4.5