Page 1 of 1

SPI_Master bug?

Posted: Wed Nov 04, 2015 10:12 am
by Dave Squibb
Hi,
I am using the SPI_Master component with a PIC16F887. I select CHANNEL software and set MOSI to PortA,3 and CLK to PortA,4. Everything works ok until you close and reopen the Project. MOSI reverts to PortC,5 and CLK to PortC,3. Attached minimal code with fault.

Re: SPI_Master bug?

Posted: Wed Nov 04, 2015 11:36 am
by Benj
Hello,

Thanks for letting us know. I think I have fixed the problem but let me know how you get on.
SPI_Legacy.fcpx
(11.54 KiB) Downloaded 319 times
The files needs to be placed into your "Flowcode 6\Components" directory before starting Flowcode for the changes to be present.

Re: SPI_Master bug?

Posted: Wed Nov 04, 2015 12:30 pm
by Dave Squibb
Hi Benj,

That works.

Thanks,

Dave.

Re: SPI_Master bug?

Posted: Wed Nov 04, 2015 3:18 pm
by Benj
Thanks for letting me know. This fix will be in the upcoming release.