Author Topic: DRV8825 motor controller driver power on issues  (Read 320 times)

0 Members and 1 Guest are viewing this topic.

Online newtekuserTopic starter

  • Frequent Contributor
  • **
  • Posts: 358
  • Country: us
DRV8825 motor controller driver power on issues
« on: March 31, 2024, 05:41:22 pm »
Hello All,

I'm putting together a motor controller board using the DRV8825 IC and having some issues with power on. I'm measuring 12.2V at the input cap C5 as well as on C1, C3 and C4, but the internal regulator V3P3OUT does not produce anything. None of the IC pins are shorted and no motor is connected to VMA and VMB pins. nReset and nSleep pins are tied to VP3OUT via 10K pull-ups and the enable pin is floating. Per the data sheet, this configuration should enable the IC.
Attached my schematic and board layout (2 layer with solid GND on bottom). The IC was purchased from DigiKey and should be good.

I know that the calculation for Vref is now slightly off because I designed it for 12V not 12.2V but my understanding it is that if it affects anything that would be the current limitation.

Is there anything that stands out as an issue with the schematic, or board layout that would cause this?


« Last Edit: April 01, 2024, 05:08:50 am by newtekuser »
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5930
  • Country: es
Re: DRV8825 motor controller driver power on issues
« Reply #1 on: March 31, 2024, 06:39:51 pm »
Maybe adding a 100nF cap between nRST and gnd so it resets at power-on?
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Online newtekuserTopic starter

  • Frequent Contributor
  • **
  • Posts: 358
  • Country: us
Re: DRV8825 motor controller driver power on issues
« Reply #2 on: March 31, 2024, 08:14:58 pm »
Maybe adding a 100nF cap between nRST and gnd so it resets at power-on?

That did not do it unfortunately.

I found an article describing how to use the DRV8825 controller and they're tying reset and sleep pins to 5V instead of 3.3V. However, in my case I do not connect to the MCU (PIC) just yet which operates on 5V logic anyways.

Quote
You need to connect RST (reset) and SLP (sleep) to 5 V otherwise, the driver won’t turn on.

Would this be the issue? https://www.makerguides.com/drv8825-stepper-motor-driver-arduino-tutorial/

Or is it a catch 22 issue because I'm connecting it to 3.3V when there's no 3.3V voltage because the regulator is not enabled? If that's the case reasoning tells me I should drive these pins (RST, SLEEP) high from the MCU.
« Last Edit: March 31, 2024, 08:53:55 pm by newtekuser »
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5930
  • Country: es
Re: DRV8825 motor controller driver power on issues
« Reply #3 on: March 31, 2024, 09:09:35 pm »
Your problem is nSleep, it turns off V3P3OUT, so trying to get power from that pin will never work.
nRST and nSleep have a 100K pulldowns, connect 12V to each pin through a 330K resistor.
This will make a voltage of (12/(330+100))*100 = 2.8V.

« Last Edit: March 31, 2024, 09:21:40 pm by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 
The following users thanked this post: newtekuser

Online newtekuserTopic starter

  • Frequent Contributor
  • **
  • Posts: 358
  • Country: us
Re: DRV8825 motor controller driver power on issues
« Reply #4 on: March 31, 2024, 11:58:54 pm »
Your problem is nSleep, it turns off V3P3OUT, so trying to get power from that pin will never work.
nRST and nSleep have a 100K pulldowns, connect 12V to each pin through a 330K resistor.
This will make a voltage of (12/(330+100))*100 = 2.8V.

Thank you! I ended up tying sleep and reset pins to another 5V rail I have in the circuit and it now works. Motor also spins fine in both directions  :-+
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf