25LC512 cannot be controlled

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

Moderator: Benj

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

25LC512 cannot be controlled

Post by Pascal_2016 »

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.06 KiB) Downloaded 167 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: 25LC512 cannot be controlled

Post by Benj »

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: 89
Joined: Wed Aug 31, 2016 4:48 pm
Been thanked: 4 times
Contact:

Re: 25LC512 cannot be controlled

Post by Pascal_2016 »

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: 89
Joined: Wed Aug 31, 2016 4:48 pm
Been thanked: 4 times
Contact:

Re: 25LC512 cannot be controlled

Post by Pascal_2016 »

Hello Benj

I was able to fix the failure.

Post Reply