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

Reading PSR

Posted on May 16, 2013 at 10:00HiDoes anybody have some inline GCC assembly to read the PSR? I am coming from an IAR background and in IAR I just used __get_PSR(), but this is not available in GCC - CrossStudio for Arm from Rowley. Any help in readi...

Gawie by Associate II
  • 584 Views
  • 1 replies
  • 0 kudos

stm32f103 usart

Posted on May 16, 2013 at 07:49How can i use printf() with usart, if i want to dump the values on serial window after reading the register and printing it's value. #rtfm #stm32l #usart #usart #discovery

aman by Associate II
  • 1008 Views
  • 5 replies
  • 0 kudos

Running SPI at 2MHz

Posted on May 15, 2013 at 23:21I've got an STM32F407 with main clock set to 168MHz and am communicating with a slave device over SPI2. The SPI on the slave can work up to 2MHz and I would like to get as close to this as I can. As far as I can tell, ...

iduffy by Associate II
  • 992 Views
  • 4 replies
  • 0 kudos

stm32f103 usart

Posted on May 16, 2013 at 07:52How can i use printf() with usart, if i want to dump the values on serial window after reading the register and printing it's value. #usart #discovery #stm32 #duplicate-thread

aman by Associate II
  • 341 Views
  • 1 replies
  • 0 kudos

SPI Rx data reading error

Posted on May 15, 2013 at 13:32The original post was too long to process during our migration. Please click on the attachment to read the original post.

andykim by Associate II
  • 769 Views
  • 2 replies
  • 0 kudos

stm32w108 rfc-kit rf4ce library

Posted on May 15, 2013 at 20:54hi i have bought a stm32w-rf control kit and i am trying to run stmouse using zid profile of rf4ce library . but there is some problems with pairing of mouse and dongle ( cold start dosn't work). is there anyone who fa...

CPAL Spin Waits in Interupt

Posted on May 11, 2013 at 16:20 I noticed the CPAL uses spin type waits including at least one in an interrupt (see code below). Thes e are u sed via the MACRO __CPAL_I2C_TIMEOUT. I have some concern with the one in the interrupt handl ...

I2C Clock Control - Fast Mode

Posted on April 17, 2013 at 12:12Section 2.6.8 of RM0038 states:''fPCLK1 must be a multiple of 10MHz to reach the 400kHz maximum I2C fast clock mode''how can I calculate the maximum I2C frequency I can achieve using a 4.2MHz fPCLK1this information d...