STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 1190 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
  • 864 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
  • 1454 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
  • 780 Views
  • 2 replies
  • 0 kudos

OLED pixels (H & W) Issue

Hi,I am using STM32F303CBT6 MCU and WEO004864AWPP3N00000 OLED.Problem :Imagine, the black color shape is an actual OLED display, If I am showing something in the display. It is shown in the red color shapes. Once I scroll the display, only I can see ...

0693W00000WJrhJQAT.png