Content originally posted in LPCWare by [email protected] on Thu Jan 09 09:56:13 MST 2014 Sorry if my question is stupid, I have a problem with lpc11C24 not possible to send the UART frame even with the demo code pin P0_6 P0_7 and I do not understand why?
Content originally posted in LPCWare by R2D2 on Thu Jan 09 13:37:04 MST 2014 Quote: [email protected] i connect analyseur logique direct. & ftdi/usb like
And are you seeing an UART signal with correct UART speed at PIO1_7 (TXD)?
Content originally posted in LPCWare by R2D2 on Thu Jan 09 10:37:21 MST 2014 And did you connect them to some kind of hardware or are we talking about wireless RS232?
int i = 0, on=0; /* Basic chip initialization is taken care of in SystemInit() called * from the startup code. SystemInit() and chip settings are defined * in the CMSIS system_<part family>.c file. */
/* Initialize 32-bit timer 0. TIME_INTERVAL is defined as 10mS */ /* You may also want to use the Cortex SysTick timer to do this */ init_timer32(0, TIME_INTERVAL); /* Enable timer 0. Our interrupt handler will begin incrementing * the TimeTick global each time timer 0 matches and resets. */ enable_timer32(0);
/* Initialize GPIO (sets up clock) */ GPIOInit(); /* Set LED port pin to output */ GPIOSetDir( LED_PORT, LED_BIT, 1 ); //Init7Segment();
while (1) /* Loop forever */ {
/* Each time we wake up... */ /* Check TimeTick to see whether to set or clear the LED I/O pin */ if ( (timer32_0_counter%(LED_TOGGLE_TICKS/COUNT_MAX)) < ((LED_TOGGLE_TICKS/COUNT_MAX)/2) ) { GPIOSetValue( LED_PORT, LED_BIT, LED_OFF );