Skip to content

Unable to Serial Print and Serial Plot on Serial1 with STM32duino core ( Solved ) #1862

Closed Answered by fpistm
TeguhTeknisi asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,
this is normal.
BluePill defined default Serial instance to be mapped on Serial1 (PA9/PA10):

// UART Definitions
#ifndef SERIAL_UART_INSTANCE
#define SERIAL_UART_INSTANCE 1
#endif
// Default pin used for generic 'Serial' instance
// Mandatory for Firmata
#ifndef PIN_SERIAL_RX
#define PIN_SERIAL_RX PA10
#endif
#ifndef PIN_SERIAL_TX
#define PIN_SERIAL_TX PA9
#endif

While Generic mapped Serial to Serial2 (PA3/PA2):

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@TeguhTeknisi
Comment options

@fpistm
Comment options

Answer selected by TeguhTeknisi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants