STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Timer set up as Quadrature encoder - question

Posted on September 01, 2017 at 01:27Board: NucleoF722 with STM32F722I'm using TIM5 for quadrature encoder counter. I had seen some examples of using CubeMX to do this.Since I'm interested in quadrature counter, i.e counting 4X the resolution of the...

Brian D by Associate III
  • 1914 Views
  • 8 replies
  • 1 kudos

Resolved! STM32 HAL IAR Remaining in while(x);

Posted on September 08, 2017 at 17:03Hello friendsi set x=0; in timer Interruption x=0; per 1msin my program i using this Codex=1;while(x);in debug i see x is 0 but CPU Remaining in while(x)but if my while have any command work right and exit from w...

Pedram by Associate III
  • 466 Views
  • 2 replies
  • 0 kudos

STM32L4 - CAN HAL driver transmit error

Posted on September 06, 2017 at 10:39Hello,I am using STM32L476G evaluation board, I have generated CAN HAL driver using default parameters which is available in Cube MX. using this when i try to transmit a message i am getting transmit error(TERR0 ...

Anand A by Associate III
  • 531 Views
  • 4 replies
  • 0 kudos

What does (BitAction) do exactly?

Posted on September 08, 2017 at 17:23Hi I'm analyzing the code as the below and came across that code when I was googling.GPIO_WriteBit(GPIOG, GPIO_Pin_11,(BitAction)(1-GPIO_ReadOutputDataBit(GPIOG, GPIO_Pin_11)));But I can't understand what do 'Bit...

Powering Nucleo-F042K6 from external +5V

Posted on September 07, 2017 at 20:28Hi,I am trying to power a Nucleo-F042K6 from the external +5V only, i.e. without USB connected since my code is completed and fully functionnal. According to the user manual this shoud be possible and the only li...

Bluetooth module with high speed

Posted on September 06, 2017 at 09:11Hello,I'd like to create signal processing station based on STM F7 MCU and want to send input and processed data using bluetooth to other device. Could you recommend bluetooth module to do such thing? I know, the...

Resolved! Next or previous statement

Posted on September 08, 2017 at 11:38Simply I want to know when the hardfault occured(code statement)?I cant use debug so If I try to read program counter in hardfault function this returns me hardfault program counter.How can I know where Hardfault...

To vary duty cycle of pwm according to adc value

Posted on September 08, 2017 at 14:19Hello all, My question is how to read ADC  value ( AC and DC (voltage and current ) ) If I want to generate 20khz signal and vary duty cycle (0-100%) of PWM according to ADC value   how it can do and how to reloa...