mrdimm-status.yaml 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. schema: prod2u-mrdimm-get-data-v1
  2. note: >-
  3. GET_DATA (type 0x42) payload for the MRDIMM FCB V1.2 product: 63 bytes. This
  4. is the complete externally visible state: currently effective output
  5. percentages, integer degrees Celsius and the per-axis live limit masks.
  6. Requested/Applied duplication, motor running/remaining/queue depth, position,
  7. Tag, age, epoch, stale and watchdog remaining are deliberately absent.
  8. byte_order: little
  9. payload_type: 0x42
  10. payload_length: 63
  11. fields:
  12. - {name: fan_percent, type: u8, count: 4, unit: percent, semantics: currently_effective_connector_duty}
  13. - {name: ptc_percent, type: u8, count: 4, unit: percent, semantics: currently_effective_logical_ptc_duty}
  14. - {name: bmc_temp_c, type: u8, count: 24, unit: celsius, source: bmc_ascii}
  15. - {name: ct_temp_c, type: u8, count: 27, unit: celsius, source: ct7428_i2c}
  16. - {name: lower_limit_mask, type: u16le, semantics: live_lower_limit_per_axis}
  17. - {name: upper_limit_mask, type: u16le, semantics: live_upper_limit_per_axis}
  18. limit_masks:
  19. bit_order: axis0_is_bit0_axis11_is_bit11
  20. bits_0_to_11: Axis0..Axis11, 1 means that limit is active
  21. bits_12_to_15: must_be_zero
  22. no_event_history_and_no_latched_history_in_this_get: true
  23. a_segment_that_ended_on_a_limit_does_not_restart_when_the_switch_releases: true
  24. temperature_encoding:
  25. representation: uint8_celsius
  26. valid_range: [0, 254]
  27. invalid: 255
  28. rounding: truncate_fractional_part
  29. reject_before_truncation: [negative, at_or_above_255, acquisition_failure, never_sampled, untrusted_source]
  30. negative_never_becomes_valid_zero: true
  31. low_byte_truncation_of_16_bit_raw: forbidden
  32. two_byte_temperature_output: forbidden
  33. ff00_is_not_invalid: true
  34. host_side_scaling: none
  35. sdk_mapping: "None if byte == 0xFF else byte"
  36. temperature_never_decides_any_output: true
  37. output_defaults:
  38. ptc_percent: 0
  39. fan_percent: 20
  40. note: >-
  41. GET returns the currently effective output. After a watchdog timeout it must
  42. return these defaults and never a stale bank, and GET continues to feed the
  43. watchdog while the default value stays.
  44. fan_ptc_mapping:
  45. fan_count: 4
  46. logical_ptc_count: 4
  47. physical_ptc_count: 24
  48. ptc_map: logical PTC0..3 each drive six physical PTC outputs (chamber N = physical 6N through 6N+5)
  49. pwm_hz: 20
  50. fan_duty_semantics: connector_requested_duty_not_rpm_not_airflow
  51. motor_axes:
  52. axis_count: 12
  53. axis_geometry: 12 logical axes; only PCB-bound limit pads are available in production
  54. limit_active_level: high
  55. live_limits_only: true