STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

DWT_CYCCNT does not seems to count cycle

I'm using follow code:volatile unsigned int *DWT_CYCCNT = (volatile unsigned int *)0xE0001004; //address of the register volatile unsigned int *DWT_CONTROL = (volatile unsigned int *)0xE0001000; //address of the register volatile unsigned int *DWT_L...

leonardo by Associate III
  • 1606 Views
  • 4 replies
  • 0 kudos

Run Debugger in one step

hi I want to enter the debugger mode and then run the whole code by clicking 'Run' button or F5. but every time that I click 'Run' it just goes one step forward and it even enters inner functions...what should I do?

Ala by Senior
  • 455 Views
  • 2 replies
  • 0 kudos

Resolved! LO31K6 : How to get Temperature data?

Hello, I am using L031K6 for low battery sensor projectI made L031K6 to sense 3~4 channel of AC measure, so that currently using ADC-DMA for measure, and succesfully get 3 channel of AC databut additionaly, I want to make L031K6 sense temperature of ...

DU2 by Associate II
  • 523 Views
  • 2 replies
  • 0 kudos

Change SPI CRC init value stm32F7

I wonder How Ican change the init value of the spi crc. the only thing I can see that I´m able to configure is SPI_HandleTypeDef *pSpiHandle; pSpiHandle->Init.CRCCalculation = SPI_CRCCALCULATION_ENABLE; pSpiHandle->Init.CRCLength = SPI_C...

Comparator interrupt stm32l4

Hello I would like to use the internal comparator output as an interrupter on falling or rising edge, the problem is I don't know where to start, the reference manual says that I need to configure the EXTI register but how do I do that, and with whic...

Vertinhol by Associate III
  • 1331 Views
  • 2 replies
  • 0 kudos

Resolved! Clock settings in STM32l152 (startup/stability issues)

Hello. I'm playing with my stm32l152 discovery board. I've got lcd, buttons, leds working. I wanted to change my clock speed to 16Mhz HSI (default 2Mhz MSI) and problem started.To write my code I use RM - and I'm missing something. How this configur...

fifi_22 by Associate III
  • 2470 Views
  • 11 replies
  • 0 kudos