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  [ 1 post ] 
Author Message
 Post subject: ATT: AT91lib devteam: bug?
PostPosted: Mon Apr 21, 2008 4:41 pm 
Offline

Joined: Mon Apr 21, 2008 4:18 pm
Posts: 1
Hello,
I believe there is a bug in the lcd-related part of at91lib:

- In the function "LCD_SetHorizontalTimings" the horizontal front porch is treated as a 8-bit value starting from bit 24 of LCDC_TIM2, whereas according to the datasheet HFP is a 11-bit value starting from bit 21 of LCDTIM2.

- Similarly (but not identically), the AT91SAM9RL64.h header file defines HFP as "#define AT91C_LCDC_HFP (0x3FF << 22)" which appears to be wrong for the same reason.

It's not a huge issue, but either the datasheet or the sources are wrong. :wink: Could you please fix it...?

cheers,
Max


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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: