Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: AT91 Library
PostPosted: Sun Jun 22, 2008 9:10 am 
Offline

Joined: Sun Jun 22, 2008 8:32 am
Posts: 1
Location: Germany
Has anybody found a description to the AT91 Library?

I have found a document (from ATMEL) but it seems to be out of date because the AT91lib that comes with Software_Package_V1.4 (softpack-1.4-at91sam7s-ek-web)
doesn't match with what is described here.

Also I have noticed that the SPI and TWI application notes do not use the library. Instead a file lib_AT91SAM7S64.h, lib_AT91SAM7S256.h etc. is used.
This header file is also used in most of the code that is available from the internet. Why this? Has it been part of a former version of the library - now not supported anymore?

I think those libraries that manufacturers supply with their controllers are a good idea to get more in the direction of reusable code and to get started more quickly. However the actual implementation is not satisfying.

The TWI Application note / code has some hints torwards the Hardware bugs in the Controller. In the AT91 Library I do not find anything - so wondering has it been taken into account? Are the TWI bugs in every AT91 controller or just SAM7S - I haven't compared all the errata sheets.


Top
 Profile  
 
 Post subject: Re: AT91 Library
PostPosted: Mon Jun 23, 2008 8:54 am 
Offline

Joined: Thu Dec 02, 2004 2:28 pm
Posts: 454
odebus wrote:
Has anybody found a description to the AT91 Library?

I have found a document (from ATMEL) but it seems to be out of date because the AT91lib that comes with Software_Package_V1.4 (softpack-1.4-at91sam7s-ek-web)
doesn't match with what is described here.

Also I have noticed that the SPI and TWI application notes do not use the library. Instead a file lib_AT91SAM7S64.h, lib_AT91SAM7S256.h etc. is used.
This header file is also used in most of the code that is available from the internet. Why this? Has it been part of a former version of the library - now not supported anymore?

you are right. in the past there exists the lib_AT91SAM7Sxxx.h. in most of the examples some .html files were included which was acting a an api documentation.

some months ago atmel started with software packages, whioch you can find now on the atmel homepage.

odebus wrote:
The TWI Application note / code has some hints torwards the Hardware bugs in the Controller. In the AT91 Library I do not find anything - so wondering has it been taken into account? Are the TWI bugs in every AT91 controller or just SAM7S - I haven't compared all the errata sheets.

i would suggest to check the erratas.

regards
gerhard


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: