Author Topic: Motor driver won't talk to me :(  (Read 388 times)

0 Members and 1 Guest are viewing this topic.

Offline RippoZeroTopic starter

  • Newbie
  • Posts: 5
  • Country: no
Motor driver won't talk to me :(
« on: April 18, 2024, 07:26:35 am »
Got a pcb with a teensy 3.2 trying to talk to a motor driver(DRV8434s). I know information is transferred to the chip because I'm able to run a stepper motor, the signal from the micro also looks crisp. The problem is the DRV8434s SDO line, naturally it's connected to the standard MISO input for the micro. The signal is strange looking, it does not quite reach 3.3v and has a very slow rise time. It rests at about 0,  opposite to the MOSI signal, resting at 3.3v. I found this puzzling.

Among the things I've tried is lowering the frequency of the SPI bus, verifying values of supporting components, changing the IC, touching up solder joints and adding a pull-up resistor. Discovered I had connected the VSDO pin to the 3.3v rail though a resistor witch I swapped out for a wire.

Don't hesitate to ask if you want more information
« Last Edit: April 18, 2024, 07:28:13 am by RippoZero »
 

Offline Psi

  • Super Contributor
  • ***
  • Posts: 9958
  • Country: nz
Re: Motor driver won't talk to me :(
« Reply #1 on: April 18, 2024, 09:02:05 am »
What voltage is on these pins of the DRV8434

DVDD
VCP
VREF
NFAULT
« Last Edit: April 18, 2024, 09:07:44 am by Psi »
Greek letter 'Psi' (not Pounds per Square Inch)
 
The following users thanked this post: RippoZero

Offline RippoZeroTopic starter

  • Newbie
  • Posts: 5
  • Country: no
Re: Motor driver won't talk to me :(
« Reply #2 on: April 18, 2024, 09:52:59 am »
DVDD - 5v
VCP - 17v
VREF - 3.3v
NFAULT - 340 mv

It's pulling nFault low  ???
 

Offline Psi

  • Super Contributor
  • ***
  • Posts: 9958
  • Country: nz
Re: Motor driver won't talk to me :(
« Reply #3 on: April 18, 2024, 10:14:10 am »
First rule of troubleshooting, check voltages :)

What voltage is VM?
Your VCP voltage of 17V suggests VM must be around 10V but is that correct?
« Last Edit: April 18, 2024, 10:22:25 am by Psi »
Greek letter 'Psi' (not Pounds per Square Inch)
 
The following users thanked this post: RippoZero

Offline RippoZeroTopic starter

  • Newbie
  • Posts: 5
  • Country: no
Re: Motor driver won't talk to me :(
« Reply #4 on: April 18, 2024, 10:17:43 am »
The datasheet specifies that nFault should be pulled up to DVDD if it's 5v logic, otherwise hocked up to external logic level. Since the logic level I'm using is 3.3v I made a goof here. Changed the pull-up resistor so it now bridges to 3.3v. The IC is now talking to the micro controller. Thank you very much Psi  :-+
 
The following users thanked this post: Psi


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf