Cool new driver: DRV8316

Hi @Vladimir_Grankovsky and welcome to SimpleFOC!

The chips have been unavailable for a very long time, it looks like they’re still out of stock… do you see availability anywhere for these chips?

At first glance I’d say the Q1 is an automotive version of the same chip, but perhaps @xcalplaxis is still around, he would be able to tell you the exact differences. If not, this could be a question for the TI motor driver forums…

Typically the automotive versions are the same chip but with higher temperature tolerance and/or guaranteed conformance to some kind of specs/standards relevant to the automotive industry.

For makers, prototyping and personal robotics this is irrelevant and usually just means you have to pay more for the same chip.

There’s a new ‘C’ version of the DRV8316 with “improved Current Shunt Amplifier specifications” as per DRV8316: DRV8316 vs DRV8316C - Motor drivers forum - Motor drivers - TI E2E support forums

I also saw that there is a DRV8317 available, not sure since when. Other than a difference in peak voltage and current, I’m having a hard time figuring out what difference it would make for SimpleFOC. Anyone got some insight on this?

I wrote the SimpleFOC driver for the original version, so I’d be interested to find out :smiley:

I’ve looked over the datasheet, but haven’t seen anything so far. But I did not check all the register IDs and their bit-fields… I’m hoping very much they didn’t introduce any subtle changes, I also haven’t found any detailed change-notes so far.

If you do find anything out, please let me know…

I have a version of a DRV8316 devBoard, and following the example: Arduino-FOC-drivers/src/drivers/drv8316 at master · simplefoc/Arduino-FOC-drivers · GitHub but I have a question, can I control the DRV only with SPI or do I need to implement PWM?

Hi @jp_polito, welcome to SimoleFOC!

You need PWM to control the commutation, and SPI to configure the chip…

Thanks for Reply! I tested one Exemple, but the Motor don’t work, one question: Its necessary using Encoder? I tested Drv8316_3PWM. I connected the SPI Pins and 3 PWM Arduino Uno ports.

Without an encoder you can only use open loop modes, it will be less efficient but you can move the motor…

For closed loop mode you will need the encoder.

In terms of the pins, depending on the board configuration of your board, you will also need the EN lines and the shutdown/sleep signal.

Hi @runger I have built one (but still working on it), the whole hardware system is really tiny. SimpleFOC on platformIO configuration