Page 1 of 1

25LC512 cannot be controlled

Posted: Tue Apr 09, 2019 9:51 pm
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

Re: 25LC512 cannot be controlled

Posted: Thu Apr 11, 2019 10:30 am
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.

Re: 25LC512 cannot be controlled

Posted: Thu Apr 11, 2019 9:33 pm
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.

Re: 25LC512 cannot be controlled

Posted: Sat Apr 13, 2019 10:56 pm
by Pascal_2016
Hello Benj

I was able to fix the failure.