Part Number: F28377D-SEP
Other Parts Discussed in Thread: TMS320F28388D, C2000WARE, SYSCONFIG
Hi,
I'm using TMS320F28388D MCU for my project. I understand that there is syscfg file present in empty example project which can help me write the driver level code by using GUI. It creates the below files.
- board.c
- board.h
- device.h
- device.c
- board.cmd.genlibs
- board.opt
- board.json
- pinmux.csv
- c2000ware_libraries.cmd.genlibs
- c2000ware_libraries.c
- c2000ware_libraries.h
- c2000ware_libraries.opt
- clocktree.h
- example.syscfg.
My question is that, how much of RAM space do these generated code take? I understand it is relative to the code that I write, but how much impact does it have on RAM space utilization?
Few of these files are empty (for example, c2000ware_libraries.cmd.genlibs) - why are they generated when they output empty or only commented file? Do they also take up space?
The Device_init() and Device_initGPIO() initialized all the ports and pins and clocks in one strech despite it being used in the code. I understand that without unlocking those ports, no code will let it work normally and it is a safe protection to ensure the same. However, it does take up more cpu cycles than necessary right? What line of code should I handpick from both the functions (especially device_init()) to ensure that only the ports that I want to use will be enabled?
Regards,
Reshma.



