Home arrow Support arrow Forums

Luminary Micro Forums

gussabina

Fresh Boarder
Click here to see the profile of this user

2008/06/29 00:57

Convenience of the Peripheral Driver Library

Hi All:
I was looking the Peripheral Driver Library, and I was wondering if it is worth using it in the applications. I mean,I don't know how much easy would be the use as I need to read a 500 pages manual, so I would prefer to program the hardware directly which would provide a better performance...
I would like to hear other comments, specially from those who are using it, or those who consider is not a good stuff.

Thanks in advance;
Gus

login or register to reply

digkleppe

Expert Boarder
Click here to see the profile of this user

2008/06/29 02:51

Re:Convenience of the Peripheral Driver Library

Hi Gus
I think it is very easy to use the lib. The provided examples are very clear, I had my first projects with uart , timers, io , lCD running very quickly , even without reading the manual or datasheet. The graphic and USB lib are great.
Dig

login or register to reply

cb1

Platinum Boarder
Click here to see the profile of this user

2008/06/29 07:59

Re:Convenience of the Peripheral Driver Library

Agree with Dig - as past educator now bsns owner - we "insist" that our programmers use the PD Library.

You don't have to read ALL 600+ pages - just the sections you need for a particular application! In time you will welcome this bulk - and wish for even more!

The merits of the library are speed and ease. Get something working - prove concept(s)- then show client, boss, professor. THEN - if volume/profit justify - you can attempt code optimization.

ARM architecture and C Compiler development have reduced the trade-off between "C" and Assembler. ASM is still faster, more direct, more compact - but substantially more complex...

Some of the newer LMI chips even INCLUDE the PDL in a new, ROM space - freeing (I believe) 15KB or so of flash!

login or register to reply

eolson

Junior Boarder
Click here to see the profile of this user

2008/06/30 12:04

Re:Convenience of the Peripheral Driver Library

The main problem with the PDL is the explicitly unfriendly language regarding the GPL.

I've spoken with Jean Anne Booth, Luminary's CMO, about the this problem. It sounds like they'll change the license on the basic register descriptions to be more friendly, but she seemed less interested on changing the license on the PDL as a whole.

login or register to reply