Jump to content

Demo PSOC 5 Screen flipped


Alex_B65717
 Share

Recommended Posts

I tried the demo that is on the PSOC 5 and ILI 9341 page, everything works fine but the screen is flipped, like a mirror.

 

I do not know why it happens, I have looked in the configuration if any modification is necessary but I have not found the part of the code that handles that part of the screen

Link to comment
Share on other sites

Hello & Welcome to the µGFX community!

Those ILIxxxx chips are known to have "problems" with different default configurations and incorrect reset values across different versions and revisions. This is especially bad with clones.
Given that everything else is working this might be as simple as flipping the scan direction bit(s) in the display controller's control register. Check the SS  bit in the Display Function Control Register (0xb6). That controls one of the scan directions. There is another such register value to control the other scan direction somewhere. These two values allow you to "flip" the display.

 Please don't hesitate to ask if you have any further questions - we're happy to help wherever we can!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...