| ECC1C 145-944-00

Logger

Logger system ID: 0x24

A system for logging the values of various readable registers.

Configure the logger by setting the addresses of registers to log in registers 0x2400 to 0x2405. Choose the desired sampling rate and set the run register to start logging. The logged values will be saved in the corresponding vectors 0x2400 to 0x2405. Each vector can save up to 5000 values. This memory is statically allocated to each vector. At default maximum sampling rate of 20kHz this will result in 0.5 seconds of logging time. To increase the logging time, the sampling rate of the logger has to be reduced.

### Register Map:

Address | Name | Default Value | Description | Type | Access
--- | --- | --- | --- | --- | ---
0x2400 | Logged register address 0 | 0xE802 | Address of register to log in the corresponding vector | uint16 | read write
0x2401 | Logged register address 1 | 0xE902 | Address of register to log in the corresponding vector | uint16 | read write
0x2402 | not used |  |  | uint16 | read write
0x2403 | not used |  |  | uint16 | read write
0x2404 | not used |  |  | uint16 | read write
0x2405 | not used |  |  | uint16 | read write
0x2410 | Run | false | Set true to start logging, will be set to false after the memory is filled | boolean | read write
0x2411 | Sampling rate | 20000.0 | Sampling rate in Hz which the logger logs values. | float | read write
0x2412 | Minimum sampling rate |  | In Hz | float | read only
0x2413 | Maximum sampling rate | 20000.0 | In Hz | float | read only

### Vector Map:

Address | Name | Default Value | Description | Type | Access
--- | --- | --- | --- | --- | ---
0x2400 | Register log 0 | 0 | Logged values for corresponding registers | uint32[5000] | read only
0x2401 | Register log 1 | 0 | Logged values for corresponding registers | uint32[5000] | read only
0x2402 | not used |  |  |  |
0x2403 | not used |  |  |  |
0x2404 | not used |  |  |  |
0x2405 | not used |  |  |  |

Attention
  Vectors have their own address space.