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

Fail to read from Ambient Light Sensor OPT3001

Hello,I'm still able to read i2c sensors (such as the TMP75 temperature sensor, the FT6336 touch sensor, and the TCA6424 multiplexer).However it seems I'm not able to read data from OPT3001 ambient light sensor. The code is the followingstatic void ...

AMerc.4 by Senior
  • 1034 Views
  • 1 replies
  • 0 kudos

Hi, I have a problem with the scatter file

In STM32F407, I get into trouble when I write the scatter file as follows. LR_IROM1 0x08000000 0x00020000 {  ; load region size_region ER_IROM1 0x08000000 0x00020000 { ; load address = execution address  *.o (RESET, +First)  *(InRoot$$Sections)  .ANY...

Hafsh.2 by Associate II
  • 1581 Views
  • 1 replies
  • 0 kudos

Sprintf STM32L4 not work I see just 0

God moorning I trying to view the output of sprintf of float value on the terminal I/O using nucleo stm32L4.I am using IAR. but i see just 0.                char pippo_alb[20];                  sprintf(pippo_alb,"%g", 27);        In ''project options...

bfran.1 by Associate II
  • 380 Views
  • 0 replies
  • 0 kudos

Executing the main while loop every 60us

Dear ST Hello,I am implementing an infinite state machine on stm32F409 board and I have an issue.I Have a periodic pwm of 60us triggered. I Want to move all the code to the main while loop from the Interrupt service routine.My objective is to run ea...

Tsemr.1 by Associate II
  • 1382 Views
  • 5 replies
  • 0 kudos

Error Sending data to Arduino through UART Communication

Hi, I would like to send a data from my STM32F401CC to Arduino. I have connected Tx to Rx and successfully upload the code to stm32 and Arduino Uno. I don't get the values right, only first four readings, then all the values become random. This is my...

0693W000007DOgyQAG.png 0693W000007DOgGQAW.png 0693W000007DOifQAG.png
Malre.1 by Associate
  • 1529 Views
  • 3 replies
  • 0 kudos

Resolved! All I want is a LED to blink...

Hello Gals/Guys. I recently purchased a NUCLEO-F439ZI after playing around with F0-DISCOVERY. As is tradition, I wanted to make a LED blink. I have failed miserably. I started in CubeMX to for the initial setup using all the defaults. Using the...

WCook.1 by Associate
  • 2399 Views
  • 4 replies
  • 0 kudos

STM32F4 LINBUS Communication Example

Hello I am working with the STM32f4 development board. I'll make one LIN(Local Interconnet Network) master and one LIN Slave instance but I don't have any example.Has anyone created a sample code?

Resolved! AN4207 Single ended zero reference mode

Hello.Reffering to AN4207(Doc ID 023945 Rev 1) Single ended zero reference mode (Page 9):This mode injects an input common mode of half scale to the ADC thus maintaining the dynamic range the same as in differential mode (-32767 to +32767). In this m...

glinsky by Associate
  • 862 Views
  • 2 replies
  • 0 kudos