Alex_B65717 Posted January 3, 2022 Report Posted January 3, 2022 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
Joel Bodenmann Posted January 4, 2022 Report Posted January 4, 2022 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!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now