Questions tagged [stm32f7]

32 questions
7
votes
2 answers

STM32F7 gets stuck in external interrupt callback function

i am working on a project to connect a camera to an STM32F7 Discovery board using the DCMI interface. The camera part works fine, but i have a strange problem with external interrupts from the onboard push button. I enable external interrupts for…
4
votes
2 answers

Uart / Usart: use Rx-pin only

I am designing a board with an stm32f722 MCU (64 pin version) and I can't afford to waste / not use any GPIO. My question is following: Is there an option to only use the Rx-pin of a uart / usart so that the Tx-pin can be used for something else (in…
Lukas
  • 107
  • 6
4
votes
2 answers

Interfacing a STM32 MCU with an external ADC (and reading the data via SPI)

I want to use a STM32 microcontroller to read data from a multi-channel ADC. The microcontroller that I intend to use will most likely be something from the F7 series (such as STM32F746ZGT), whereas the ADC that I currently have my eye on is…
K.R.
  • 591
  • 7
  • 15
3
votes
1 answer

Digital to Analog Conversion with STM32F7 Discovery Board

I am a mechanical engineer interested in Data Acquisition and Closed-Loop Control projects. As a beginner who wants to work with STM32 microcontrollers, I have a specific question about the STM32F7 DISCOVERY board: How can I perform Digital to…
Mohsen Fallah
  • 63
  • 1
  • 7
3
votes
0 answers

STM32f7 ADC DMA transfer not populating the buffer

I'm trying to compute the FFT of a 100 kHz signal from the STM32f746G discovery board using the HAL and CMSIS DSP libraries and I've run into a few issues. My first issue was trying to trigger the ADC conversion using a Timer2 Trigger Update but it…
3
votes
1 answer

Can I start a new uart1 interrupt function inside a previous uart1 interrupt complete callback function?

I am using STM32F46ZG NUCLEO discovery board. My code is like: int main(){ HAL_UART_Transmit_IT(&huart1, buff, 5); while(1) { do something; } } void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart){ HAL_UART_Transmit_IT(&huart1,…
linkopen
  • 31
  • 1
2
votes
1 answer

Why is DMA running continuously?

I'm facing a strange behaviour of DMA which I cannot explain myself. I just want DMA to send a data block (i.e. one 32bit word) to the SAI peripherie and quit then and give a "transfer complete callback". The normal/blocking mode sends data block…
Caniko
  • 295
  • 2
  • 11
2
votes
1 answer

STM32F746 Clock not reporting as expected

I'm using an STM32F746VGT6 microcontroller configured from STM32CubeMX for all the clocks and I'm getting roughly 220% higher clock rates when compiled. For instance I have an HSE crystal at 11.2896MHz with the following main PLL settings: PLLM…
Jeremy
  • 23
  • 3
2
votes
1 answer

Can this SDRAM be used with STM32F7?

I have STM32F7 (which has a Flexible Memory Controller capable of interfacing SDRAMs) and I want someone to check if it is able to interface this SDRAM - IS42S32800D (http://www.farnell.com/datasheets/1275293.pdf). I have checked and it seems ok,…
zupazt3
  • 1,567
  • 4
  • 17
  • 27
1
vote
0 answers

USART6 STM32F746NG isn't working

I'm having trouble configuring the USART6 in my STM32F746NG. I am setting up the USART6 to enable UART comunication, using the code below to initiate it and also create an echo function. __USART6_CLK_ENABLE(); GPIO_InitTypeDef…
1
vote
2 answers

STM32F7 device freeze: cannot access registers

I am encountering random freezes with the STM32F7. This issue is difficult to debug as any debug session launched in Eclipse crashes when trying to halt the core, which makes it impossible to see where in the code the freeze occured. Similarly, I am…
nick
  • 13
  • 5
1
vote
1 answer

STM32F7: activate USART Receiver Timeout Interrupt (USART_RTOR.RTOF)

I want the STM32F769NI to generate an interrupt when a pause after a received byte on USART6 was detected. I cofigured USART6 with 9600 baud in asynchronous mode and enabled the receiver interrupt RXNE and the global USART6 Interrupt. So far this is…
Pascal Rosin
  • 203
  • 4
  • 8
1
vote
2 answers

STM32 USB device - device descriptor request failed

I'm using STM32F7-45 on my own board, and I am trying to program USB device (I tried virtual COM and HID, separately). But after plugging into PC it is detected (after a while) with "Unknown device (device descriptor request failed)"…
zupazt3
  • 1,567
  • 4
  • 17
  • 27
1
vote
3 answers

stm32 gpio to dma

I have a few questions regarding using the DMA of the stm32f7 board (nucleo F722ZE ). 1) So to get started I'll explain what I'm doing: I need to read data from 2 GPIO pins (ADC) and will have a clock signal fed to the stm32f7 from the device…
Engjunkie
  • 53
  • 1
  • 5
1
vote
1 answer

RFID RC522 with STM32F769I-Discovery

I'm trying to communicate with rc522 chip with the use of this code, I only modified the SPI calls to use the HAL libraries and initialized SPI with HAL libraries. Kept all other functions intact. Now the image below is what I captured with my logic…
xtrinch
  • 127
  • 1
  • 7
1
2 3