ToyuShinki Posted September 22, 2018 Report Share Posted September 22, 2018 Dear uGfx team! I'm trying to use your PSoC 5LP examples provided in the link below to get it to work with my PSoC 6 platform. So far I couldn't get anything to show up on the screen. I believe the SPI API changed, but I did my best to match up with the board_ILI9341.h file as much as I can. Still nothing shows up. I did check the signal with oscilloscope. This is the signal from the 5LP: it raises correctly in the mid point of SCK signal. This is the signal from Psoc 6: Kinda out sync. And I'm trying to run this barebone, but the timer and counter component in PSOC 5LP were removed in PSOC 6. So I substituted with a timer counter component same concept. Can you guys help me to take a look into it? Sincerely, Shinki Workspace02.zip Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted September 26, 2018 Report Share Posted September 26, 2018 Hi, We don't currently have a PSoC 6 setup available. However, the basics are always the same. Before you have your SPI peripheral spitting out the expected/correct waveforms there's no much sense digging into µGFX itself. I'm sure you'll get plenty of good help from people that actually use this platform. All that SPI & timer stuff is generic and not relevant to µGFX itself. Link to comment Share on other sites More sharing options...
ToyuShinki Posted September 28, 2018 Author Report Share Posted September 28, 2018 Hi Joel, Thank you for your reply! I got it to work. So I'm gonna upload the file for PSOC6 and the TFT screen here for anyone if they want an example in the future Sincerely, Huy Do PSOC6_TFT_ILI9431.zip Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted September 29, 2018 Report Share Posted September 29, 2018 That's nice, thanks for sharing! Is this in a state where we could add it as an example to the downloads section? Link to comment Share on other sites More sharing options...
ToyuShinki Posted October 1, 2018 Author Report Share Posted October 1, 2018 Yes, it is in a working state. Basically, I just changed the SPI function call in ILI9341 header file from your 5LP project. I can upload the picture of it running later on this week for you if that helps. Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted October 1, 2018 Report Share Posted October 1, 2018 Cool! That would be appreciated Link to comment Share on other sites More sharing options...
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