Git Product home page Git Product logo

Comments (3)

owennewo avatar owennewo commented on September 12, 2024

We really welcome people trying new chips!!

The due uses a 32bit SAM3X8E chip which has a analogWriteFrequency() method.

The SA3X8E is a type of SAM3XA chip so perhaps targetting #define _SAM3XA_ for chip detection is appropriate.

I can't test (I have no DUE) but I'd try copy/rename the file teensy_mcu.cpp (link below) to samxa_mcu.cpp and then changing the #define to #if defined(_SAM3XA_) logic in new file and in generic_mcu.cpp

https://github.com/simplefoc/Arduino-FOC/blob/master/src/drivers/hardware_specific/teensy_mcu.cpp

Putting it another way I suspect that our hardware specific logic for teensy would work for due - but probably worth breaking them out as they may diverge.

from arduino-foc.

askuric avatar askuric commented on September 12, 2024

Hey guys,
This is a great issue, but we will need some help here I think.
I do not own a due and we will need some volunteers to provide us with some examples of working codes samples. Otherwise it will take some time until we resolve it and it is a shame a bit :D

from arduino-foc.

askuric avatar askuric commented on September 12, 2024

Arduino DUE is supported from this moment. The support is currently in the dev branch and it will pass in the next release. It supports all drivers and all the features except 6PWM mode. If I will have enough time I'll try to squeeze that as well into the next release. Here is the link for current version of the library in dev:
https://github.com/simplefoc/Arduino-FOC/tree/dev

The support enables combining the pwm and timer pins at the same time and for now we support only the pwm pins supported with the Arduino implementation. Let us know if you are interested in having fuller support!

from arduino-foc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.