It will need to compile with Atmel Studio or Keil ARM, please indicate on your bid the tool you will use.
You will have to substitute all the arduino functions calls used in the project for other C functions that can compile and run w/o the Arduino IDE.
Notice that most of the code is in C and will need no changes but you will have to replace Arduino functions like [url removed, login to view](), pinMode(), attachInterrupt() or [url removed, login to view]() to name a few, for your own, name them as you like, per example [url removed, login to view]() could be replaced by something like InitSPI().
I want it to be done using Direct Register Access instead of the Atmel Software Framework(ASF).
Erase the bootloader and use a standard programmer and the SWD port to program and debug the project.
The USB port is non necessary anymore but since Mechaduino Project uses the serial port to communicate with the host PC please connect a Serial to USB converter to the TX-RX pins of the SAMD21.
You will of course need to have experience with the SAMD21 IC and Atmel Studio or Keil ARM, you will also need a 30VDC 1A Power Supply.
The reason I give this work to somebody else is because even I've been using 8051s and PICs for the last two decades I don't have too much practical experience yet with ARM Controllers, I have only read some books and played a little bit, and I know there are plenty of experienced developers here on Upwork that will be able to handle this job with ease.
If I were going to do it myself I'd start from the beginning with a blank page, define the I/O pins first, then test the I/Os, create and test the USART functions, then configure the SPI and read the AS5047 Magnetic Encoder and progressively add and test fragments of code and functions, but this is me, you are free to do it as you prefer, but it should work exactly the same as the Arduino code.
Just do a search on the Internet with the word "mechaduino" and you will find all the information, User's Guide, videos and source code.
This task is not only port the code and achieve it to compile w/o errors or warnings, it should be tested with a real Mechaduino, I will send a Mechaduino unit plus the Serial to USB Converter to the selected applicant.
Hello, I have experience with SamD but much more with cortexm3 and 4 then cortexm0 like the samd21c, but there is no bog difference in terms of peripheral programming so it should be ok. I believe I should be able to Daha Fazla