TI中文支持网
TI专业的中文技术问题搜集分享网站

TDA4VM: GPIO resource isolation

Part Number:TDA4VMOther Parts Discussed in Thread: SYSCONFIG

你好,

我想问一下TDA4VM上有关于GPIO的硬件隔离吗

因为在控制GPIO的时候发现,MAIN域的linux系统和RTOS系统以及WKUP/MCU域的MCU1_0可以同时控制GPIO0_71这个MAIN域的GPIO

WKUP域的WKUP_GPIO0_10也可以同时被linux和MCU1_0控制

芯片手册上将GPIO分为MAIN域和WKUP域,我的理解是MAIN域的GPIO只能被MAIN域的核控制,WKUP域GPIO只能被WKUP域的核控制,是这样吗

Thanks in advance.

Regards,

Xiuqi Huang

Shine:

xiuqi huang 说:芯片手册上将GPIO分为MAIN域和WKUP域,我的理解是MAIN域的GPIO只能被MAIN域的核控制,WKUP域GPIO只能被WKUP域的核控制,是这样吗

是的。

,

xiuqi huang:

那具体是通过什么模块来实现MAIN域和WKUP域的资源分离呢,因为在实际实验过程中,发现MAIN域的核也能控制WKUP域的GPIO,WKUP/域的核也可以控制MAIN域的GPIO

,

Shine:

我和产品线工程师确认一下,是可以互相访问的。抱歉,请忽略我之前的回复。the MAIN domain and MCU/WKUP domain are connected to each other, so this is possible.

,

xiuqi huang:

非常感谢您的回复,如果是这样的话,有没有什么方法使GPIO同时只能受一个系统的控制,还是说只能人为的去避免两个系统使用同一个GPIO

,

Shine:

把您的问题升级到英文e2e论坛了,请关注下面帖子的回复。https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1193256/tda4vm-interconnect-between-gpio-main-domain-and-wkup-domain

,

xiuqi huang:

好的,非常感谢

,

Shine:

我看您在e2e上也发帖了,请关注帖子的回复。https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1193632/tda4vm-gpio-resource-isolation

,

xiuqi huang:

好的

,

Shine:

看到e2e工程师已经回复您。

What I meant to ask is, does simply disabling the GPIO in the Linux device tree (or in RTOS) resolve the issue? Or do you completely want to block access to the GPIO from certain cores?

If you are wanting only a specific initiator (ex: MCU R5 ) to have access to the GPIO, you should be able to use the GPIO peripheral firewall. Please see section 3.3.4.2.1 (Peripheral Firewalls) in SPRUIL1C. The table in that section should give the firewall register base address (ex: GPIO0 = 0x45004000). Privilege IDs for different initiators can be found in section 3.3.4.1.2 (Priv ID and ISC Assignment) in SPRUIL1C. 

From a software implementation perspective, the following app note (section 4) mentions that the SysConfig tool could be used to assign firewalls and integrate it's output with SDKs. 

https://www.ti.com/lit/pdf/spracx6 

赞(0)
未经允许不得转载:TI中文支持网 » TDA4VM: GPIO resource isolation
分享到: 更多 (0)

© 2024 TI中文支持网   网站地图 鲁ICP备2022002796号-1