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

Stm32CubeMx and Java version

Posted on February 18, 2016 at 12:04Hello, trying to install ./SetupSTM32CubeMX-4.13.0.linux from recent stm32cubemx.zip on a Opensuse 13.2/64 Bit system, I get: > ./SetupSTM32CubeMX-4.13.0.linux Please install Java JRE 1.7.0_45 or a more recent ver...

UART can not DMA TO SRAM2 ?

Posted on January 03, 2018 at 14:35uint8_t *pSRAM = (uint8_t*)SRAM2_BASE; HAL_UART_Receive_DMA(&huart2,pSRAM ,25); // uses DMA1This code Does not put byte on SRAM2 when UART2 receives data. but below works uint8_t *pSRAM = (uint8_t*)SRAM1_BASE;HAL_U...

n.serina by Associate III
  • 604 Views
  • 4 replies
  • 0 kudos

How to fix Undefined reference to `arm_pid_init_q31', error?

Posted on December 30, 2017 at 13:21Hi, everyone!I am trying to implement PID controller from arm_math library. I use this code as kind of example for this https://stm32f4-discovery.net/2014/11/project-03-stm32f4xx-pid-controller/  I am getting erro...

karlis by Associate II
  • 2423 Views
  • 8 replies
  • 0 kudos

What's the role of CPOL in I2S?

Posted on September 27, 2017 at 22:10Clocks in the I2S diagrams in STM32F4xx DS show two settings of CPOL, although the difference appears to be minor:Also caption of several figures in I2S portion of the SPI/I2S chapter in RM0090 contain CPOL=0.How...

0690X00000608PXQAY.png

Internal flash vs. RAM execution speed

Posted on December 24, 2017 at 19:54The manuals mention 'ART accelerator allowing 0-wait state execution'.Do all STM32 models run off the internal flash at maximum speed? Would code copied to RAM run faster?-- pa#performance

Pavel A. by Super User
  • 1525 Views
  • 4 replies
  • 0 kudos

Resolved! Why RTC backup register write fails? (STM32F446)

Posted on January 02, 2018 at 21:01(this is re-post because of the 'forums issue')I have the following function to write a RTC backup register of 446ZCT:All RTC initialization code is generated by CubeMX.void put_backup_num(uint8_t num){  __HAL_RTC_...

Pavel A. by Super User
  • 994 Views
  • 3 replies
  • 0 kudos

Resolved! Arduino with Nucleo STM32F207ZG

Posted on December 02, 2017 at 09:38Hello guysI want check the STM32F207ZG can run with arduino. But the F207ZG is too big ,144 pins .We plan to use F207VG  100pins,  it is can run complaint with arduino ?Is there anything to change ?  #arduino-stm3...

0690X000006090AQAQ.png

Sinwave harmonics on STM32F4 discovery board

Posted on January 02, 2018 at 06:26Hello,I am generating digital sin wave sample using the below formula.sin wave[numberOfSample]=2047*(sin(2*3.14*n/numberOfSample)+1)I am generating sample for 200 hertz wave.numberOfSample=40 when sampling frequenc...