STM32 MCUs Products

Ask questions, find answers, and share insights on STM32 products and their technical features.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

I am trying to read UART and to hold on rx_data array. when I send "AT" to rf module it returns "OK" , but on my code I cannot receive anything from UART. and help appreciated

uint8_t tx_data[2] = "AT"; uint8_t rx_data[10]; HAL_Delay(1000); while (1) {  HAL_UART_Transmit (&huart1, tx_data, sizeof(rx_data) , 250);  HAL_Delay(500);  HAL_UART_Receive(&huart1,rx_data, 20,1000);  HAL_GPIO_TogglePin (GPIOA, LED_Pin);  HAL_Delay(...

TPiri.1 by Associate II
  • 4363 Views
  • 37 replies
  • 0 kudos

Resolved! Multi-Channel I2S Hardware Design on an STM32F413/423

The microcontroller will be doing little else besides some very light processing on the audio data. The I2S source has a single MCK, SCK, WS, and 4 stereo outputs (3 of which will be used), and the I2S source can ONLY function as a master device, le...

EDeYo.1 by Associate II
  • 5023 Views
  • 11 replies
  • 1 kudos

How to access and store the CSV file in stm32?

Hello,I am working on Nucleo-H745ZIQ board. I have to interface the DAC to it.And i have to get the data in CSV file .And after that I have to read the file and dump through SPI and generate the waveform.In my board I dont have the SD card .Then usin...

MDeva.1 by Associate II
  • 2161 Views
  • 4 replies
  • 0 kudos

I want to test a module, which is based on the nrf52840 development board and connected to the PC through a micro USB 2.0 cable, which runs on the AC6 tools system workbench platform. But using openocd debug, I don't know how to configure.

I don't know how to configure the config options of debug,using openocd debug. And I can't find nrf52.cfg file in system workbench, it seems that a interface file is also needed.So,how I should configure this ?In other words,"-f" and "-s" how to choo...

0693W00000Hpp44QAB.png
Xg.1 by Associate
  • 392 Views
  • 0 replies
  • 0 kudos

Does stm32g4 up-down counting mode support external events?

Hello, if configure stm32g4 in up-down counting mode, does it support external events,such as external pin event or analog comparator events?for example ,rising edge of analog comparator event set TA1 output in up count directionand the same event re...

0693W00000HpnOzQAJ.png
270284440 by Associate III
  • 413 Views
  • 0 replies
  • 0 kudos

Resolved! whats wrong in below code

uint16_t val[200]; unsigned char data[20]; uint32_t AVG_val[10]; uint16_t val_2=0; unsigned char count=0; double rms=0.0; uint32_t square = 0; double mean = 0; double root=0.0; int arr[]={15,78,59,85,56}; int n=100; int main(void) { HAL_Init(); S...

ykn by Senior
  • 623 Views
  • 4 replies
  • 0 kudos