I am coming back from some (years) time not doing much programming. I am an experienced AVR programmer and some people her might possible remember me. What happens now is that I will be doing some real development again and that I will switch to ARM. But time has not been kind, much have happened and I realise it was hard to catch up. I have been going through an ARM course (youtube) and fiddled just a little with an SAMD20 Xplained Pro kit.
My basic problem is this:
I want to have help setting up a new project and was hoping to get that from some of the examples. But I can't find information about the various include files. It is a sort of "there to start" problem. When I start working with a new microcontroller, like I did with XMEGA, I like to grab a demo project and when browse through all of the initialization and include files until I understand them. But in this case, I have problem making sense of it. First there are so many more files involved and secondary it changes very much from example to example. I haven't really been able to find the right document to get the hold on the CMCIS either. I think I will prefer to use CMSIS for at least initilization and I have read a little of the user guide for M0 at arm.com and some other documents from Atmel. I have more to read there but so far I have not find a good and comprehensive place that give me a list of what files to use when I want to use a specific peripheral.
Say that I want to set up the interrupt controller and a timer. I am looking for for the CMSIS setup files and drivers for those functionality in SAM D20. Should it be so hard to find?What am I missing here? I have decided to go for Atmels ARM series, Atmel Studio, GCC and SAMD20 to begin with.