SLAAEK9 February   2025 MSPM0C1103 , MSPM0C1103-Q1 , MSPM0C1104 , MSPM0C1104-Q1 , MSPM0C1105 , MSPM0C1106 , MSPM0G1105 , MSPM0G1106 , MSPM0G1107 , MSPM0G1505 , MSPM0G1506 , MSPM0G1507 , MSPM0G1518 , MSPM0G1519 , MSPM0G3105 , MSPM0G3105-Q1 , MSPM0G3106 , MSPM0G3106-Q1 , MSPM0G3107 , MSPM0G3107-Q1 , MSPM0G3505 , MSPM0G3505-Q1 , MSPM0G3506 , MSPM0G3506-Q1 , MSPM0G3507 , MSPM0G3507-Q1 , MSPM0G3518 , MSPM0G3518-Q1 , MSPM0G3519 , MSPM0G3519-Q1 , MSPM0H3215 , MSPM0H3216 , MSPM0L1105 , MSPM0L1106 , MSPM0L1117 , MSPM0L1227 , MSPM0L1227-Q1 , MSPM0L1228 , MSPM0L1228-Q1 , MSPM0L1303 , MSPM0L1304 , MSPM0L1304-Q1 , MSPM0L1305 , MSPM0L1305-Q1 , MSPM0L1306 , MSPM0L1306-Q1 , MSPM0L1343 , MSPM0L1344 , MSPM0L1345 , MSPM0L1346 , MSPM0L2227 , MSPM0L2228 , MSPM0L2228-Q1

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
  5. 2How MSPM0 Support LIN Function
    1. 2.1 Clock
    2. 2.2 LIN Hardware
    3. 2.3 LIN Demo Code in SDK
      1. 2.3.1 LIN Commander
      2. 2.3.2 LIN Responder
  6. 3LIN Communication Realization
    1. 3.1 Hardware Connection
    2. 3.2 Test Results
      1. 3.2.1 Commander
      2. 3.2.2 Responder
  7. 4Summary
  8. 5References

Clock

The LIN specification regulates the clock accuracy of the commander-responder node, which is reflected in the bit rate specification, as shown in Table 2-1.

Table 2-1 LIN Bit Rate Request
Bit Rate Tolerance Name ΔF / FNom 1
Commander node (deviation from nominal bit rate) FTOL_RES_MASTER <±0.5%
Responder node without making use of synchronization (deviation from nominal bit rate) FTOL_RES_SLAVE <±1.5%
Deviation of responder node bit rate from the nominal bit rate before synchronization; relevant for nodes making use of synchronization and direct break detection. Ftol_unsync ±14%
Deviation of responder node bit rate relative to the commander node bit rate after synchronization FTOL_SYNC <±2%
For communication between any two nodes (for example, data stream from one responder to another responder), the bit rate must not differ by more than FTOL_SL_to_SL FTOL_SL_to_SL <±2%
The specific bit rate used on a LIN bus is defined as the nominal bit rate FNom

Table 2-2 shows the clock specs of MSPM0.

Table 2-2 Clock Specs of MSPM0(T=25℃)
Series Clock Support External Crystal Oscillators
MSPM0G Internal 4 - 32MHz oscillator with up to 0.7% accuracy (SYSOSC)1 External 4 - 48MHz crystal oscillator(HFXT)
Internal 32kHz low-frequency oscillator (LFOSC) with ±3% accuracy External 32kHz crystal oscillator(LFXT)
MSPM0L Internal 4 - 32MHz oscillator with ±0.7% accuracy (SYSOSC) Not support
Internal 32kHz low-frequency oscillator with ±3% accuracy (LFOSC)
MSPM0C Internal 24MHz oscillator with up to ±1% accuracy (SYSOSC) Support(only support for 20pins)
Internal 32kHz low-frequency oscillator (LFOSC) with ±3% accuracy
MSPM0G series support PLL up to 80MHz