STM32 MCUs products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Selecting an alternate function

Posted on November 11, 2012 at 23:46Reading UM0033, page 138, figure 14. Sorry, can not exactly understand it. For example,  I want to connect C.8 to CAN1_TX and C.9 to CAN1_RX. I see AF9 (CAN1/CAN2, TIM12..14). and need to use GPIOC_AFRH(LSB) GPIO...

brberie by Associate II
  • 880 Views
  • 8 replies
  • 0 kudos

GPIO Sest-Change doesnt get reflected in BSRR

Posted on November 07, 2012 at 09:17Hello All, I am using STM32F2 series. I want to set PORT E pin 1, And here goes my code GPIO_InitTypeDef *GPIO_InitStruct;  RCC_AHB1PeriphClockCmd(RCC_AHB1Periph_GPIOE, ENABLE);  GPIO_InitStruct->GPIO_Pin = GPIO_P...

Cannot set EXTICR register in STM32F205

Posted on June 21, 2012 at 00:14 Following the example for the STM3240G I set up the KEY pushbutton (PG15) as an external interrupt: RCC_AHB1PeriphClockCmd(RCC_AHB1Periph_GPIOG, ENABLE); // enable port RCC_APB2PeriphClockCmd(RCC_APB2Peri...

GPIO remap order of operations

Posted on October 08, 2012 at 23:13The STM32 CMSIS examples I've seen show the remap function (e.g., GPIO_PinRemapConfig(...)) being called before the GPIO_Init() function. Must the MAPR and MAPR2 remap register fields be assigned prior to assigning...

Break / PWM - STM32F4

Posted on September 27, 2012 at 10:41Hi Folks, I like to disable PWM, on an external event - i want to use BKIN. i set the break mechanism up like this ------......    GPIO_PinAFConfig(GPIOB, GPIO_PinSource12, GPIO_AF_TIM1);     /* Automatic Output ...

finnb2 by Associate II
  • 264 Views
  • 3 replies
  • 0 kudos

generating EXTI0 in STM32F207VC

Posted on September 27, 2012 at 16:20Hello All, I am using STM32F207VC for my college project. I have my external probe temperature sensor connected to one of the internal channel of ADC. All i want to do is generate an EXTI0 interrupt when external...

alternate function mapping I2C

Posted on September 17, 2012 at 08:55I have stm32F4discovery board. DCMI_D5 is on PB6 and DCMI_D7 is on PB9.  and I want to use  SDA and SCL on PB6 and PB9. can I map DCMI_D5 and D7 to any other PIN? Or Can I map any peripheral to any PIN if not, th...

its by Associate II
  • 151 Views
  • 0 replies
  • 0 kudos

Simulating Alternate Function Input

Posted on October 26, 2011 at 20:27In the STM32 reference manual (Doc ID 13902 Rev 13) in section 9.1.4 it states:It is also possible to emulate the AFI input pin by software by programming the GPIO controller. In this case, the port should be confi...

the mcu stuck with external interrupt

Posted on August 30, 2012 at 13:02 Hello, sorry for my bad English. I'm developing an application for a STM32F103ZE that reads the value from three sensor via I2C bus, use the SysTick timer, use USART1 to communicate with the pc, generates four ...

mfcirill by Associate II
  • 627 Views
  • 6 replies
  • 0 kudos
Labels