Jump to content
43oh

hunjit

Members
  • Content Count

    0
  • Joined

  • Last visited

Reputation Activity

  1. Like
    hunjit reacted to squalyl in hard fault when accessing GPIO configuration registers via AHB   
    Yes, we crossed messages !
     
    as always, writing about my problem made me find it.
     
    I'm now setting the correct bit in GPIOHBCTL, and it works \o/
     
    So guys, in order to access GPIO via the AHB addresses, you have to set the correct bit for your port in the GPIOHBCTL register, address 0x400fe000+0x06C , page 247 of datasheet !
     
    Hope it can be useful to someone else!
  2. Like
    hunjit reacted to squalyl in hard fault when accessing GPIO configuration registers via AHB   
    Small update: beware of the GPIODATA register    Adress lines 9..2 act as a mask, so it's useless to write at GPIODATA+0x000 See page 608 of datasheet...
     
    The LM4F is the first microprocessor that forces me to do that much RTFM!
×
×
  • Create New...