Well, using two SPI ports solved the problem, display on SPI_1 and tuch on SPI_4. Great thanks for help.
#include <Wire.h>
#include "Adafruit_GFX.h"
#include "Adafruit_ILI9341.h"
#include <XPT2046_Touchscreen.h>
#include <SPI.h>
...
// touch SPI_4
#define TOUCH_CLK PE2
#define TOUCH_MOSI PE6 ...
Search found 22 matches
- Mon Oct 23, 2023 7:31 am
- Forum: General discussion
- Topic: STM32H750 & XPT2046 Touchscreen in Arduino IDE
- Replies: 6
- Views: 15059
- Fri Oct 20, 2023 11:27 am
- Forum: General discussion
- Topic: STM32H750 & XPT2046 Touchscreen in Arduino IDE
- Replies: 6
- Views: 15059
Re: STM32H750 & XPT2046 Touchscreen in Arduino IDE
well github and google is your friend
https://github.com/PaulStoffregen/XPT2046_Touchscreen
...
you may need to rework the codes if they didn't compile correctly with the SPI library or that you wanted to use a different SPI port.
Well, that PaulStoffregen`s library I was using `till now :roll ...
- Fri Oct 20, 2023 9:56 am
- Forum: General discussion
- Topic: STM32H750 & XPT2046 Touchscreen in Arduino IDE
- Replies: 6
- Views: 15059
Re: STM32H750 & XPT2046 Touchscreen in Arduino IDE
i've got a fork of Adafruit ILI9341 library
...
XPT2046 is a different thing I've not meddled with it myself, hence, I'd leave that. But that that is separate from the LCD and probably needs its own library to deal with it.
Thanks for replay. As I mentioned above, ILI9341 library is working OK ...
- Fri Oct 20, 2023 8:33 am
- Forum: General discussion
- Topic: STM32H750 & XPT2046 Touchscreen in Arduino IDE
- Replies: 6
- Views: 15059
STM32H750 & XPT2046 Touchscreen in Arduino IDE
I was using Teensy 3.2 with 2.8" 240x320 TFT Touchscreen in this configuration
https://www.pjrc.com/store/display_ili9341_touch.html
and it was working OK.
Now I`m going to use STM32H750/743 processor with this display, but I`m not able to make touch work.
Display is working OK, but I`m receiving on ...
https://www.pjrc.com/store/display_ili9341_touch.html
and it was working OK.
Now I`m going to use STM32H750/743 processor with this display, but I`m not able to make touch work.
Display is working OK, but I`m receiving on ...
- Mon Jun 12, 2023 10:20 am
- Forum: General discussion
- Topic: STM32H750 and Arduino IDE
- Replies: 10
- Views: 21253
Re: STM32H750 and Arduino IDE
Well... in variant_WeActMiniH7xx.h I can see part:
/*
* Power saving mode, mcu runs significantly cooler
* Sysclock 240 Mhz, bus clocks 120 Mhz
*/
void SysClkHalfSpeed();
/*
* Full speed - sysclk from PLL1 P - 480 Mhz
* Sysclock 480 Mhz, bus clocks 240 Mhz
*/
void SysClkFullSpeed();
and in ...
/*
* Power saving mode, mcu runs significantly cooler
* Sysclock 240 Mhz, bus clocks 120 Mhz
*/
void SysClkHalfSpeed();
/*
* Full speed - sysclk from PLL1 P - 480 Mhz
* Sysclock 480 Mhz, bus clocks 240 Mhz
*/
void SysClkFullSpeed();
and in ...
- Mon Jun 12, 2023 5:51 am
- Forum: General discussion
- Topic: STM32H750 and Arduino IDE
- Replies: 10
- Views: 21253
Re: STM32H750 and Arduino IDE
Hi, guys after a longer time. I made user board using 25MHz crystal & 32kHz clock crystal - brief derivate from WeAct STM32H750, so I`m using WeAct STM32H750 board in Arduino IDE for compiling. It takes approx 200mA with my Arduino sketch, so I`d like to test it at 240MHz to decrease the consumption ...
- Wed Apr 12, 2023 5:43 pm
- Forum: General discussion
- Topic: STM32H750 and Arduino IDE
- Replies: 10
- Views: 21253
Re: STM32H750 and Arduino IDE
Finally I replaced original QSPI (U7) with MX25R6435FM2IH0 on WeAct board ( SPI / U8 is still original ).
Examples from
https://github.com/stm32duino/MX25R6435F
library are working. I was looking how to store sketch to MX25R6435FM2IH0, but find nothing.
When programming memoryMappedMode.ino in DFU ...
Examples from
https://github.com/stm32duino/MX25R6435F
library are working. I was looking how to store sketch to MX25R6435FM2IH0, but find nothing.
When programming memoryMappedMode.ino in DFU ...
- Mon Apr 03, 2023 6:20 am
- Forum: General discussion
- Topic: STM32H750 and Arduino IDE
- Replies: 10
- Views: 21253
Re: STM32H750 and Arduino IDE
OK, so I`m going to look for my memory driver.
However the basic question: am I able to use external QSPI memory to store/ run Arduino sketch?
However the basic question: am I able to use external QSPI memory to store/ run Arduino sketch?
- Mon Apr 03, 2023 5:50 am
- Forum: General discussion
- Topic: STM32H750 and Arduino IDE
- Replies: 10
- Views: 21253
Re: STM32H750 and Arduino IDE
Thanks for tips.
I finally made SPI display to work ( at this moment just for few second, after the white screen come - so I will continue how to fix this ).
However I didn`t find, how to use QSPI with my WeAct board. Nor the basic demo. ino from Your link is working. If I`m looking right to WeAct ...
I finally made SPI display to work ( at this moment just for few second, after the white screen come - so I will continue how to fix this ).
However I didn`t find, how to use QSPI with my WeAct board. Nor the basic demo. ino from Your link is working. If I`m looking right to WeAct ...
- Wed Mar 29, 2023 11:53 am
- Forum: General discussion
- Topic: STM32H750 and Arduino IDE
- Replies: 10
- Views: 21253
STM32H750 and Arduino IDE
Hi, guys. I`m playing with WeAct STM32H750 board testing this processor for my application. Everything is fine: three USARTS, two I2C, 16-bit ADC... just two problems:
1, I`m not able to run Arduino example with SPI ILI9341 display, nor for SPI1 configuration MOSI PB5/MISO PB4/SCLK PB3/CS PA15, nor ...
1, I`m not able to run Arduino example with SPI ILI9341 display, nor for SPI1 configuration MOSI PB5/MISO PB4/SCLK PB3/CS PA15, nor ...