STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

GPIO AF mode

Posted on June 06, 2011 at 09:35Hi, Lets say i want to connect analog signal to ADC channel12 (which is default pin is PORTC-2). Should i configure GPIOC-2 mode as: GPIO_Mode_AIN or GPIO_Mode_AF_OD/PP? I suppose GPIO_Mode_AIN, so when do i use GPIO_...

ybitton by Associate II
  • 2331 Views
  • 4 replies
  • 0 kudos

GPIO driving outside logic

Posted on June 08, 2011 at 02:31Hello,I am a student and I am starting my final project a little early, and I am glad I did because I am really confused!  I am making a guitar-playing robot that I am going to drive off of this handy-dandy microcontr...

pritz1 by Associate II
  • 1169 Views
  • 6 replies
  • 0 kudos

STM32F103 CAN and USB at the same time?

Posted on June 08, 2011 at 10:32We are thinking of using an STM32F103 1024 KB for our next project. But I need to know if CAN and USB can be used at the same time. Is it possible? Other options?

sima2 by Associate III
  • 351 Views
  • 1 replies
  • 0 kudos

H-Bridge circuit for Advanced Timer using a DC brush motor

Posted on June 08, 2011 at 16:23anybody knows a application note for a circuit with 4 N-channel mosfets or 2 P/N channel pairs. My DC brush motor is about 24V 6 Amp and I prefere to use the complementary outputs for Timer 1 / Timer 8 with programmab...

jveith by Associate II
  • 389 Views
  • 0 replies
  • 0 kudos

Read pressure sensor with I2C in master receiver mode

Posted on June 08, 2011 at 10:12Hi All, Need some advise here with I2C.  I'm trying to use I2C in master receiver mode to read two bytes of data out of a pressure sensor.  The required command sequence is pg 8 of attached data sheet. Here is the cod...

Corrupt varible within an Interrupt on STM32F103ZET6

Posted on June 06, 2011 at 08:02I have a variable that is not appears to not being retrieved consistantly from within an interrupt.  I have the following code for the Timer3, which is configure to interrupt on a count down timer. unsigned int errorC...

chrisr by Associate
  • 630 Views
  • 4 replies
  • 0 kudos

USB OTG HOST PA9 PIN

Posted on June 04, 2011 at 20:37Hi:I am trying to use USB OTG as a host. I have to enable PA9 pin which is the VBUS. I tried everything but could not get 5V only 3.3V. What I am missing?Code: GPIO_InitStructure.GPIO_Pin = HOST_POWERSW_VBUS;  GPIO_In...

iozho by Associate II
  • 593 Views
  • 2 replies
  • 0 kudos