25LC512 cannot be controlled

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

Pascal_2016
Posts: 87
Joined: Wed Aug 31, 2016 4:48 pm
Been thanked: 4 times
Contact:

25LC512 cannot be controlled

Postby Pascal_2016 » Tue Apr 09, 2019 9:51 pm

Hello Benj
the 25LC512 cannot be controlled with a PIC 24FJ64GB002, 24F16K102, 18F26J50 and 16LF1939. With the flowcode version 8.0 I could control the PIC 24FJ64GB002, 24F16K102 and 18F26J50 with the same program. With the Flowcode version 6 I could control the PIC 24FJ64GB002 and 24F16K102 with the same program. With the flowcode version 8.1 I can't control a device via SPI.

Could you please help me
Attachments
Flowcode1_1.fcfx
(18.07 KiB) Downloaded 41 times

User avatar
Benj
Matrix Staff
Posts: 14786
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4750 times
Been thanked: 4358 times
Contact:

Re: 25LC512 cannot be controlled

Postby Benj » Thu Apr 11, 2019 10:30 am

Hello,

Does the USB initialise and appear on your PC? Can you give us any more information on what is and isn't working so we can narrow down the search.

Pascal_2016
Posts: 87
Joined: Wed Aug 31, 2016 4:48 pm
Been thanked: 4 times
Contact:

Re: 25LC512 cannot be controlled

Postby Pascal_2016 » Thu Apr 11, 2019 9:33 pm

Hello Benj

the USB is active and working correctly.

The PIC 24FJ64GB002 is configured as follows
Config4 = 0xff18
Config3 = 0xf4ff
Config2 = 0x89af
Config1 = 0x3f7f

The other PICs that don't have direct USB are connected via RS232 to USB interface and work very well with it.

I haven't tested the I2C interface with Flowcode 8.1 yet.

I tested with Flowcode 8.1 only the SPI interface. With Flowcode 8.1 SPI writing and reading does not work.

The clock is set correctly with all tested PICs and works.

Pascal_2016
Posts: 87
Joined: Wed Aug 31, 2016 4:48 pm
Been thanked: 4 times
Contact:

Re: 25LC512 cannot be controlled

Postby Pascal_2016 » Sat Apr 13, 2019 10:56 pm

Hello Benj

I was able to fix the failure.
These users thanked the author Pascal_2016 for the post:
Benj (Tue Apr 16, 2019 5:40 pm)
Rating: 5%