This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Luminary ek-LM3S8962 display driver incorrect

Note: This was originally posted on 23rd November 2011 at http://forums.arm.com

Trying to run the sample programs located in c:\Keil\ARM\Boards\Luminary\ed-lm3s8962\RL\CAN\CAN_Ex1 and found that the OLED display code in rit128x96x4.c is incorrect.
At the top of this file you'll find this incorrect code:


#define SYSCTL_PERIPH_GPIO_OLEDDC   SYSCTL_PERIPH_GPIOC
#define GPIO_OLEDDC_BASE            GPIO_PORTC_BASE
#define GPIO_OLEDDC_PIN          GPIO_PIN_7
#define GPIO_OLEDEN_PIN          GPIO_PIN_6

The evaluation kit from Texas Instruments should be:


#define SYSCTL_PERIPH_GPIO_OLEDDC   SYSCTL_PERIPH_GPIOA
#define GPIO_OLEDDC_BASE            GPIO_PORTA_BASE
#define GPIO_OLEDDC_PIN          GPIO_PIN_6
#define GPIO_OLEDEN_PIN          GPIO_PIN_7

If you're not getting anything on the display then use the code accessing GPIOA above. Note that the IAR development system has the correct code.
Could the people managing the Keil toolchain please correct this.

-Gary
0