Specialist Supplier of Crystals & Frequency Control Componentssales@mecxtal.com.cn0755-26500570
MERLIN home / Rednote / System Validation and Replacement

Does Pulling nSLEEP Low Brake a DRV8837C on a TXC Oscillator Board?

No. The DRV8837C truth table assigns a high-impedance bridge and coast to nSLEEP low. With the driver awake, both direction inputs low also coast; both inputs high drive both outputs low for dynamic braking. Removing a drive command, entering low-power sleep, and dynamically braking a motor are separate operations. A firmware function called Stop should state which one it performs.

For a small low-voltage bench turntable that should slow before standby, keep the driver awake during the approved braking state and enter sleep only after a validated speed criterion or timing window. A controller reset is a separate case. If hardware forces nSLEEP low during reset, a preexisting brake command on IN1 and IN2 cannot override it. If a design needs to retain position after a supply loss, braking a spinning motor is not evidence of fail-safe holding.

Secure the bench motor and use a suitable current-limited supply. Start from the same safe initial speed and compare coast, brake while awake, and brake followed by sleep. Capture nSLEEP, both inputs and actual shaft speed. Use rated differential instrumentation for bridge measurements; do not ground a bridge output through the probe. State the stop threshold and measure both normal commands and controller-reset cases. A TXC 7C 20 MHz oscillator can time the host PWM and log without changing the bridge truth table. Recheck edge timing after a clock change, but use the measured mechanical criterion to decide when to leave braking.

Related selection guide: MERLIN Crystal Timing: What Sets PWM and Interrupt Rates on a PIC18F46K22 With a 20 MHz Crystal?

Resource link: https://www.mecxtal.com.cn/en/handbook/20mhz-crystal-pic18f46k22-pwm-postscaler.html

WeChat

MERLIN · TIMING COMPONENTS

Scan with WeChat to contact Sales

Add our WeCom contacts from your usual WeChat app.

On desktop, scan with your phone. On mobile, save the QR image and select it from your album in WeChat Scan.