CAN_xls2C

2020/8/30 V2.0
Fill in information of CAN signals in a standard xls file, which the python script can read.
img
We have 3 sheets and up to 350 signals to convert. Theoretically, the number of sheets and signals can reach higher.
img
Run the script, and the script will generate several files.
img
THe generated files would appear in the original path. It will generate .c and .h files which run the dbc unpack and communication functions.
This script will generate a wireless version and a SD card version, which satisfied the needs of users.
img
The generation code can reach 3000 lines, which is hard to maintain mannually. With this tool, changes of database can be easily handled.
img
brief screenshot of .c file. It also generates comments which make the code readable.
img