STM32 MCUs Embedded software

Ask questions and find answers on STM32Cube packages, including HAL, LL and middleware, and expansion software.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

HRTIMER System Fault

How to enable HRTIMER system faults? I have successfully used faults coming from other peripherals to turn off HRTIMER outputs (e.g. internal comparators), but can't get system hard faults to produce the same result. I have enabled all faults in the ...

avieira95 by Associate II
  • 1460 Views
  • 5 replies
  • 0 kudos

Resolved! Can't enable port B & D clocks

I tried the following code in a STM32F107:RCC->AHBENR = RCC->AHBENR | RCC_APB2ENR_IOPBEN_Msk| RCC_APB2ENR_IOPDEN_Msk;and RCC->AHBENR = RCC->AHBENR | 0x00000008 | 0x00000020;When I display RCC->AHBENR, it always shows 0001C014.I expected to see 0x0001...

vneff by Associate III
  • 1569 Views
  • 5 replies
  • 2 kudos

Resolved! SPI Slave Receive Interrupt

I am trying to make a very simple SPI ISR to read the RXDR and store the value to a buffer. However, I cannot get the ISR to even trigger without using HAL_SPI_Receive_IT(). I do not want to use the callbacks or the default IRQ generated by cube. I c...

How to use HAL_GetTick ?

Dear Members,How can I use HAL_GetTick for time stamp ?Is this right ?or I need something else ?Thankscase PULSE_TRACE_UP: if(sensor_value > prev_sensor_value) { printf("PULSE TRACE_UP\r\n"); currentBeat = HAL_GetTick(); ...