ARM ASF tutorials

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello.

Is it anyone aware of any web page that contains tutorials and/or example programs for ASF? I am mostly interested for interrupts and events.

The example programs from Atmel are not enough for me and neither their documentation as I am not totally understanding them. Is it anything for dummies?

 

Thanks

 

Efthymios

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Check out the application notes:

 

https://www.microchip.com/wwwcategory/TaxonomySearch.aspx?show=Application%20Notes&ShowField=no#

 

For example, search for SAM D21 and you get a nice list.

 

Also tons of examples here http://asf.atmel.com/docs/latest/

"When all else fails, read the directions"

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I have downloaded all the application notes (around 110 PDF files) for the SAMD20 that I have. I have also looked at the examples at asf.atmel.com.

 

For both cases, they contain examples that are sometimes slightly badly written or they might not explain everything. Especially for TCs, the examples seem to have plenty of mistakes.

Also, in the Event subsystem examples (only 2 examples exist), the 'polling' example is almost useless with no meaning.

 

Generally speaking, it is taking me decades of hours in order to get understanding due to the possible mistakes they have. For example, in the AT03665, in a figure for the PWM normal mode, there seems to be an error which took me a couple of hours to realize. Look at my fixes bellow (in red and blue).

 

Also, inside the documentation, some things are ambiguous. An example is the case where they talk about the 32kHz internal clock. Is it really a 32000Hz or it is a 32768Hz? They have a reference design with a 32768Hz external clock but they still call it 32kHz external clock. I am sure that inside their PDFs it will have somewhere a clarification about that but these are 1000s of pages to read.

 

All these things need to be clarified from my side and that is the reason I am searching any 3rd party tutorials (hoping to find something for dummies).

 

Unfortunately, I can not find any tutorial for SAMD20.sad

 

I feel that in the future I will end up writing one!cheeky