Power & Source of Big Ideas

NANO M4 GPIO Physical memory map base address

Moderators: chensy, FATechsupport

Congratulations on the M4, very nice!

I am converting some existing software from RPI which uses direct memory mapped access to the GPIO ports.

Does anybody know the (physical) base address for the GPIO ports for the M4 (i.e. as mapped by software, not necessarily the same as the direct access addresses as shown on the RK3399 data sheet)

Thanks in advance
1. http://wiki.friendlyarm.com/wiki/index.php/WiringPi_for_RK3399 - section 4.1, pay attention to it.
2. http://wiki.friendlyarm.com/wiki/index.php/NanoPi_M4 - section 3.1, pay attention to it.
I myself have not gotten to work with GPIO, but the other day I will try it inapplicable.

Sincerely, Pavel.
Thanks, but that doesn't solve the problem. There is no mention of physical memory map adresses in those references. Nor there is in the WiringPi source code in github (the current sourcecode version doesn't seem to cover the M4)

What I am after is the physical start address of the GPIO block(s), this is the one entered in the mmap() function call. See for example (for the Odroid XU4)

https://wiki.odroid.com/odroid-xu4/appl ... apped_gpio


Who is online

In total there are 3 users online :: 0 registered, 0 hidden and 3 guests (based on users active over the past 5 minutes)
Most users ever online was 106 on Tue Jun 04, 2019 5:48 pm

Users browsing this forum: No registered users and 3 guests