jit_singh_tara
Full Member level 6
- Joined
- Dec 22, 2006
- Messages
- 325
- Helped
- 9
- Reputation
- 18
- Reaction score
- 4
- Trophy points
- 1,298
- Location
- Delhi , India
- Activity points
- 4,295
Hi friends,
I am working on an application where there are 2 pcb boards.
Board 1 is doing a critical task so it can't be used for user defined settings via lcd and switches.
Board 2 is having lcd and switches so we have to use it for saving the settings. But these settings have to be transferred to board 1 so that it can be used by board 1 for its working......
Everytime any setting is changed on board 2 it has to be reflected on board 1.There are some 50 variables of unsigned int type that need to be transferred from board 2 to board 1.
So I would like to know what is the best way to do it.Should I transfer the data in ascii form. That will be approx 200characters if I transfer all the variables.
Or should I go with one variable at a time with some header and then data. for example if I need to send 20000 then I use #__20000$
where __ is for type of data ranging from 0-99..
i.e I can send 99 variables of unsigned int type.
The board 1 does some critical work. So the data sent via board 2 UART will. Be received via Board 1 UART via interrupt.
Also if we need to Display some data from board 1 then board 1 can transmit the data to board 2 via UART.
Please let me know how to proceed in such scenario....
I am working on an application where there are 2 pcb boards.
Board 1 is doing a critical task so it can't be used for user defined settings via lcd and switches.
Board 2 is having lcd and switches so we have to use it for saving the settings. But these settings have to be transferred to board 1 so that it can be used by board 1 for its working......
Everytime any setting is changed on board 2 it has to be reflected on board 1.There are some 50 variables of unsigned int type that need to be transferred from board 2 to board 1.
So I would like to know what is the best way to do it.Should I transfer the data in ascii form. That will be approx 200characters if I transfer all the variables.
Or should I go with one variable at a time with some header and then data. for example if I need to send 20000 then I use #__20000$
where __ is for type of data ranging from 0-99..
i.e I can send 99 variables of unsigned int type.
The board 1 does some critical work. So the data sent via board 2 UART will. Be received via Board 1 UART via interrupt.
Also if we need to Display some data from board 1 then board 1 can transmit the data to board 2 via UART.
Please let me know how to proceed in such scenario....