-1
\$\begingroup\$

The following two statements are true about AVR microcontroller's USART Receiver and Transmitter but im curious about that are these also work on stm32F4 ?

When the Transmitter is enabled, the normal port operation of the Tx pin is overridden by the USART and given the function as the Transmitter’s serial output.

When the Receiver is enabled, the normal port operation of the Rx pin is overridden by the USART and given the function as the Receiver's serial input.

\$\endgroup\$
1
  • \$\begingroup\$ Most STM32 processors use something called the Alternate Function configuration to accomplish this; details of how this work vary from chip to chip, for example it is very different between the F1's and many of the others. \$\endgroup\$ Nov 9, 2018 at 19:28

1 Answer 1

0
\$\begingroup\$

No. They are completely different.

\$\endgroup\$
8
  • \$\begingroup\$ Could you explain more? I am asking this question because i feel i couldn't find my answer from this discussion : electronics.stackexchange.com/questions/405877/… \$\endgroup\$ Nov 9, 2018 at 19:29
  • 2
    \$\begingroup\$ Then ask for clarification on your existing question. Do not re-post. \$\endgroup\$ Nov 9, 2018 at 19:31
  • \$\begingroup\$ The reference manual of the specific STM32F4 device has the information. For code examples how to do it, generate a example project with CubeMX. \$\endgroup\$
    – Justme
    Nov 9, 2018 at 19:33
  • \$\begingroup\$ @Justme which page? give more information please. \$\endgroup\$ Nov 9, 2018 at 19:36
  • \$\begingroup\$ @Amin I cannot possibly know which STM32F4 model you have. \$\endgroup\$
    – Justme
    Nov 9, 2018 at 19:42

Not the answer you're looking for? Browse other questions tagged or ask your own question.