tonyyy
Member level 1
- Joined
- Dec 26, 2012
- Messages
- 38
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,286
- Activity points
- 1,663
Hi.
I need to create a board where the MCU will be responsible of handling data coming from different source (i.e. rs232, rs485, standard I/O pins). The MCU (18F) has to assemble the data into a tcp and send it to a remote tcp server.
I am an electronic engineer but I've never worked on such problem. I have several doubts on how best approach the problem, I hope you can give me a good suggestion, not a solution, it is even enough a small description/hit from which I can start learning. Following how I would create my board.
Two MCU and a shared memory. A sort of producer-consumer problem where the first PIC handles the data from the I/O sources (data are just small values like temperature, pression...) and writes it to a shared memory. At time the second PIC reads the memory location searching for new data to transmit, if any an tcp segment is created and sent to a remote tcp server.
Is it correct or do I need to implement the board using an OS and use just one MCU?
Or maybe it's just enough one MCU and I am trying to complicate my life...
All suggestions are welcome and appreciated.
I need to create a board where the MCU will be responsible of handling data coming from different source (i.e. rs232, rs485, standard I/O pins). The MCU (18F) has to assemble the data into a tcp and send it to a remote tcp server.
I am an electronic engineer but I've never worked on such problem. I have several doubts on how best approach the problem, I hope you can give me a good suggestion, not a solution, it is even enough a small description/hit from which I can start learning. Following how I would create my board.
Two MCU and a shared memory. A sort of producer-consumer problem where the first PIC handles the data from the I/O sources (data are just small values like temperature, pression...) and writes it to a shared memory. At time the second PIC reads the memory location searching for new data to transmit, if any an tcp segment is created and sent to a remote tcp server.
Is it correct or do I need to implement the board using an OS and use just one MCU?
Or maybe it's just enough one MCU and I am trying to complicate my life...
All suggestions are welcome and appreciated.