STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

ADC Conversion

Posted on November 30, 2014 at 23:44I'm currently working on a university project that involves the analogue to digital converter on the STM32F0 discovery board. I've studied the manual and (as far as I can tell), initialized the registers correctly...

eric23 by Associate
  • 511 Views
  • 1 replies
  • 0 kudos

clear USART TC flag

Posted on November 27, 2014 at 21:20Hi I am using USART in Interrupt mode in Tx and Rx. Rx is working fine But in Tx I keep getting interrupt. I just need to get the interrupt once when the data is sent. but I keep getting the interrupt again and ag...

hossam by Associate II
  • 2478 Views
  • 5 replies
  • 0 kudos

dead time in stm32f4

Posted on November 29, 2014 at 17:24I'm generating a 50Hz complementary PWM wave in stm32f4 i'm stuck on dead-time insertion as i want to insert a dead time of 2.5ms, I don't know how to do that here is my code. This is what I thought it should be b...

Which USB mode for high speed transfer?

Posted on November 29, 2014 at 04:36Hi, I've been working with the STM32 for several years, but never done any USB related stuff. Just recently I've got working an example of USB-HS using the mass storage class.In my application I have a 16Gbyte SD ...

carl2399 by Associate III
  • 1160 Views
  • 4 replies
  • 0 kudos

Cortex M3 bit banding

Posted on November 23, 2014 at 13:35Dear All, I red the ARM reference manuals regarding  the ''bit banding'' to understand the operation.   I do not understand how it's overcome the RMW (Read modify write )behaviorlease adviceThanks in advance

Code works differently in debug mode than in real time

Posted on November 26, 2014 at 23:47 Hello. I've got problem regarding STM32L100 (on discovery board). I've switched from Arduino where I enjoy the simplicity of printing data to via UART and delay/millis functions. So, I decided to write my own...

How are you supposed to use HAL_UART_Receive in STM32Cube ?

Posted on November 25, 2014 at 18:52I am implementing a command parser that receives data on a serial port. My need is to read one byte at a time and when I recive a full command I will handle it. I look at the example in STM32Cube_FW_L0_V1.1.0\Proj...

johan2 by Associate II
  • 955 Views
  • 2 replies
  • 0 kudos

TIM_ICPOLARITY_BOTHEDGE Input capture in STM32L

Posted on November 28, 2014 at 19:24Hello Guys,I´m developing an application with STM32L and I would like to use TIM2 Input capture with TIM_ICPOLARITY_BOTHEDGE.When the interrupt occurs...Is there a way of knowing which Polarity has been detected?M...

gerardo by Associate II
  • 895 Views
  • 7 replies
  • 0 kudos

can t compile ARM_MATH.h

Posted on November 27, 2014 at 21:35Hi, I am using coide and arm gcc compiler to build my projects.When i try to compile arm_math.h ,i got those  errors a LOT of times.unknown type name '__INLINE expected '=', ',', ';', 'asm' or '__attribute__' befo...

d4ng3r09 by Associate II
  • 483 Views
  • 3 replies
  • 0 kudos

DAC waveform generation with DMA not working

Posted on November 27, 2014 at 15:45I am using the STM32L Discovery Board (STML152RB chip on board). The IDE is Emblocks. I was trying to generate a sawtooth wave signal using DAC and DMA but it does not work. I was able to make the same program wit...