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

bit shift >> and & operation

Hi i m coding function to write 8 bit data to a slave device, what does the (byte & 0x01) do in the for loop and what does the shift right statement ( byte = byte >> 1;) do ? void write8bit(uint8_t byte) { int i; for (i = 0; i<8; i++) { lowClk()...

Series resistors calculations for any interfaces

Can someone please help with how to calculate the series current limiting resistors to be connected from STM32H7 or any MCU to transceivers or any other interfaces? Is there a general thumb rule followed? Also how to calculate the wattage of resistor...

Jonah9Veh by Associate III
  • 534 Views
  • 1 replies
  • 0 kudos

UCPD and DBCC (dead battery) doubts

According to RM0456, p. 3459So in addition to CCx pins also PB5 and PB14 (DBCCx) cannot be used. The above does not make much sense to me. I imagine (only imagine) that internally DBCC support is implemented like shown below and for "dead battery" to...

TDJ_0-1719151138741.png TDJ_0-1719152739794.png
TDJ by Lead
  • 1181 Views
  • 5 replies
  • 0 kudos

Resolved! Long delay in setting TIM status register bits

Hi,I am trying to use CC1 and CC3 inputs on TIM2 of STM32H7A3 to do some time-critial tasks (very ns fast time-stamping). I need to identify which CCxIF tiggered. Using STMCUBEIDE the skeleton interupt code worked fine in debug mode without the lines...

HWhit.1 by Associate III
  • 795 Views
  • 2 replies
  • 1 kudos

Resolved! ST Nucleo F767ZI USB not detected by PC

I've compiled my first program and I can't find a way to upload to the board.When I plug the USB, the onboard LED is lit, but my PC does not detect anything - I don't hear any "plug" sound, and I can't find any device in Device Manager (recognized no...

out_0-1719742246496.png
out by Associate
  • 912 Views
  • 2 replies
  • 0 kudos

How to choose crystal speed?

I just was wondering how you guys proceed to choose an external crystal, specifically what speed it should have...The clock management with its tons of PLLs and dividers seems to be able to scale up almost any source to a desired frequency.for the L4...

b.a. by Associate III
  • 5945 Views
  • 16 replies
  • 2 kudos