PIC18F25k22 & RXINT Problem

Moderator: Benj

Post Reply
Muppetmaster
Posts: 7
Joined: Sun Jan 08, 2012 4:26 pm
Has thanked: 3 times
Contact:

PIC18F25k22 & RXINT Problem

Post by Muppetmaster »

Hi Guys,
Processor Pic18f25k22
Flowcode V5.4.00 (03.08.2012)

I have a problem relating to the RS232 communications ports and the RXINT function.

The problem I have is that the RXINT function does not seem to work on this processor in flowcode on the two communications ports, I have tested with a logic analyser and although the signals are getting to the processor the processor is not responding to the interrupt.

To test this I toggled a bit on port C (bit 1) when responding to the interrupt in the interrupt routine but clearly the interrupt is not being serviced as port C bit 1 does not toggle.

I do toggle the bit on port C before waiting for the received chars to ensure that the bit was in fact being toggled.

I’m attaching a simple program which I used to fault find along with a screen capture of the logic analyser showing that the bit is not being toggled and therefore the interrupt is not being serviced.

Could you take a look please as this problem stops me moving forward on the project?

Regards
Aj

The simple test flowcode:
Attachments
Comms_test.fcf
(11.99 KiB) Downloaded 362 times
Comms_test.png
(28.04 KiB) Downloaded 1613 times

User avatar
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: PIC18F25k22 & RXINT Problem

Post by Benj »

Hello,

Please can you try popping this file into your "Flowcode/v5/FCD" folder and restarting Flowcode.
18F25K22.fcd
(23.55 KiB) Downloaded 356 times
Let me know how you get on.

Muppetmaster
Posts: 7
Joined: Sun Jan 08, 2012 4:26 pm
Has thanked: 3 times
Contact:

Re: PIC18F25k22 & RXINT Problem

Post by Muppetmaster »

Hi Benj,

Wow that was fast...
Unfortunatly I'm now away from the development PC, will get to it later today or over the weekend and get back to you.

Many thanks for such a quick responce.

Regards
Aj

Muppetmaster
Posts: 7
Joined: Sun Jan 08, 2012 4:26 pm
Has thanked: 3 times
Contact:

Re: PIC18F25k22 & RXINT Problem

Post by Muppetmaster »

Hi Benj,

Ok, tested after downloading the file, the interrupt is now working and I'm receiving chars from the interrupt routine.

Once again, many thanks for such a quick responce to my problem.

Kind regards
Aj

markus747
Posts: 33
Joined: Mon Jul 23, 2012 7:17 pm
Location: Petaluma california USA
Has thanked: 26 times
Been thanked: 2 times
Contact:

Re: PIC18F25k22 & RXINT Problem

Post by markus747 »

I was not able to open file 18F25k22 File extension FCD?
Is FCD a valid file type?
MY pic version 5.5 only has .FCF

dazz
Posts: 1314
Joined: Sun Jan 15, 2012 3:15 pm
Has thanked: 474 times
Been thanked: 458 times
Contact:

Re: PIC18F25k22 & RXINT Problem

Post by dazz »

Hi Marcus

FCD files need to be placed in the following folder 64bit windows C:\Program Files (x86)\Flowcode\v5\FCD or 32bit windows C:\Program Files\Flowcode\v5\FCD

Regards
Dazz
To sign up to the V5 forum follow this link http://www.matrixmultimedia.com/forum_upgrades.php

Post Reply