2007-11-05 04:45 AM
2007-11-05 12:18 AM
Hello all,
I’m newbie in ARM’s world and I need you help please :) I trying to run the UART on STR711 dev tool but it doesn’t work. None character is received on PC. Please, have a look at this simple code: include ''71x_lib.h'' int main() { debug(); GPIO_Config(GPIO0,0x0400,GPIO_IN_TRI_CMOS); GPIO_Config(GPIO0,0x0800,GPIO_AF_PP); UART_Config(UART1,9600,UART_NO_PARITY,UART_1_StopBits,UARTM_8D); UART_FifoConfig (UART1, DISABLE); UART_LoopBackConfig(UART1 , DISABLE); UART_RxConfig(UART1 ,ENABLE); UART_OnOffConfig(UART1, ENABLE); while (1) { UART_ByteSend(UART1,''H''); } } The compiler doesn’t report to me any error but I dont receive any character on PC. What is wrong? Do I need to add something? I appreciate your help very much. Alfa.2007-11-05 04:45 AM
Solved, thanks !