PIC18F14K22 RS232 interrupt problem

A forums to allow bugs and problems with Flowcode v6 to be reported and resolved.

Moderator: Benj

User avatar
STibor
Posts: 262
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 115 times
Been thanked: 112 times
Contact:

PIC18F14K22 RS232 interrupt problem

Postby STibor » Fri Jun 10, 2016 4:33 pm

Hello!

PIC18f14k22 interruption RS232 does not work if I use MFRC522 component.
http://www.matrixtsl.com/mmforums/viewtopic.php?f=56&t=16971&start=25#p73107
It only works if the MFRC522 uses software SPI connection.

User avatar
STibor
Posts: 262
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 115 times
Been thanked: 112 times
Contact:

Re: PIC18F14K22 RS232 interrupt problem

Postby STibor » Sun Jun 12, 2016 12:02 pm

Hello!
I think I found the problem.
C: \ Program Files \ Flowcode 6 \ FCD \ PIC \ 18F14K22.fcdx file.
Original:

Code: Select all

 
<spi >
<miso port='1' pin='0' />
<mosi port='2' pin='7' />
<clk port='1' pin='1' />
<ss port='0' pin='5' />
</spi>

Modified:

Code: Select all

<spi >
<miso port='1' pin='4' />
<mosi port='2' pin='7' />
<clk port='1' pin='6' />
<ss port='2' pin='6' />
</spi>

It works like this.

This family may be affected:
PIC18F13K22
PIC18LF13K22
PIC18F14K22
PIC18LF14K22
PIC18F13K50
PIC18LF13K50
PIC18F14K50
PIC18LF14K50
Attachments
18F13K50.fcdx
(24.45 KiB) Downloaded 137 times
18F13K22.fcdx
(23.37 KiB) Downloaded 120 times
18F14K22.fcdx
(23.37 KiB) Downloaded 123 times
These users thanked the author STibor for the post:
medelec35 (Mon Jun 13, 2016 11:50 am)
Rating: 5%
 

User avatar
STibor
Posts: 262
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 115 times
Been thanked: 112 times
Contact:

Re: PIC18F14K22 RS232 interrupt problem

Postby STibor » Mon Jun 13, 2016 4:05 am

And PIC18F14K50 FCD file.
Attachments
18F14K50.fcdx
(24.3 KiB) Downloaded 130 times
These users thanked the author STibor for the post:
medelec35 (Mon Jun 13, 2016 11:50 am)
Rating: 5%
 

User avatar
LeighM
Matrix Staff
Posts: 2008
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 480 times
Been thanked: 688 times
Contact:

Re: PIC18F14K22 RS232 interrupt problem

Postby LeighM » Mon Jun 13, 2016 9:28 am

Thanks for the fixes STibor, we'll get these updated
These users thanked the author LeighM for the post:
STibor (Mon Jun 13, 2016 5:10 pm)
Rating: 5%