This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP430I2040: programming

Part Number: MSP430I2040

Hi,

On the tools and software section of MSP430I2040 webpage, MSP430I20xx code examples were available. I am using these examples to build an application using ADC and SPI port. All the examples contain two files. One file contains the mains function and the other is named as low_level_init.c. The description of this file as given in comments is given below:

 MSP430i20xx Initialization Routines - low_level_init.c
//
// This function is called by the start-up code before "main" is called, and
// before data segment initialization is performed. The function affects the
// following modules:
//  - JTAG - JTAG is disabled
//  - TLV - A TLV checksum is performed
//  - PMM - The shared reference is calibrated to 1.16V
//  - Clock System - The DCO is calibrated to 16.384MHz
//  - SD24 - The SD24 reference voltage trimming is calibrated
//
// The return value of this function controls if data segment initialization
// should take place. If 0 is returned, it is bypassed.

How do we have to include this file in our program so that it runs before the main function is executed?

Best Regards,

Abhishek Grover.

**Attention** This is a public forum