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
Bug with RC5 component and 24FJ64GB002
Moderator: Benj
-
- Posts: 333
- Joined: Mon Oct 05, 2009 2:39 pm
- Has thanked: 30 times
- Been thanked: 33 times
- Contact:
Re: Bug with RC5 component and 24FJ64GB002
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.
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.
- Attachments
-
- TEST_MM.fcfx
- (6.82 KiB) Downloaded 220 times
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Bug with RC5 component and 24FJ64GB002
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 333
- Joined: Mon Oct 05, 2009 2:39 pm
- Has thanked: 30 times
- Been thanked: 33 times
- Contact:
Re: Bug with RC5 component and 24FJ64GB002
Hello Benj
Thank you for your time.
I don't know if the RC5 component works well now because I loose my RC5 remote
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.
Thank you for your time.
I don't know if the RC5 component works well now because I loose my RC5 remote
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.