STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Nucleo-F446RE CAN bus RX interrupt

I cannot get the CAN bus CAN1_RX0 interrupt to fire. I have two other development boards (STM32429i-EVAL1 and STM32373C-eval) that both work correctly. I am using the same code in each setup thru the ST MX and IDE. The Eval boards have built in C...

FJB2069 by Senior
  • 1450 Views
  • 9 replies
  • 0 kudos

using SPI, do we need to control the pins?

I'm trying to set up the SPI5 for a test but see a lot of references online indicating the pins modes need to also be set. I figured the driver would do that. The init seem pretty straight forward. but the transmit does not. Do I need to set my pin m...

ulao by Associate III
  • 1110 Views
  • 8 replies
  • 0 kudos

Resolved! Uneven/increasing/decreasing elapsed time by stm32 timer

Hello everyone,I am working with the board STM32F446RE with SX1261 on mbed os.SITUATION: I want to measure the time difference between the send moment and the receive moment of a packet (transmitted by LoRa). Basically, when I send packet A (send tim...

0693W00000WJm7QQAT.png
HNguy.25 by Associate III
  • 794 Views
  • 3 replies
  • 0 kudos

Hardfault exception on Cortex M0

The hardfault exception often occurs during system operation.​The R14(LR) is 0xFFFFFFF9 in the exception handler(bit2 = 0).So the main stack(MSP) is used, and that value is 0x20003778 like the follwing picture.The following picture is the memory valu...

0693W00000WJqZ9QAL.png 0693W00000WJqbKQAT.png
Kim.Andy by Associate III
  • 1331 Views
  • 3 replies
  • 0 kudos

Reading Vcc at ADC

Hello I need to read the voltage where I connected ADC to the voltage divider. I have a code of ATmega where I need it to convert to HAL code. Can you please suggest me how?here's the code:void readVcc(byte ATR[]) {    ADCSRA |= _BV(ADSC); // Convert...

RWagh.2 by Associate II
  • 726 Views
  • 2 replies
  • 0 kudos