Flowcode 6.0.7 SPI Demo

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

Moderator: Benj

Post Reply
cobra1
Posts: 175
Joined: Thu Feb 04, 2010 7:44 am
Contact:

Flowcode 6.0.7 SPI Demo

Post by cobra1 »

Hi

I am trying out the new v6 demo. I am trying to use the spi to drive an oled display. The display has a SSD1351 Chipset.

I seem to be having problems though. Pin outputs are not responding as they should. i.e i have 3 pins that control dc, reset and cs. Reset needs to be high in operation but when cs is pulled low it also pulls reset low . This happens when these pins use the same port. Setting these pins to different ports appears to work correctly but the screen does not respond.

I have this display working with pic18 using older version of flowcode but i would like to have used a pic24 and fc6. I dont have a logic analyser to check outputs from spi but it seems that something isnt right.
Im using a pic24fj256gb206 at 12mhz.

Has this happened to anyone else??

cobra1
Posts: 175
Joined: Thu Feb 04, 2010 7:44 am
Contact:

Re: Flowcode 6.0.7 SPI Demo

Post by cobra1 »

I have found this thread which describes the issues im having.

http://www.matrixmultimedia.com/mmforum ... 736#p59736

Will my fix be the same??

kersing
Valued Contributor
Valued Contributor
Posts: 1961
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Contact:

Re: Flowcode 6.0.7 SPI Demo

Post by kersing »

Could you post you program? Or PM if sensitive?
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

cobra1
Posts: 175
Joined: Thu Feb 04, 2010 7:44 am
Contact:

Re: Flowcode 6.0.7 SPI Demo

Post by cobra1 »

I have sent the program via PM. Thanks for taking a look at it for me :)

cobra1
Posts: 175
Joined: Thu Feb 04, 2010 7:44 am
Contact:

Re: Flowcode 6.0.7 SPI Demo

Post by cobra1 »

Here is my program. Not sure if it will help to find the problem. The program just shows the init function for the SSD1351 OLED Display.
Attachments
OLED DRIVER (PIC24).fcfx
(32.58 KiB) Downloaded 72 times

Post Reply