AnsweredAssumed Answered

STM32F205RG USART1 transfering not same string.

Question asked by mark.tony on Oct 4, 2016
Latest reply on Oct 4, 2016 by Clive One
Hello, everyone.
AccessPort app was used for test.
AccessPort prints "0x00, 0x55, 0x55, 0x55, 0x55, 0x55, 0x79, 0x3D"
Test code is as follows;
int main(void)
{
    char szTemp[8] = {0x55, 0x55, 0x55, 0x55, 0x55, 0x0D, 0x0A, 0};
    uart_init();
    led_init();
    //Uart_SendString("hello STM32F205..!!!\r\n\0");
    Uart_SendString(szTemp);
 
  /* Infinite loop */
  while (1)
  {
      Delay_ms(500);
        GPIOC->BSRRH |= (1 << 2);
        Delay_ms(500);
        GPIOC->BSRRL |= (1 << 2);        
  }
}

Outcomes