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

pointer

Posted on September 22, 2015 at 18:24Hello. i have this structure definition:(ex)structure example_str{ int a[10]; int b[10];}and a function with this definition:void test(example_str *temp); i want to change the value that pointer temp is locating ...

I don't know how to use HAL_UART_Receive();

Posted on September 22, 2015 at 11:25 I am trying to receive string from my PC then put it on the LCD. This my code : char recieve[10]; while(__HAL_UART_GET_FLAG(&huart2,UART_FLAG_RXNE)==0){}; for(i=0;i<=9;i++) { HAL_UART_Receive(&huart2,(u...

Understanding low level finer points of CubeMX

Posted on September 21, 2015 at 20:09I am trying to set up my first project with CubeMX and would appreciate help understanding some of the finer details...1.ADC configuration:    A. Under adc NVIC tab, there in an option to enable nvic global inter...

estersci2 by Associate III
  • 2108 Views
  • 10 replies
  • 0 kudos

STM32F4 Discovery. CAN communication FAIL. HAL_TIMEOUT.

Posted on September 22, 2015 at 15:09Hello everyone, this is my first post in the forum, but I read a great deal of threads about CAN communication between PC and STM32 Discovery using HAL Libraries.The problem, basically, is that I'm unable to send...

stm32f439 is resetting when configuring FMC

Posted on September 22, 2015 at 20:35Hello,I'm having a strange problem that's been holding me up for the past few days.  I've been trying to configure the FMC to work with a Cypress CY7C1051DV33 SRAM on a PCB that I developed.  In fact, the configu...

ralphj by Associate II
  • 662 Views
  • 2 replies
  • 0 kudos

STM32L051 enter Stop mode on return from ISR

Posted on September 19, 2015 at 11:29Hello! I have a simple program. It has software IRQ to enter Stop mode on return from ISR, and RTC IRQ to wake up and leave Stop mode. RTC IRQ toggles the red LED. On return from Stop mode (return from SW IRQ) th...

korhal by Associate II
  • 632 Views
  • 2 replies
  • 0 kudos

STM32F4DISCOVERY and STM32 PMSM FOC SDK

Posted on September 22, 2015 at 20:52Hi everyone.I am developing a robotic application and I need some advice.I need to drive two BLDC motors (these drive the wheels of the robot) and also to interface with a parallel camera.I understand that with S...

STM32Cube bug with FatFS

Posted on September 18, 2015 at 19:24Hi ST, When configuring  the FatFS in Platform settings, I can configure the pin for card detect function. When using this config, following code in generated: uint8_t BSP_SD_IsDetected(void) {   __IO uint8_t sta...

Osto by Senior
  • 561 Views
  • 2 replies
  • 0 kudos

UART reception DMA issue

Posted on September 22, 2015 at 17:47Hi, Im using an STM32F071RB. I configured USART to receive data in DMA. I often get reception stuck but I cant understand why. I had a look at the registers: USART1->CR3 looses DMAR bit (0x00001040 becomes 0x00...