What framework do people use, ASF4 or ASF3?

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

Hello,

 

I was looking around and have been trying some examples for both frameworks.

So now i was wondering what framework most people use around here and why?

 

The ASF3 framework seems to have better documentation in my opinion. Generating code with ASF4 seems to be quicker though.

 

Some older posts that i have seen have mostly been complaining about ASF4 and its clock generation. Not sure if that is still an issue?

 

Is ASF3 even still used all that much?

 

I'm using the ATSAM series in case that is relevant.

Last Edited: Fri. Jun 26, 2020 - 12:28 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Your thread title didn't include the "wouldn't touch it with a bargepole" option ? cheeky

 

Anyway you posted in AVR-ASF, I'll move this to ARM-ASF

 

(oh and just mention "Start" which seems to be flavour of the month).

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

I occasionally look at ASF[34] and/or Start source code if something in the device data sheet needs clarification. Basically, treating vendor libraries as a secondary reference rather than a solution.

 

Steve

 

Maverick Embedded Technologies Ltd. Home of wAVR and Maven.

wAVR: WiFi AVR ISP/PDI/uPDI Programmer.

Maven: WiFi ARM Cortex-M Debugger/Programmer

https://www.maverick-embedded.co...

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

scdoubleu wrote:
treating vendor libraries as a secondary reference rather than a solution.
yes+1

David

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

So that means most people around here use the bare metal programming way? 

 

Much like the 8 bit avr controllers?

 

I haven't looked into that too much as i thought ASF would be the norm for 32bit but if it's not ill just stick to that as i've done that before.

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

I have used ASF3 in the past with SAM3X8E. I am now using ASF4 for the SAMV71.  The ASF4 tools don't seem that mature. They occasionally hang. But the pin configuration tool is still very worthwhile. I am using 3 USARTs, 2 quadrature decoders, 2 SPI buses, 2 I2C busses, PWM, 15 ADCs. It would be very difficult to configure the pins to avoid conflicts without it.

 

There is an ASF4 manual, but the documentation in it is rather sparse.  The Atmel Start tool does generate nice examples, if you are lucky enough to find one that has a use case similar to yours. That is not always the case though.

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

I've been using ASF4 myself for a couple weeks now and the documentation is indeed rather sparse.