Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 224500

Forum Post: RE: QEI0 LM4F230H5QR

$
0
0

Hi,

I add 2 lines and it works!

//You should add two lines before configure PD6 and PD7
      HWREG(GPIO_PORTD_BASE + 0x520) = 0x4C4F434B; //Unlock GPIOCR, see datasheet page 711
      HWREG(GPIO_PORTD_BASE + 0x524) = 0x000000ff; //Change GPIOCR from 0x7f-> 0xff,see datasheet page 712

Goodluck!

Le Manh Hai


Viewing all articles
Browse latest Browse all 224500

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>