hello,
I have timing critical gpio requirement. GPIO 0-3 So I bi passed c gpio calls and manually did it
HWREG(0x44025050)=0x00000001; //Enable GPIO clocks for A0 GPIO 0-7 page 41 420 435
HWREG(0x4402E0A0)=0x00000420; //GPIO 0 Pin 50 To GPIO and No Pullup Page 491 498
HWREG(0x4402E0A4)=0x00000420; //GPIO 1 Pin 55 To GPIO and No Pullup Page 493 498
HWREG(0x4402E0A8)=0x00000420; //GPIO 2 Pin 57 To GPIO and No PUllup Page 494 498
HWREG(0x4402E0AC)=0x00000420; //GPIO 3 Pin 58 To GPIO and No PUllup Page 494 498
HWREG(0x40004400)=0x000000FF; //Make A0 all outputs GPIO 0-7 all outputs page 40 119 121
HWREG(0x40004004)=0x00000001; //Turn on GPIO 0 50 40 120 116 working
HWREG(0x40004008)=0x00000002; //Turn on GPIO 1 55 40 120 116 not working
HWREG(0x40004010)=0x00000004; //Turn on GPIO 2 57 40 120 116 not working
HWREG(0x40004020)=0x00000008; //Turn on GPIO 3 58 40 120 116 not working
HWREG(0x400040FF)=0x000000FF; //Turn all on at once not working
for some reason only GPIO 0 is turning on....the other ones don't turn on. Did I make a stupid mistake somewhere...comments have page numbers of interest