SPI_Master bug?

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

Moderator: Benj

Post Reply
Dave Squibb
Flowcode v5 User
Posts: 104
Joined: Fri Oct 10, 2014 11:15 am
Has thanked: 27 times
Been thanked: 22 times
Contact:

SPI_Master bug?

Post 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.
Attachments
SPI_Test.fcfx
(4.12 KiB) Downloaded 230 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: SPI_Master bug?

Post 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 263 times
The files needs to be placed into your "Flowcode 6\Components" directory before starting Flowcode for the changes to be present.

Dave Squibb
Flowcode v5 User
Posts: 104
Joined: Fri Oct 10, 2014 11:15 am
Has thanked: 27 times
Been thanked: 22 times
Contact:

Re: SPI_Master bug?

Post by Dave Squibb »

Hi Benj,

That works.

Thanks,

Dave.

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: SPI_Master bug?

Post by Benj »

Thanks for letting me know. This fix will be in the upcoming release.

Post Reply