![]() |
Forum Index : Microcontroller and PC projects : Armmite - STM32H7: Nucleo 144 backpack
![]() ![]() ![]() ![]() |
|||||
Author | Message | ||||
lizby Guru ![]() Joined: 17/05/2016 Location: United StatesPosts: 3309 |
I plugged a 4.3" SSD1963 LCD into the H7-144 backpack. It makes for a pretty display. Unfortunately, I haven't been able to run GUI CALIBRATE successfully. It gives me the target, but does not respond to touching and releasing with a stylus, no matter how long I hold it. Here are my options: > option list OPTION AUTORUN ON OPTION LCDPANEL SSD1963_4, LANDSCAPE OPTION TOUCH 112, 56 OPTION SDCARD 110 > Do I have something wrong? Of course, soldering error or bum LCD are possible. PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
disco4now![]() Guru ![]() Joined: 18/12/2014 Location: AustraliaPosts: 971 |
The touch for the SSD1963 would be the same as ILI9341 OPTION TOUCH 56,123 The ones you show are the ones for the HAT header and the ILI9481 Latest F4 Latest H7 FotS |
||||
lizby Guru ![]() Joined: 17/05/2016 Location: United StatesPosts: 3309 |
Thanks, that did it. But I'm confused again (it seems to be happening a lot). I thought the HAT header was the 40-pin, double-row header, and that's the one the SSD1963 display is mounted on--not the 14-pin header for the ILI9341. Anyway, all good with respect to this display. PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
lizby Guru ![]() Joined: 17/05/2016 Location: United StatesPosts: 3309 |
Another question: is there a "CLICK" pin defined? OPTION TOUCH T_CS pin, T_IRQ pin [, click pin] Geoff's guidemo320.bas program wants it. PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10066 |
![]() No: just choose any unallocated pin, if you connect an LED you will see the "click" |
||||
lizby Guru ![]() Joined: 17/05/2016 Location: United StatesPosts: 3309 |
Ah--I have backpack PCB V1.2, which lacks the HAT connector. PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
lizby Guru ![]() Joined: 17/05/2016 Location: United StatesPosts: 3309 |
Trying to run the webserver code that worked on the L4 here It's failing to connect on COM3. Is there an established RESET pin for the ESP-01 on the backpack? Initially, I got: Timeout : AT+RST and Timeout : AT+CWMODE_DEF=1 Upon rerunning, I always get: Timeout : AT PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10066 |
Works perfectly for me. RESET isn't connected on the backpack and is pulled up internally by the ESP8266 |
||||
lizby Guru ![]() Joined: 17/05/2016 Location: United StatesPosts: 3309 |
Funky power supply. Claimed to be 2.1A, but started getting something like "Hard low level error on SD". Replaced with newer 2.1A phone charger--now ESP-01 is connecting and H7 is successfully serving web page and no disk errors. Thanks for confirming that it should work. PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
lizby Guru ![]() Joined: 17/05/2016 Location: United StatesPosts: 3309 |
I have the backpack plugged into a 2.1A 5V phone charger and the power header on the Nucleo set to E5V. If I unplug the ST-Link USB cable from my laptop, with which I communicate with the console using TeraTerm, the H7 continues to operate, with the display updating as expected. If I plug the ST-Link cable back in, the H7 restarts. Is this expected behavior? PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
KeepIS![]() Guru ![]() Joined: 13/10/2014 Location: AustraliaPosts: 1828 |
From Memory yes, I don't use it for console for that and other reasons, I assume you read the powerup warning concerning powering the A7 board up before connecting an ST-Link cable that has active 5V power. If you like I can recheck the reset behaviour when I get back if no one gives you a 100% answer. Mike. NANO Inverter: Full download - Only Hex Ver 8.1Ks |
||||
lizby Guru ![]() Joined: 17/05/2016 Location: United StatesPosts: 3309 |
No, I did not note that, and have randomly been having one or the other connected first without a problem (so far). What was the concern? PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
KeepIS![]() Guru ![]() Joined: 13/10/2014 Location: AustraliaPosts: 1828 |
From the Mucleo User Manual: [code] Using VIN or E5V as an external power supply When powered by VIN or E5V, it is still possible to use the ST-LINK for programming or debugging only, but it is mandatory to power the board first using VIN or E5V, then to connect the USB cable to the PC. In this way the enumeration succeeds, thanks to the external power source. The following power-sequence procedure must be respected: 1. Connect jumper JP3 between pin 1 and pin 2 for E5V or between pin 5 and pin 6 for VIN 2. Check that JP1 is removed 3. Connect the external power source to VIN or E5V 4. Power on the external power supply 7 V< VIN < 12 V to VIN, or 5 V for E5V 5. Check that the green LED LD6 is turned ON 6. Connect the PC to the USB connector CN1 If this order is not respected, the board may be powered by USB (U5V) first, then by VIN or E5V as the following risks may be encountered: 1. If more than 300mA current is needed by the board, the PC may be damaged or the current supplied can be limited by the PC. As a consequence the board is not powered correctly. 2. 300mA is requested at enumeration (since JP1 must be OFF) so there is risk that the request is rejected and the enumeration does not succeed if the PC cannot provide such current. Consequently the board is not power supplied (LED LD6 remains OFF). [/code] NANO Inverter: Full download - Only Hex Ver 8.1Ks |
||||
lizby Guru ![]() Joined: 17/05/2016 Location: United StatesPosts: 3309 |
Thanks. Now I just have to remember that every time. PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6219 |
I have seen that behavior also. I did try disconnecting the reset line between the STlink and the CPU but that made updating the firmware a bit less simple so I went back to having the reset. It's a pity that it has a solder bridge instead of a jumper. Jim VK7JH MMedit |
||||
KeepIS![]() Guru ![]() Joined: 13/10/2014 Location: AustraliaPosts: 1828 |
I use the ST-Link USB port for firmware updates only. I have disconnected the two data links connecting that port to the console connection. I have a tiny CP-210x USB adaptor connected to the console port, no more strange behaviour. I hated the way the ST-Link port would drop the Console connection a short time after power up or after plugging the port into the PC, after that it was fine until the next reset / connection or power up. I have 3 H7 boards and all do exactly the same thing, Win 10 - 64 bit. Obviously having a CP-210x console removed all problems. NANO Inverter: Full download - Only Hex Ver 8.1Ks |
||||
lizby Guru ![]() Joined: 17/05/2016 Location: United StatesPosts: 3309 |
I have really not had problems with the ST-Link other than this one of resetting when plugging in while running. I haven't seen the console drop--basically TeraTerm is always there with the program output or ">" when I turn the laptop on after having had it off (so I guess the restarting has to do with physically plugging in the USB cable rather than power being freshly applied through the ST-Link). Also Win10-64. I did have one instance where I couldn't update the firmware by copying the bin file because it said there wasn't enough room. Power-cycling fixed that. Perhaps it had something to do with the USB enumeration which the text referred to. PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
KeepIS![]() Guru ![]() Joined: 13/10/2014 Location: AustraliaPosts: 1828 |
Yes it's tied into USB enumeration for the ST-LINK virtual drive. If you plug the ST-Link port into any of my WIN 10 PC's for a firmware upgrade, the Bin file cannot be copied to the ST-Drive nor the drive accessed for 10 to 20 seconds, this corresponds with the single dropout out of the Console port when using it for a console connection. The console connection is always ready immediately and providing you are not actually reading / writing to the console at the exact moment the Virtual drive is recognised (console drops out), you won't notice it, but under certain conditions this one momentary dropout creates a major headache for me, hence the use of a separate console connection. NANO Inverter: Full download - Only Hex Ver 8.1Ks |
||||
lizby Guru ![]() Joined: 17/05/2016 Location: United StatesPosts: 3309 |
I'm trying to implement a touch interrupt as shown in the Micromite Manual: SETPIN 15, INTL, MyInt DO : LOOP SUB MyInt PRINT TOUCH(X) TOUCH(Y) END SUB This is my option list: > option list OPTION AUTORUN ON OPTION BAUDRATE 230400 OPTION LCDPANEL SSD1963_4, LANDSCAPE OPTION TOUCH 56, 123 OPTION SDCARD 110 When I try to set up an interrupt on pin 123 upon touch, I get this. > SetPin 123, INTL, TouchInt Error: Pin 123 is reserved on startup How should I accomplish this? PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10066 |
The H7 implements the full GUI commands like the MM+ so just use the GUI INTERRUPT command (MM+ manual page 18). |
||||
![]() ![]() ![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |