PIC18F14K22 RS232 interrupt problem

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

Moderator: Benj

Post Reply
User avatar
STibor
Posts: 263
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 116 times
Been thanked: 113 times
Contact:

PIC18F14K22 RS232 interrupt problem

Post by STibor »

Hello!

PIC18f14k22 interruption RS232 does not work if I use MFRC522 component.
http://www.matrixtsl.com/mmforums/viewt ... =25#p73107
It only works if the MFRC522 uses software SPI connection.

User avatar
STibor
Posts: 263
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 116 times
Been thanked: 113 times
Contact:

Re: PIC18F14K22 RS232 interrupt problem

Post by STibor »

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 304 times
18F13K22.fcdx
(23.37 KiB) Downloaded 290 times
18F14K22.fcdx
(23.37 KiB) Downloaded 307 times

User avatar
STibor
Posts: 263
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 116 times
Been thanked: 113 times
Contact:

Re: PIC18F14K22 RS232 interrupt problem

Post by STibor »

And PIC18F14K50 FCD file.
Attachments
18F14K50.fcdx
(24.3 KiB) Downloaded 313 times

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times
Contact:

Re: PIC18F14K22 RS232 interrupt problem

Post by LeighM »

Thanks for the fixes STibor, we'll get these updated

Post Reply