Page 1 of 1

Flowcode 6.0.7 SPI Demo

Posted: Sun May 11, 2014 2:22 pm
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??

Re: Flowcode 6.0.7 SPI Demo

Posted: Sun May 11, 2014 11:27 pm
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??

Re: Flowcode 6.0.7 SPI Demo

Posted: Sun May 11, 2014 11:30 pm
by kersing
Could you post you program? Or PM if sensitive?

Re: Flowcode 6.0.7 SPI Demo

Posted: Sun May 11, 2014 11:43 pm
by cobra1
I have sent the program via PM. Thanks for taking a look at it for me :)

Re: Flowcode 6.0.7 SPI Demo

Posted: Mon May 12, 2014 10:11 am
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.