Closed Retro-Fitt closed 9 months ago
I answered this one in the forum, lets continue the conversation there, until we confirm its a bug with SimpleFOC, then we'll reactivate this issue :-)
Hey, I think this issue was explained on the forum: XESC doesn't support hardware SPI on the pins used. You have to use Software based SPI.
If its ok I will close this issue now.
Hi, I am planning to use XESC with Simple FOC firmware. I tested hardware with XESC test firmware and it works ok.MCU can communicate with TMC6200 and i also tested it with VESC firmware for it. The issue i am having is i cannot communicate with TMC via Simple FOC firmware and can't use it. I am a newbie for Simple FOC and SPI protocol, read a lot of documents regarding this. Here is my platformio file:
And here is my main.cpp file:
I tested it many times and cannot fix it. Triple checked my pin configs.MCU never talks to TMC driver. Since i couldn't find any examples i used README on github library to generate main.cpp. Could someone point me in right direction?