Need help with sending ASYNC data between two Arduino UNO R3 micro-controllers.
System design follows:
RS232 modem 19,200,8,N,1 --> UNO-1 D0=(rx), D1=(tx). RS232 parameters cannot be changed because the device is hardcoded. UNO-1 runs sketch sending AT commands and parsing data received. Parsed data must be sent to another RS232 modem but unfortunately this device is hardcoded for 9,600, 7,E,2. There is only one USART o the UNO.
My idea is to take advantage of a 2nd UNO R3 to convert the data to 9,600, 7,E,2.
So.. 19,200,8,N,1 modem --> UNO-1 -->SPI INTERFACE (mstr) --> UNO-2 --> software serial port --> Device 9600, 7, E, 2.
I've tried reconfiguring the USART on the UNO before sending data to each ASYNC device. Problem showed up that unsolicited and important data is received form the 19,200 modem while the UNO is sending data to the other ASYNC device at 9600,7 ,E, 2.
The SPI interface seems to be my only option. Can any one help?