Skip to content

Commit

Permalink
[pwm,SiVal] Add silicon validation notes
Browse files Browse the repository at this point in the history
Add notes for silicon targets to the chip-level test:
`chip_sw_sleep_pwm_pulses`
This includes which si_val stage and features that are tested.

Signed-off-by: Marno van der Maas <[email protected]>
  • Loading branch information
marnovandermaas committed Sep 28, 2023
1 parent bfd4f78 commit 9f7c70e
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion hw/top_earlgrey/data/chip_testplan.hjson
Original file line number Diff line number Diff line change
Expand Up @@ -555,8 +555,28 @@
- Verify that in the sleep state, the PWM signals are active and pulsing correctly, by
hooking up the PWM monitor.
- Repeat the steps for all 6 PWM signals.
'''

Notes for silicon targets:
- Instead of using the PWM monitor, the PWM signals should be tested by measuring the actual output pins.
- The sampling frequency should be high enough to measure the duty cycle accurately.
- Repeat this test with:
- At least two different values of the duty cycle.
- All channels set to blinking.
- All channels set to heartbeat.
- All channels set to reverse polarity.
- At least two different values of the clock divider.
- Each odd PWM channel set to be 180 degrees out of phase of the even ones.
'''
features: [
"PWM.DUTYCYCLE",
"PWM.BLINK",
"PWM.HEARTBEAT",
"PWM.POLARITY",
"PWM.CLOCKDIVIDER",
"PWM.PHASEDELAY"
]
stage: V2
si_stage: SV2
tests: ["chip_sw_sleep_pwm_pulses"]
}

Expand Down

0 comments on commit 9f7c70e

Please sign in to comment.