This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I have microcontroller to DRV8711 SPI interface working, but I find I can only read the register contents when in 'Sleep' mode. When not in 'Sleep' I can write the registers OK, for example enabling and disabling the IC, but at no time is there any output from pin 17 SDATO. I do have an external pullup resistor 10K to 3.3V.
Is this normal, or am I missing something in the configuration process?
Hi John
In our EVM, we can always see the SDATO when you start a read SPI cycle no matter in or not in SLEEP and the motor running or not. But when motor is enabled, it is possible that the current noise will affect the SPI communication.
Could you test the real waveform on SDATO pin (Pulled up) when you start a READ sequence instead out reading the back value from MCU of GUI display?
Thanks,
Wilson Zuo
Motor Application Team
Hi Wilson, I have a two channel scope. I trigger from one channel connected to SCS, and connect the other channel to SDATO, then read each register in turn. When in 'Sleep' mode I see the waveform on the SDATO line corresponding to the bits written into each register, but when not in 'Sleep' SDATO stays high though the time that theSCS input is high.
The length of the SCS waveform is the same in both 'Sleep' and not 'Sleep', also if I switch from monitoring SDATO to monitor SCLK I see the same string of clock pulses in both cases.
John
Hi John
That is strange. Acturally I did a bench check on your question, I can see the SDATO quite normal in SLEEP mode or normal mode. Did you test on TI EVM or your own board? if possible, I suggest you can swap another DRV8711 to test again. Also check you software on the READ and WRITE bit of your SPI cycle.
Thanks.
Wilson
Hi Wilson,
It is not a TI EVM board. I have been assigned the task of replacing an Allegro A3986SLD in an existing design with the TI DRV8711. This seemed fairly simple, as I had designed the existing board. I followed the data sheet carefully, but I may have missed something. Is the schematic of the TI EVM board available? If so I would like to check my schematic against it.
John
Hi John,
http://www.ti.com/tool/drv8711evm
Near the bottom of this page is a zip folder with all of the design files. Let us know if you have any questions.
Problem solved. My start sequence is. Assert Driver RESET, unassert Driver RESET, assert SLEEP, configure registers, unassert SLEEP, enable Driver.
Problem was in my code the line to unassert RESET was commented out. I think part of early software testing. When I uncommitted the line, everything worked.
Thanks for your help.
John
Hi
Have you check the firmware package in http://www.ti.com/tool/drv8711evm which including all the EVM example C-code?
Thanks.
Wilson Zuo
Motor Application Team