Search found 1 match

by aryastark
Thu Feb 29, 2024 1:39 am
Forum: General discussion
Topic: hardware serial for GSM
Replies: 4
Views: 4687

Re: hardware serial for GSM

You haven't modified PeripheralPins.c, but its default configuration might interfere with your USART2 setup. I recommend manually defining pin mappings for USART2 in `variant_mydevice.h`. #define PA2_ALT_FUNC STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF1_USART2) #define PA3_ALT_FUNC STM_PIN_DAT...

Go to advanced search