STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32F10x read-out protection from code

Posted on March 16, 2017 at 12:15I would like to implement read-out protection on STM32F103 high-density device. As far I can see there is anoption register FLASH_OBR with RDP bit for read-out enable/disable protection.Beside the main application, I...

CubeMX / Eclipse project - boot from flash

Posted on December 16, 2016 at 17:37Hello, I have a generic stm32f103C8T6 board and I am having troubles booting projects I create with STM32CubeMX from the internal flash.I create an empty ARM STM32F103 project in Eclipse, generate code in Cube and...

STM32f042 CAN Tx issue

Posted on March 20, 2017 at 14:05♯‌https://community.st.com/tags♯/?tags=stm32%20can‌https://community.st.com/tags♯/?tags=can%20init‌https://community.st.com/tags♯/?tags=can%20bus‌https://community.st.com/tags♯/?tags=can%20code‌Hi,      I a...

shyam by Associate
  • 434 Views
  • 1 replies
  • 0 kudos

STM32F103ZE Problem in use ADC Initial.

Posted on March 21, 2017 at 05:53Hello!STM32F103ZE Problem in use ADC Init.While (ADC_GetFlagStatus (ADC1, ADC_FLAG_ADONS) == RESET); An infinite loop occurs.Why does the 'ADC_FLAG_ADONS' Flag fail to initialize?What is the solution for infinite loo...

stm32f103 adc cause triangular wave on input

Posted on March 21, 2017 at 04:48Hi,I am doing a work with stm32f103 adc.The adc is triggered by tim8,and it works,but it cause a triangular wave on input.what's wrong ?The input pin is PA1,code is as below:/* ADC1 init function */void MX_ADC1_Init(...

Dan S by Associate
  • 290 Views
  • 0 replies
  • 0 kudos

stm32F0 discovery and printf on usart

Posted on December 13, 2016 at 06:46Hi all. I'm net to STM micros , so excuse the stupid question.I've set up USART1 on the stm32F0 discovery board, using the SPL , NOT cube.If I send data out the usart using the 'USART_SendData' function provided b...

Rob1 by Associate II
  • 1336 Views
  • 6 replies
  • 0 kudos

Resolved! Unwanted interrupts from unused tmr channels

Posted on March 20, 2017 at 21:44Thanks to Clive and JW my timer is starting tick but I am getting interrupts from channels 2-4 and I am only using channel 1. I use the following command sequence so I don't know why CC2-4 are set in the SR.  TIM_ITC...

John Hite by Associate III
  • 606 Views
  • 4 replies
  • 0 kudos

Resolved! No interrupt on tmr overflow

Posted on March 20, 2017 at 20:10STM32F437I am using TIM4 for input capture and an interrupt occurs when external events occur. However I stopped the external event and no interrupt occurs on overflow although the UIF bit is set in SR. Code snippet ...

John Hite by Associate III
  • 414 Views
  • 2 replies
  • 0 kudos

Resolved! Timer counting too fast in input capture

Posted on March 17, 2017 at 22:20Device: STM32F437My timer seems to count twice as fast as I think it should. My peripheral clock is running @ 42MHz and I have scaled it down to 1 KHz. I got things started and interrupts going thanks to help from JW...

John Hite by Associate III
  • 583 Views
  • 4 replies
  • 0 kudos