想知道am335x 的timer5寄存器地址的值如何得到,根据什么样的公式算出的,想要操作timer5的pwm,操作如下的方式,但不知道地址怎样得到:
#configurations changed for Timer6
# Enable Timer4's clock in CM_PER
# This allows us to access it's control regs
#devmem2 0x44e00088 w 0x2
Nancy Wang:
查看TRM 2.1章节memory map部分。
http://www.ti.com/lit/ug/spruh73p/spruh73p.pdf
DMTIMER5 0x4804_6000 0x4804_6FFF 4KB DMTimer5 Registers
各个寄存器的offset查看20.1.5章节。