# SimpleFOC Coasting?

**URL:** https://community.simplefoc.com/t/simplefoc-coasting/4624
**Category:** developement
**Created:** [March 12, 2024, 7:22am UTC](https://community.simplefoc.com/t/simplefoc-coasting/4624 "2024-03-12T07:22:45Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Luigi\_C](https://community.simplefoc.com/user_avatar/community.simplefoc.com/luigi_c/32/6316_2.png) [@Luigi\_C](https://community.simplefoc.com/u/Luigi_C)
#### Post date: [March 12, 2024, 7:22am UTC](https://community.simplefoc.com/t/simplefoc-coasting/4624/1 "2024-03-12T07:22:45Z")

</div>

Hi there, I’m working on a board based on the DRV8323RS, supposed to run a BLDC motor at about 48v nominal and 15A. This is for a light EV, similar to the one that @Valentine posted about a year ago. I was wondering if SimpleFOC has any provisions for coasting and the like?

I’ve read through the Regenerative Braking thread that was posted here, and I saw a potential solution in completely turning off the control and letting the MOSFETs into Hi-Z. Would it be a problem if a loop was made to have the MCU send a signal to the DRV to put the MOSFETs in Hi-Z, and then if the input isn’t 0, SimpleFOC kicks in? I’m using hall effect sensors for positioning.

Thank you!

---

<div class="post-metadata">

### Author: ![Candas1](https://community.simplefoc.com/user_avatar/community.simplefoc.com/candas1/32/5296_2.png) [@Candas1](https://community.simplefoc.com/u/Candas1)
#### Post date: [March 12, 2024, 7:26am UTC](https://community.simplefoc.com/t/simplefoc-coasting/4624/2 "2024-03-12T07:26:53Z")

</div>

Hi,

0 torque target in foc\_current mode is not enough coasting for you ?

---

<div class="post-metadata">

### Author: ![Luigi\_C](https://community.simplefoc.com/user_avatar/community.simplefoc.com/luigi_c/32/6316_2.png) [@Luigi\_C](https://community.simplefoc.com/u/Luigi_C)
#### Post date: [March 12, 2024, 7:32am UTC](https://community.simplefoc.com/t/simplefoc-coasting/4624/3 "2024-03-12T07:32:31Z")

</div>

Upon further reading, yes that is quite enough 😀

I even read that in the original thread, but it slipped my mind ☹ Thank you for the quick reply! and apologies for the question

---

<div class="post-metadata">

### Author: ![Candas1](https://community.simplefoc.com/user_avatar/community.simplefoc.com/candas1/32/5296_2.png) [@Candas1](https://community.simplefoc.com/u/Candas1)
#### Post date: [March 12, 2024, 7:40am UTC](https://community.simplefoc.com/t/simplefoc-coasting/4624/4 "2024-03-12T07:40:03Z")

</div>

No worries.  
Maybe Valentine can confirm if that’s what he was doing, or if he was disabling the driver for saving even more energy.

---

<div class="post-metadata">

### Author: ![Valentine](https://community.simplefoc.com/user_avatar/community.simplefoc.com/valentine/32/1024_2.png) [@Valentine](https://community.simplefoc.com/u/Valentine)
#### Post date: [March 13, 2024, 10:21pm UTC](https://community.simplefoc.com/t/simplefoc-coasting/4624/5 "2024-03-13T22:21:58Z")

</div>

It’s been a while, but iirc if you put them in high-z you should be able to coast.

Valentine
