Tool/software: Code Composer Studio
Hi, I am developing a datalogger that collects information from several sensors with different protocols such as I2C, UART, 1-Wire, etc, and then saved in an I2C memory. Then, it transfers the data when a base station requests it. The data logger has 6 ports each one compatible with some protocols. For instance, a port supports I2C, 1-Wire, and analog devices for which, depending on what sensors are connected and through the base station, I send a frame with what sensor is connected, thus configuration it according to that. My problem is that I don't how to process this, I have been thinking about how to do it but nothing comes to my mind. Maybe a state machine. I would appreciate your help. Thanks.