TI E2E Community
Tiva™ ARM® Microcontrollers
Tiva™ ARM® C Series Microcontrollers Forum
[SOLVED] How to blink the led on EKS-LM4F232
Sorry. Please ignore the post.Problem solved. The call to ROM_GPIOPinWrite() is wrong:
The 2nd argument to the function is a mask for which pins you want to alter
The 3rd argument contains the values you want to set the pins to (only affecting those pins specified by the mask).
I have EKS-LM4F232 And I want to blink the led of the EKS-LM4F232 eval board
I started from blinky.c example in the stellarisware package:
Why using ROM_GPIOPinWrite() it doesn't works and instead using GPIO_PORTG_DATA_R it works?
How to make it works using ROM_* function calls?
Good for you - however had the Led been placed on GPIO_PIN_0 - your earlier code would have "worked" - caused even more head-scratching when that same "1" - applied to higher order pins - fails every time...
On EKS-LM4F232 the user led is on PG2 pin
We know that (point was that "1" works to set GPIO_PIN_0 only high).
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.