Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
sagt3k Guru Joined: 01/02/2015 Location: ItalyPosts: 313
Posted: 02:09pm 01 Dec 2021
Copy link to clipboard
Print this post
Hi to everybody
Using the Nucleo-L452 and display ILI9341, I found a problem with pin23 (A7 or SPI MOSI) set as DOUT, when OPTION TOUCH is enabled (MMBasic crash). Otherwise, If OPTION TOUCH is disabled (command: OPTION TOUCH DISABLE) the pin 23 works correctly.
This is the code:
OPTION LCDPANEL ILI9341, RLANDSCAPE, 14, 24, 62 OPTION TOUCH 25, 26 SETPIN 23, DOUT PIN(23)=1 < --- MMBasic crashes at this point
Thanks for your suggestion Antonio
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 10616
Posted: 02:40pm 01 Dec 2021
Copy link to clipboard
Print this post
Sorry not much I can do. I've never has a 452 and only included support at someone's request without any testing. I seem to remember it is different from the "fully" supported chips in various ways but can't recollect what. The fact it is OK when you set it as an output (which sets the pin low) but crashes when it is set to 1 may mean there is just an electrical problem (short etc.) or duff chip