SLAAEU2 August   2025 MSPM0C1104

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
    1. 1.1 System Introduction
    2. 1.2 MSPM0C110x Introduction
    3. 1.3 MCF8315D Introduction
  5. 2Hardware Setup
    1. 2.1 LP-MSPM0C1104 Hardware Setup
    2. 2.2 MCF8315PWPEVM Hardware Setup
  6. 3Software Structure
    1. 3.1 Software Function and Flow Diagram
    2. 3.2 Project File Structure
    3. 3.3 Configure and Control MCF8315
      1. 3.3.1 MCF8315D I2C Protocol Description
      2. 3.3.2 CRC Verification and Parity Check
      3. 3.3.3 MCF EEPROM or RAM Program
  7. 4System Test
    1. 4.1 Test Setup
    2. 4.2 System Value Monitor
  8. 5Summary
  9. 6References

Project File Structure

Users can easily use the System Configuration Tool to migrate this project from MSPM0C1104 to another MSPM0 devices. Key files in the project are list in Table 3-1

Table 3-1 Project File Structure
File Description
C1104LP_MCF8315D.c Program entrance
C1104_Config.syscfg MSPM0C1104 system and peripherals configuration
mcf_configuration.h Predefine of MCF8315D EEPROM register offset and default setting
mcf_i2c.c MCF registers read and write functions to perform MCF register read and write with the required protocol
mcf_i2c.h Header file to define MCF registers read and write functions
crc8.c 8 bits CRC calculation with CRC table
crc8.h Header file to define CRC verification
parity_even.c Data parity check align with MCF8315D EEPROM parity check rules
parity_even.h Header file to define parity_even function