Questions tagged [stm32h7]

For questions about programming the STM32 H7. The STM32 H7 is an ARM Cortex-M7F MCUs (sometimes with optional ARM Cortex-M4F coprocessors) from ST Microelectronics. (Please also add a language tag!)

48 questions
0
votes
0 answers

shifting on the written data to external flash using qspi

This is the code in the main that test the drive my stm32h750vb which is connected to the winbond25Q256jv external flash which is connected using qspi: /* USER CODE BEGIN 2 */ uint8_t buffer_test[MEMORY_SECTOR_SIZE]; uint32_t var =…
0
votes
1 answer

Data with stm32 dma SPI does not flush?

I'm using HAL with stm32 (H735) and I use SPI5 and SPI4. Both are set up for DMA transfers. The SPI5 works fine and returns data from peripheral to ram. The data out is static, so all good. SPI 4 has changing data out but its not changing. Seems it…
user2144480
  • 1,083
  • 7
  • 11
0
votes
1 answer

Mbed TLS Handshake retransmission issue - PC based client and STM32H7 based server

I am working on setting up a USB based secure communication between PC as client and STM32H753 microcontroller running a SSL Server. The network stack used is LwIP and Mbed TLS (TLS v1.2) is used for the secure communication layer. I adapted this…
Sreedhar
  • 33
  • 1
  • 4
0
votes
0 answers

Interfacing FMC with LCD DBI TYPE B - Intel 8080

I recently trying to develop on LCD screens, and I saw the TFT LCD interfacing with the high-density STM32F10xxx FSMC (AN2790 Application note) and I was going along the way with the Application note just changed everything for my ili9488 and H7…
xmeety
  • 21
  • 5
0
votes
0 answers

STM32H7 LTDC LCD MIPI DBI type B

I am using STM32H723ZG with LCD controller ILI9488 working with MIPI DBI type B interface (16 data lines). Interface pins on the LCD controller are: CS(Chip Select), DC(Data/Command), RD(Read signal), WR (Write signal). ST LTDC peripheral does not…
xmeety
  • 21
  • 5
0
votes
1 answer

TouchGFX for STM32H745XI

my project requires me to use STM32H745, and i also need to use the touch screen panel as there is a need for GUI. I searched for stm32h745 touchgfx, but there are no results for it, some even say that there is no touchgfx support for stm32h745, is…
0
votes
0 answers

CMake Project for the STM32H757I-Eval Board

I am trying Visual Studio's new feature of importing an STM32CubeIDE Project (making it a CMake Project) and have a problem: Visual Studio Import Feature only works with single-core boards, and unfortunately, I only have dual-core boards; Anyways...…
Kelv
  • 43
  • 1
  • 7
0
votes
0 answers

stm32: How to configurate SWV on software part without autogenerated code, HAL or LL

I am currently working on a library that abstracts the use of a stm board (specifically the NUCLEO-H723ZG) and we are on the profiling phase. I did get to make the profiling with the SWV after a big headache with the SB26 bridge that comes with the…
r1ckk
  • 11
  • 2
0
votes
2 answers

Time scheduler in C on STM32

I would like to design a time scheduler that would do some specific stuff at specific time using a timer/state machine. I would like to do something like this : As you can see on the picture above, I would need to do a request every 4 ms, this…
PierreP
  • 107
  • 7
0
votes
0 answers

Synchronized PWMs from two different Timers on ZephyrRTOS (STM32h7)

I'm working on a C Project for University where I need to measure a Laser with a TCD1304 CCD-Sensor. Therefore I am using Zephyr as OS on an STM32-H7(A3ZI-Q). Since the TCD1304 has to receive different PWM signals to drive it, I am trying to…
Omegon
  • 11
  • 2
0
votes
0 answers

Custom Device Tree Overlay Problem (Allwinner sun50i-h6, Orange Pi 3 LTS, Armbian)

I'm trying find the current syntax for a custom DT Overlay for Armbian OS on an Orange Pi 3 LTS. This overlay is meant to set a specific GPIO pin (PD15) as Output HIGH on bootup. I create the following code based on various references scattered…
SnowCrash
  • 1
  • 1
  • 1
0
votes
0 answers

e-MMC returns FR_OK at very first bring-up but mk_dir return FR_NO_FILESYSTEM

I am using stm32H753xx and Cube FatFs library. After our e-MMC has been soldered to our board, I want to bring-up. My startup codes is here: res = f_mount(&fat_fs, "0:", 0); if (res != FR_OK) { res = f_mkfs("", FM_ANY, 0, work,…
0
votes
0 answers

Ethernet with STM32 and ENC28J60

I'm trying to run SPI Ethernet module ENC28J60 with STM32H7. I wrote some functions for ENC28J60 library. Now, I want to get ping from PC or Router, but I can not. If anyone can help me to run it, please answer this question. After Ping, I want to…
Sajix
  • 1
  • 2
0
votes
1 answer

CAN Communication: Can Transmit but Not Receive

I am attempting to use my STM32H7B3I-EVAL evaluation board to send and receive CAN communication messages. I am communicating with a Vector CANalayzer (16.0, VN1630A). The CANalyzer is being used both to display messages received from the evaluation…
0
votes
1 answer

Pointer casting problem in C with Atollic TrueSTUDIO for STM32 IDE

Working on STM32H7 in Atollic TrueSTUDIO for STM32 IDE. Only C coding. Using FreeRTOS. Ui08 *pointerSomething; Ui64 localVariable; pointerSomething=&addressOfSomething; localVariable = *(Ui64*)(pointerSomething); These code is generally…
mryldz
  • 95
  • 2
  • 9