摘要 |
A communication system for a plurality of I/O cards by using the GPIO (General Purpose Input/Output) and a method thereof are disclosed for overcoming the problems of the prior art; wherein the prior art uses the I2C and UART communication channels causing a greater quantity of the connecting lines to connect, thus the bus resource of the chip is consumed, which raises its cost. The present invention uses at least one GPIO port to replace a failure line of the I2C communication channel, or a failure line of the UART communication channel. The present invention also uses one or a plurality of additional GPIO ports to be the backup GPIO ports. Therefore, the present invention has a lot of characteristics, including excellent back-up capability, low cost, the communication channels can be easily switched, the required quantity of the signal lines is reduced, and the reliability of the communication is increased.
|