46
Web platform / Re: Internet radio addin board.
as i have said earlier, i think i would dump the 8io chip in favor of a 16 io one.
and what do you think of audio in as well as audio out?
Open Source Hardware
This section allows you to view all Messages made by this member. Note that you can only see Messages made in areas you currently have access to.
//Initialize the terminal UART for the speed currently set in bpConfig.termSpeed
static unsigned int UARTspeed[]={13332,3332,1666,832,416,207,103,68,34,};//BRG:300,1200,2400,4800,9600,19200,38400,57600,115200
void InitializeUART1(void){
U1BRG = UARTspeed[bpConfig.termSpeed];//13332=300, 1666=2400, 416=9600, 34@32mhz=115200....
U1MODE = 0;
U1MODEbits.BRGH = 1;
U1STA = 0;
U1MODEbits.UARTEN = 1;
U1STAbits.UTXEN = 1;
IFS0bits.U1RXIF = 0;
}