Skip to content

Instantly share code, notes, and snippets.

😇

Pranav Kumar pranav083

😇
  • Chandigarh,India
Block or report user

Report or block pranav083

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View 74hc299_bi.asm
.origin 0
.entrypoint start
#define GPIO0 0x44E07000
#define GPIO1 0x4804C000
#define GPIO2 0x481AC000
#define GPIO3 0x481AE000
#define GPIO_OE 0x134
#define GPIO_DATAIN 0x138
View 74hc299_10_in.asm
.origin 0
.entrypoint start
#define GPIO0 0x44E07000
#define GPIO1 0x4804C000
#define GPIO2 0x481AC000
#define GPIO3 0x481AE000
#define GPIO_OE 0x134
#define GPIO_DATAIN 0x138
@pranav083
pranav083 / 74hc299_11_10.p
Last active Jul 2, 2019
interface of two 74hc299 in cascade with beaglebone black
View 74hc299_11_10.p
.origin 0
.entrypoint start
#define GPIO0 0x44E07000
#define GPIO1 0x4804C000
#define GPIO2 0x481AC000
#define GPIO3 0x481AE000
#define GPIO_OE 0x134
#define GPIO_DATAIN 0x138
@pranav083
pranav083 / P8_12.P
Last active Jun 30, 2019
INPUT AT P8_16 PIN
View P8_12.P
.origin 0
.entrypoint START
#define GPIO0 0x44E07000
#define GPIO1 0x4804C000
#define GPIO2 0x481AC000
#define GPIO3 0x481AE000
#define GPIO_OE 0x134
@pranav083
pranav083 / PRU-GPIO-EXAMPLE1.dts
Last active Jun 20, 2019
pru pinmux not working
View PRU-GPIO-EXAMPLE1.dts
/dts-v1/;
/plugin/;
/ {
compatible = "ti,beaglebone", "ti,beaglebone-black", "ti,beaglebone-green";
// identification
part-number = "PRU-GPIO-EXAMPLE2";
version = "00A0";
@pranav083
pranav083 / P8_11.p
Created Jun 19, 2019
GPIO IN MODE 6 IS not working for pin no. p8_11
View P8_11.p
.origin 0
.entrypoint start
#define GPIO0 0x44E07000
#define GPIO1 0x4804C000
#define GPIO2 0x481AC000
#define GPIO3 0x481AE000
#define GPIO_OE 0x134
View shift.p
.origin 0
.entrypoint start
#define GPIO0 0x44E07000
#define GPIO1 0x4804C000
#define GPIO2 0x481AC000
#define GPIO3 0x481AE000
#define GPIO_OE 0x134
#define GPIO_DATAIN 0x138
View PRU-GPIO-EXAMPLE2.dts
debian@beaglebone:~$ more /lib/firmware/PRU-GPIO-EXAMPLE2.dts
/dts-v1/;
/plugin/;
/ {
compatible = "ti,beaglebone", "ti,beaglebone-black", "ti,beaglebone-green";
// identification
part-number = "PRU-GPIO-EXAMPLE2";
version = "00A0";
@pranav083
pranav083 / GPIO_p8_11_led3.p
Created Jun 11, 2019
gpio not working p8.11
View GPIO_p8_11_led3.p
.origin 0
.entrypoint START
// the number of times we blink the LED
#define NUMBER_OF_BLINKS 10
#define GPIO_BANK1 0x4804c000
#define GPIO1_LED3BIT 1<<24
#define GPIO_SETDATAOUT 0x194
#define GPIO_CLEARDATAOUT 0x190
View GPIO_p8_11_led3.p
.origin 0
.entrypoint START
// the number of times we blink the LED
#define NUMBER_OF_BLINKS 10
#define GPIO_BANK1 0x4804c000
#define GPIO1_LED3BIT 1<<24
#define GPIO_SETDATAOUT 0x194
#define GPIO_CLEARDATAOUT 0x190
You can’t perform that action at this time.