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??
Flowcode 6.0.7 SPI Demo
Moderator: Benj
-
- Posts: 175
- Joined: Thu Feb 04, 2010 7:44 am
- Has thanked: 3 times
- Been thanked: 3 times
- Contact:
Re: Flowcode 6.0.7 SPI Demo
I have found this thread which describes the issues im having.
http://www.matrixmultimedia.com/mmforum ... 736#p59736
Will my fix be the same??
http://www.matrixmultimedia.com/mmforum ... 736#p59736
Will my fix be the same??
-
- Valued Contributor
- Posts: 2045
- Joined: Wed Aug 27, 2008 10:31 pm
- Location: Netherlands
- Has thanked: 553 times
- Been thanked: 1081 times
- Contact:
Re: Flowcode 6.0.7 SPI Demo
Could you post you program? Or PM if sensitive?
“Integrity is doing the right thing, even when no one is watching.”
― C.S. Lewis
― C.S. Lewis
-
- Posts: 175
- Joined: Thu Feb 04, 2010 7:44 am
- Has thanked: 3 times
- Been thanked: 3 times
- Contact:
Re: Flowcode 6.0.7 SPI Demo
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 221 times