is this accessible using the TX1, RX1 commands?, I read some where only UART0
was linked in the code (im using c library not basic)
I also noticed on the schematic you can also use pins 47/48 for another UART1
could i use this as my UART1 instead of the 59,60 one
Thanks
UART pin choices
-
- Posts: 1462
- Joined: Fri Oct 19, 2012 5:11 am
Re: UART pin choices
> is this accessible using the TX1, RX1 commands?, I read some where only UART0
was linked in the code (im using c library not basic)
The new uart.h/c library configures all available UARTs. They are not turned on
until UART_init(UARTnumber, baudrate) is called. Then access to them is via
getc(UARTnumber) and putc(ch, UARTnumber)
>
> I also noticed on the schematic you can also use pins 47/48 for another UART1
could i use this as my UART1 instead of the 59,60 one
Yes, change the source in uart.c PINSEL programming.
This all assumes you are using the latest setupC.exe from the Support page. Yes
its still a work in progress, but all the above are working, and I'm testing the
bit banged I2C, SPI, and SHIFT routines today.
was linked in the code (im using c library not basic)
The new uart.h/c library configures all available UARTs. They are not turned on
until UART_init(UARTnumber, baudrate) is called. Then access to them is via
getc(UARTnumber) and putc(ch, UARTnumber)
>
> I also noticed on the schematic you can also use pins 47/48 for another UART1
could i use this as my UART1 instead of the 59,60 one
Yes, change the source in uart.c PINSEL programming.
This all assumes you are using the latest setupC.exe from the Support page. Yes
its still a work in progress, but all the above are working, and I'm testing the
bit banged I2C, SPI, and SHIFT routines today.
-
- Posts: 1462
- Joined: Fri Oct 19, 2012 5:11 am
Re: UART pin choices
thats great thank you 
