This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

energy micro and uart

I simulate code for energy micro microcontrollers.
Specifically i am modifying this example
\Keil\Arm\Boards\EnergyMicro\EFM32GG_DK3750\Blinky

I have managed to use prinf and CMSIS to send data to Debug (printf ) Viewer.
Now i want to send data via uart to UART #1 Viewer.
The problem is in this function:

int32_t SER_PutChar (int32_t ch) {

#ifdef __DBG_ITM
  ITM_SendChar(ch);
#else
  while (!(UART1->STATUS & USART_STATUS_TXBL));  //this is always true ,thus an infinitive loop
  UART1->TXDATA = (uint32_t)ch;
#endif
  return (ch);
}

Something that is also relevant is that in peripherals menu there is only a submenu with name : core peripherals.
Can i use keil to simulate uart with this board?if not, can i simulate the code and read the data of printf from hyperterminal?