Open SamEA opened 5 years ago
Hi Sam,
sorry for the very late reply. I added to the repository some examples showing how to use the ILI9341 custom component that I designed, performing several graphic tests. I tested them with a CY8CKIT-059 dev kit from Cypress and they work. Which PSoC 5LP are you using? Could you please try to run the examples and see what is the output on the display?
Davide
Hi, I plan on using your work with a PSOC 4M, if code will fit. Right now I am working with a IL9341 mcufriend display, and not sure what pins to connect, and your references to IM1, IM2, IM3
My display looks like -
Any help greatly appreciated.
Regards, Dana.
Looking at your example I see you configed your display was to run at 3.3, yet the project settings in system tab are set for 5.0V, eg. I/O and Vdd....
Not sure I understand whats going on. there.
Regards, Dana.
Hi Dana,
I have used this breakout board from Adafruit to design this custom component: Adafruit-1770. This breakout board allows you to control the display with 8-bit mode or SPI mode, and it is 3-5V compliant. The IM1, IM2, IM3 pins are pins exposed on the breakout board that allows to select the bus (8-bit or SPI), that's their purpose. You should check on your breakout board how to select the SPI mode for the display, and then connect the SPI pins.
I have never had the chance of using a PSoC 4 (I only have PSoC 5LP and 6), so I'm not sure if the code will work. This was one of the very first libraries/components that I have written, so the code may require some review (and I'm pretty sure that documentation should be improved).
Let me know if you are able to test one of the example projects. I will be very happy to help you in setting up the project.
Davide
Hi, I've been trying to make this code work with PSoC 5 dev kit but no response from the Display. I'm not sure if I'm using the wrong SPI clock settings or wrong module initialization. Do you have any sample code that shows the correct module initialization?
Thanks, Sam