I need 4 serial port on pic.
1 of them if for PC, so baud rate and parity isn't important.
For other 3 ports
1. must be 2400,8,E,1 - for now work fine with serin2 and define 9bits.
2. must be 9600,8,N,1 - For that I also try to use serin2, but mode is 84. And i had no luck... Modem doesn't recognise commands. If I remove define 9bit it works.
3. must be user define, baud rate 2400 or 9600, with or without parity.
I'm using PIC18F87J50, there are 2 hardvare usart.
3. port is problem... If I don't have 3. port then I would use, serin/out for port 1. And hserin/out for other ports...
Does anyone have an idea how to do this?