Keil Logo

ARM: OLED Display on TI LM3S8962 Board


Information in this knowledgebase article applies to:

  • MDK-ARM V4.22a and earlier

SYMPTOM

On the TI/Luminary LM3S8962 board, the CAN example projects supplied with MDK-ARM V4.22a should use the OLED display, but nothing displays.

CAUSE

The rit128x96x4.c module supplied in the C:\KEIL\ARM\Boards\Luminary\EK-LM3S8962\ folder is not configured properly for the EK-LM3S8962 board.

RESOLUTION

Change the following 4 defines at, or about lines 48-51:

#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

To:

#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

Updating this file allows all of the EK-LM3S8962 example projects that use the OLED to display properly once they are re-built.

STATUS

The above changes will be included in the next MDK-ARM update.

SEE ALSO

  • This issue was originally reported on the ARM forum.

Last Reviewed: Monday, November 28, 2011


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.