AnsweredAssumed Answered

Multiple funcs mapped to one Pin

Question asked by ziegler.charles.001 on Mar 29, 2015
Latest reply on Mar 29, 2015 by Clive One

     I am a student studying EE, and do not have any experience in circuit design besides the theory being taught in college and a six month hardware design Co-Op. Currently, I am developing a board to be used for a prospective autonomous machine. This is more for learning and a hobby than an actual good product but I hope to achieve both (I know I can use an Rpi or a uino, but I'd rather not). I've been working on this board for two weeks everyday, and I am actually quite addicted. Learning so much about topics not covered in University. 

       Anyways, my question lies within the pinout of the STM32. There are multiple pins that are defaulted to more than one function. For example pin PA1 for my specific stm32 is defaulted to all of the following: USART2_RTS/ ADC12_IN1/TIM5_CH2 /TIM2_CH2/ETH_MII_RX_CLK/ETH_RMII_REF_CLK

      Now how do I work with that? Once I get coding, will I implement each function at a different clock cycle or something of the sort w/i the code? Also, how do I route theme on my board if it has more than one function? Do I use a demux? Any clarification on this matter will be greatly appreciated. 

      Thank you.