Ignore:
Timestamp:
Apr 19, 2023, 1:25:34 PM (3 years ago)
Author:
f.jahn
Message:

Precharge pulses are made as short as possible.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/firmware/SES/Src/precharge.c

    r1 r2  
    3232        static int mal = 0;
    3333                                                                //    DAC = 0  DAC = 3V
    34         const int delay_µs[DELAYS_NUM] = {      50,                2,     // 0, 1         - 6710µs is MAX @320kHz
    35                                                                                 50,                2,     // 2, 3
    36                                                                                 50,                2,     // 4, 5
    37                                                                                 50,                2,     // 6, 7
    38                                                                                 50,                2,     // 9, 9
    39                                                                                 50,                2,     // 10, 11
    40                                                                                 50,                2,     // 12, 13
    41                                                                                 50,                2,     // 14, 15
    42                                                                                 50,                2,     // 16, 17
    43                                                                                 50,                2,     // 18, 19
    44                                                                                 50,                2,     // 20, 21
    45                                                                                 50,                2,     // 22, 23
    46                                                                                 50,                2,     // 24, 25
    47                                                                                 50,                2,     // 26, 27
    48                                                                                 50,                2,     // 28, 29
    49                                                                                 50,                2,     // 30, 31
    50                                                                                 50,                2,     // 32, 33
    51                                                                                 50,                2,     // 34, 35
    52                                                                                 50,                2,     // 36, 37
    53                                                                                 50,                2,     // 38, 39
    54                                                                                 50,                2,     // 40, 41
     34        const int delay_µs[DELAYS_NUM] = {      50,                1,     // 0, 1         - 6710µs is MAX @320kHz
     35                                                                                50,                1,     // 2, 3
     36                                                                                50,                1,     // 4, 5
     37                                                                                50,                1,     // 6, 7
     38                                                                                50,                1,     // 9, 9
     39                                                                                50,                1,     // 10, 11
     40                                                                                50,                1,     // 12, 13
     41                                                                                50,                1,     // 14, 15
     42                                                                                50,                1,     // 16, 17
     43                                                                                50,                1,     // 18, 19
     44                                                                                50,                1,     // 20, 21
     45                                                                                50,                1,     // 22, 23
     46                                                                                50,                1,     // 24, 25
     47                                                                                50,                1,     // 26, 27
     48                                                                                50,                1,     // 28, 29
     49                                                                                50,                1,     // 30, 31
     50                                                                                50,                1,     // 32, 33
     51                                                                                50,                1,     // 34, 35
     52                                                                                50,                1,     // 36, 37
     53                                                                                50,                1,     // 38, 39
     54                                                                                50,                1,     // 40, 41
    5555                                                                                50};                      // 42
    5656        const int delay_cnt[DELAYS_NUM] = { (delay_µs[ 0] * CURRENT_INTEGRAL_FREQ) / 1000000U,
Note: See TracChangeset for help on using the changeset viewer.