2005-09-12 10:24 AM
2011-05-17 03:08 AM
While using the DK300 development board I set up UART1 using P1SFS0 and 1. Everything worked as advertised. Now in my final hardware I can't use Port 1 because I need all 8 A/Ds. I want to use the alternate 2 function on Port 4 (using P4SFS0 and 1). I write out ones to both ports like so:
P4SFS0 |= 0x0C; // comment these in and the P1 lines out when final hw is ready P4SFS1 |= 0x0C; // P1SFS0 |= 0x0C; //For our test board use P1 -- see page 60 // P1SFS1 &= ~0x0C; But monitoring the TX line on either my hardware or using CON2 pin 9 on the DK3300 shows no activity. I made sure I set up Port1 first for all A/D operation in case there was a precedence issue. What am I missing? Since it works on Port1 I figure all the mode and clock settings are correct and that just leaves the switch between port 1 and port4.2011-05-17 03:08 AM
Nevermind. Did you ever notice you can work on something for 2 days and then minutes after you public embarass yourself on a forum you figure out the answer.
I was using Port4 for SPI also and when I configured the bits for SPI I didn't OR in the bits I did a direct assignment thereby wiping out my UART1 bits in the lower nibble. Sorry for the wasted bandwidth Tod