Page 1 of 1

Bug with RC5 component and 24FJ64GB002

Posted: Sun Nov 30, 2014 10:18 am
by Mathy
Hello,

I think there are some bugs on the RC5 component.
Im able to compile in "timer receive" mode but Im not in "interrupt mode"

And I am not able to make it working in 'timer receive" mode with my RC5 remote.
The "check rx" macro never report me any valid RC5 packets.

Is it possible to have a look at this one ?

Thank you,

Mathy

Re: Bug with RC5 component and 24FJ64GB002

Posted: Wed Dec 03, 2014 11:28 am
by Mathy
Hello,

I have a Tektronix today !
There is a problem with the timing I think.

I have a 16Mhz crystal who works great.
I think I have well configure the fuse as you can see in my program file.
If I setup a RS232 component, Im able to read the data sent by the MCU with my terminal at the right baudrate.
If a setup an interrupt based on timer, I have the right frequency. ( 122 Hz in this case )
But a 2ms pause gives me 4 in real.

I think this problem affect the RC5 component.

Is it possible to have a look ?

Thank you.

Re: Bug with RC5 component and 24FJ64GB002

Posted: Wed Dec 03, 2014 3:26 pm
by Benj
Hello,

Please could you try this updated FCD and see if it solves the problem. The file needs to be placed here "C:\Program Files (x86)\Flowcode 6\FCD\PIC16" before restarting Flowcode.
24FJ64GB002.fcdx
(35.43 KiB) Downloaded 218 times

Re: Bug with RC5 component and 24FJ64GB002

Posted: Wed Dec 03, 2014 3:48 pm
by Mathy
Hello Benj :)

Thank you for your time.
I don't know if the RC5 component works well now because I loose my RC5 remote :oops:

But now, the timing are correct :)

What do you change in the FCD file ( I didn't backup the original file ... ) ?
Thank you again.

I will let you know as soon as I found my remote.