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
25LC512 cannot be controlled
Moderator: Benj
-
- Posts: 89
- Joined: Wed Aug 31, 2016 4:48 pm
- Been thanked: 4 times
- Contact:
- 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
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 89
- Joined: Wed Aug 31, 2016 4:48 pm
- Been thanked: 4 times
- Contact:
Re: 25LC512 cannot be controlled
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.
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.
-
- Posts: 89
- Joined: Wed Aug 31, 2016 4:48 pm
- Been thanked: 4 times
- Contact: