l Serial port clock enable, GPIO clock enable:
RCC_APB2PeriphClockCmd();
l Serial reset:< /p> USART_DeInit(); This step is not necessary
l GPIO port mode setting:
GPIO_Ini
l Serial port clock enable, GPIO clock enable:
RCC_APB2PeriphClockCmd();
l Serial reset:< /p> USART_DeInit(); This step is not necessary
l GPIO port mode setting:
GPIO_Ini