Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 18:22 29 Mar 2024 Privacy Policy
Jump to

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.

Forum Index : Microcontroller and PC projects : Problem with ARMMITE L452 + ILI9341 - MMbasic crash with pin A7

Author Message
sagt3k

Guru

Joined: 01/02/2015
Location: Italy
Posts: 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 Kingdom
Posts: 8516
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
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024