Skip to content
Discussion options

You must be logged in to vote

The mpconfigboard.h that I am using has:

// UART config, 
// 12.5 Mbit/s for USART1 and USART6
// 6.25 Mbit/s for USART2
// Not defining the NAMEs reduces firmware size
// #define MICROPY_HW_UART1_NAME       "USART1"
#define MICROPY_HW_UART1_TX         (pin_A9) // Valid: PA9, PA15, PB6
#define MICROPY_HW_UART1_RX         (pin_A10) // Valid: PA10, PB3, PB7
// #define MICROPY_HW_UART2_NAME       "USART2"
#define MICROPY_HW_UART2_TX         (pin_A2) // Valid: PA2
#define MICROPY_HW_UART2_RX         (pin_A3) // Valid: PA3
// #define MICROPY_HW_UART6_NAME       "USART6"
#define MICROPY_HW_UART6_TX         (pin_A11) // Valid: PA11
#define MICROPY_HW_UART6_RX         (pin_A12) // Valid: PA12

#d…

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
6 replies
@ramprao
Comment options

@davefes
Comment options

Answer selected by ramprao
@ramprao
Comment options

@davefes
Comment options

@ramprao
Comment options

@ramprao
Comment options

Comment options

You must be logged in to vote
1 reply
@ramprao
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants