summaryrefslogtreecommitdiff
path: root/model/arch/msp430fr5994lp.dfa
blob: 40a78a7be2394e70ceb36a0e929d28d2b74e1a90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# static power @ 3.3V 16 MHz
# function power @ 3.3V
# ACTIVE function taken from datasheet section 5.5 (I(AM,75%))
# LPM functions fitted from datasheet sections 5.6 to 5.8 (3V, corrected to 3.3V)
state:
  UNINITIALIZED:
  ACTIVE:
    power:
      static: 5346
      function:
        raw: regression_arg(0) * parameter(cpufreq_mhz) + regression_arg(1)
        regression_args: [389.4, 244.2]
  LPM0:
    power:
      static: 792
      function:
        raw: regression_arg(0) * parameter(cpufreq_mhz) + regression_arg(1)
        regression_args: [33, 264]
  LPM1:
    power:
      static: 643.5
      function:
        raw: regression_arg(0) + regression_arg(1) * parameter(cpufreq_mhz)
        regression_args: [115.5, 33]
  LPM2:
    power:
      static: 4.3
  LPM3:
    power:
      static: 3.3
  LPM3.5:
    power:
      static: 1.6
  LPM4:
    power:
      static: 1.8
  LPM4.5:
    power:
      static: 0.8

parameters:
- cpufreq_mhz
- voltage_v

transition:
  init:
    src: [UNINITIALIZED]
    dst: ACTIVE
    set_param:
      voltage_v: 3.3
      cpufreq_mhz: 16
  cpufreq:
    src: [ACTIVE]
    dst: ACTIVE
    arguments:
    - name: cpufreq
      values: [1, 4, 8, 16]
      parameter: cpufreq_mhz
  active:
    src: [ACTIVE, LPM0, LPM1, LPM2, LPM3.5, LPM3, LPM4, LPM4.5]
    dst: ACTIVE
  lpm0:
    src: [ACTIVE]
    dst: LPM0
  lpm1:
    src: [ACTIVE]
    dst: LPM1
  lpm2:
    src: [ACTIVE]
    dst: LPM2
  lpm3:
    src: [ACTIVE]
    dst: LPM3
  lpm4:
    src: [ACTIVE]
    dst: LPM4
  lpm4.5:
    src: [ACTIVE]
    dst: LPM4.5