I am in need of mmap to use GPIO01 in NVIDIA Jetson Xavier NX Developer Kit Carrier Board P3509_A01.
I check that GPIO01 is being controlled by GPIO_CTL2_GPIO3 (PQ.05)
#define GPIO_CTL2_GPIO3_BASE = 0x02233000
addr = mmap(NULL, 0x1000,PROT_READ | PROT_WRITE, MAP_SHARED, fd, GPIO_CTL2_GPIO3_BASE);
=> But when I write the value to addr it doesn’t actually output the value to Pin.
Can anyone show me how to make it work?