maybe the modem syn. needs to be set right.
reenabled the uart1-loopback code --- doesn't seem to be working --- strange.
This commit is contained in:
parent
ef276e336c
commit
a940f4db2b
3 changed files with 10 additions and 7 deletions
|
@ -50,6 +50,7 @@ void main(void) {
|
|||
reg(UART1_CON) = 0x00000003; /* enable receive and transmit */
|
||||
reg(GPIO_FUNC_SEL0) = ( (0x01 << (14*2)) | (0x01 << (15*2)) ); /* set GPIO15-14 to UART (UART1 TX and RX)*/
|
||||
|
||||
reg(80009000) = 0x00050100;
|
||||
|
||||
reg(MACA_RESET) = 0x3; /* reset, turn on the clock */
|
||||
for(i=0; i<DELAY; i++) { continue; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue