# Stepper cogging in open-loop and sensor issues (AS5600 magnet confirmed to be correct)

**URL:** https://community.simplefoc.com/t/stepper-cogging-in-open-loop-and-sensor-issues-as5600-magnet-confirmed-to-be-correct/7720
**Category:** Uncategorized
**Tags:** esp32, as5600, stepper
**Created:** [October 24, 2025, 1:29pm UTC](https://community.simplefoc.com/t/stepper-cogging-in-open-loop-and-sensor-issues-as5600-magnet-confirmed-to-be-correct/7720 "2025-10-24T13:29:43Z")
**Posts on this page:** 1
**Showing post:** 8

<div class="post-metadata">

### Author: ![loudboy](https://community.simplefoc.com/letter_avatar_proxy/v4/letter/l/41988e/32.png) [@loudboy](https://community.simplefoc.com/u/loudboy)
#### Post date: [October 29, 2025, 9:46am UTC](https://community.simplefoc.com/t/stepper-cogging-in-open-loop-and-sensor-issues-as5600-magnet-confirmed-to-be-correct/7720/8 "2025-10-29T09:46:23Z")

</div>

I dont know if it matters, but this is the C3 variant I am using

> **[Getting Started with Seeed Studio XIAO ESP32C3 | Seeed Studio Wiki](https://wiki.seeedstudio.com/XIAO_ESP32C3_Getting_Started/)**
>
> Getting Started with Seeed Studio XIAO ESP32C3

And I have installed the dev branch which fixed previous C3 bugs

> <https://github.com/simplefoc/Arduino-FOC/pull/489>
>
> Hi, quick PR here. 
> 
> This was the only way I was able to make this board work …-\> https://www.espboards.dev/esp32/esp32-c3-super-mini-plus/
> 
> No matter which pins I used, I was intermittently 3 out of 5 boots getting the following error:
> 
> \`\`\`
> EP32-DRV: Configuring 3PWM
> EP32-DRV: 3PWM setup in group: 0
> E (290) ledc: ledc\_channel\_config(847): sleep\_mode argument is invalid
> EP32-DRV: ERROR - Failed to attach channel:0
> EP32-DRV: ERROR - Failed to configure pin:1
> \`\`\`
> 
> This PR fixes it. I don't know if this is a good solution, but works bulletproof for the C3 board in quesiton.
> 
> Open to discuss. Thanks.

---

_[View the full topic](https://community.simplefoc.com/t/stepper-cogging-in-open-loop-and-sensor-issues-as5600-magnet-confirmed-to-be-correct/7720)._
