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

timer 3 setting

Posted on April 10, 2018 at 20:15Hello,I am using STM32F429ZI, I would like to use timer 3 to generate a timer with high resolution something like 4000Hz  My Timer 3 setting is following:static void MX_TIM3_Init(void){TIM_ClockConfigTypeDef sClockSo...

yang hong by Associate III
  • 1211 Views
  • 9 replies
  • 0 kudos

stm32 usb cdc Device Descriptor Request Failed

Posted on June 16, 2016 at 19:19hi,I am tring to use usb virtual port to transmit data to pc.MCU:STM32F373 100pinscubemx: usb device fs checkedusb:communication device classPC: windows 10heap size: 0x200stack size :0x400when i plug usb cable to pc,i...

txmsszd by Associate II
  • 9163 Views
  • 44 replies
  • 0 kudos

Unable to read Who_Am_I of LIS3DSH using I2C

Posted on April 13, 2018 at 13:36Hello Guys,I am facing a little problem here in reading the who_am_I register of the LIS3DSH which is on the development board. Here are the details.The board I'm using is STM32F40G (ver MB997D). I am using CubeMX to...

STM32L053 Internal Crystal

Posted on April 13, 2018 at 18:26Hi, i want to use internal crystal. I'did configrations via cube mx however it did not worked. I want to test it with blink led. As you see my code;I don't know where i am wrong ? Thanks a lot /**********************...

STM32F103C8T6 ADC Clock

Posted on April 12, 2018 at 11:51Hi Friends,I am new in community. I have stm32f103c8t6 board. I am using stm cubemx to generate code for ADC reading measurement.  as I saw in cumemx diagram I found that sysclk is set for 8MHZ.I want to know how I c...

Accessing functions from within interrupts

Posted on April 13, 2018 at 02:37I would like to access a global object in my main.cpp from stm32l0xx_it.c.In particular, I've created a LED object with a member function called update(). I'd like to be able to run the update function from within a ...

Additional 300uA drain after flashing

Posted on April 13, 2018 at 15:13Hi everyone,I'm hoping someone can shine some light on some behavior and perhaps offer a solution.After flashing our board which has a STM32L443VC I'm seeing approximately 300uA more of a load from the MCU than I exp...

STM32F407 DMA2 Repeated Disable and Enable Fails

Posted on April 12, 2018 at 03:22 Hi, I'm using STM32F407 in my project and I use DMA2 on USART1 RX/TX. Since my TX packet length changes almost every time, I'd have to disable DMA, reconfigure it to the correct data length, and enable DMA. I...

Josh Yu by Associate II
  • 2683 Views
  • 11 replies
  • 0 kudos

Saving data from Adc to SD card

Posted on April 12, 2018 at 17:13Hello everyone,i've been trying to save adc values into a .txt file or .CSVthey both work fine, but i can't finda way to keep saving the current data directly 'f_write(&MyFile, msg, sizeof(msg), (void *)&byteswritten...

Resolved! Issues when setting SWJ_CFG in AFIO->MAPR to SWJ_NOJTAG

Posted on October 07, 2016 at 08:39I'm using the STM32F103. Setting the controller to __HAL_AFIO_REMAP_SWJ_NOJTAG on startup. Which means I want to use only the SW pins and the port pins PA15, PB3 and PB4 should be normal IO pins. I observed the fol...

kraske by Associate
  • 1845 Views
  • 5 replies
  • 0 kudos