Page 1 of 1
PIC18F14K22 RS232 interrupt problem
Posted: Fri Jun 10, 2016 4:33 pm
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.
Re: PIC18F14K22 RS232 interrupt problem
Posted: Sun Jun 12, 2016 12:02 pm
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
Re: PIC18F14K22 RS232 interrupt problem
Posted: Mon Jun 13, 2016 4:05 am
by STibor
And PIC18F14K50 FCD file.
Re: PIC18F14K22 RS232 interrupt problem
Posted: Mon Jun 13, 2016 9:28 am
by LeighM
Thanks for the fixes STibor, we'll get these updated