|ARM Technical Support Knowledge Articles|
Applies to: ARM Development Tools
Information in this knowledgebase article applies to:
On the TI/Luminary LM3S8962 board, the CAN example projects supplied with MDK-ARM V4.22a should use the OLED display, but nothing displays.
The rit128x96x4.c module supplied in the C:\KEIL\ARM\Boards\Luminary\EK-LM3S8962\ folder is not configured properly for the EK-LM3S8962 board.
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
#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.
The above changes will be included in the next MDK-ARM update.
Request the files attached to this knowledgebase article.
Article last edited on: 2011-11-28 07:37:52
Did you find this article helpful? Yes No
How can we improve this article?