Quantcast
Channel: Embedded Software (Read Only)
Viewing all articles
Browse latest Browse all 25965

Forum Post: RE: BBB: Can't toggle GPIO1[1]

$
0
0

Hello

to convert the output of the pinmux tool you have to do the following steps

first at mux.h replace

#define MUX_VAL(OFFSET,VALUE) writel((VALUE), AM335X_CTRL_BASE + (OFFSET));

with

HWREG( SOC_CONTROL_REGS + (OFFSET)) = (VALUE);

and  #include "hw_types.h"

at pinmux.h

 #include "mux.h" 

and delete  /* Design Status: NO ERRORS */ and Spaces  


Viewing all articles
Browse latest Browse all 25965

Trending Articles



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