You are here

PSOC4 IR NEC Decoding | Cypress Semiconductor

PSOC4 IR NEC Decoding

Summary: 4 Replies, Latest post by Bharat Surani on 09 Nov 2016 10:53 PM PST
Verified Answers: 0
Last post
Log in to post new comments.
Bharat Surani's picture
User
3 posts

Hello All
Is there anyone, decoded NEC protocol of IR signal on PSOC4?
I have preferred following website for deep study of NEC protocol,
https://www.stwing.upenn.edu/~geykhman/seas/350/contentremote.html
http://ustr.sancaleve.com/infrared/nec.shtml
I have also tried to implement time period measurement,
http://www.cypress.com/knowledge-base-article/time-period-measurement-ps...
But unable to do so. As we need to count period of each and every rising or falling edge. There
will be different parts as follows,
1. 9-10 msec active high: wakeup signal
2. 4.3 msec low: start recording data
3. data part1: 560 usec active high: bit separator
4. data part2: if 560 usec low: record bit as 0
                       if 1.6 msec low: record bit as 1
5. repeat 3 & 4 till 32 bits data get recorded.
6. error checking: first 8 bits should be compliment of second 8 bits and third 8 bits should be
compliment of forth 8 bits.
7. if no error found you will get your 32 bit data for particular NEC protocol based IR signal.
Kindly update if anyone did the same before.
Thank you in advance

Attachments: 
user_1377889's picture
User
9596 posts

A PSoC4 question in the "Clocks and Buffers" forum is a bit misplaced. Besides it is the third request for the same topic in the CDC from you.

 

Bob

Bharat Surani's picture
User
3 posts

Sorry bob for multiple posting. I have deleted other posts.

user_1377889's picture
User
9596 posts

Thank you, you are welcome!

 

Bob

Bharat Surani's picture
User
3 posts

so did you have any idea how can we implement?

Log in to post new comments.