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

TDA4VH-Q1: how to obtain the status of SOC through MCU wether the SOC has been safe-shutdowned

Part Number:TDA4VH-Q1Other Parts Discussed in Thread:TDA4VM

1. what is the direct instruction for SOC to safely power down (ie, something like echo 1>/proc/path/to/safe_shutdown_interface)?

2. After the SOC core or SOC domain is safely powered down, the code on the SOC domain is no longer able to run. At this point, how does the MCU domain know if the SOC domain has been safely powered off?

Shine:

感谢您对TI产品的关注!由于问题比较复杂,已将您的问题发布在E2E英文技术论坛上,由资深的英文论坛工程师为您提供帮助。 您也可以点击下帖链接了解进展:https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1315721/tda4vh-q1-safe-shutdown

,

Shine:

tianqiang zheng 说:1. what is the direct instruction for SOC to safely power down (ie, something like echo 1>/proc/path/to/safe_shutdown_interface)?

SoC low power modes like MCU only mode, Suspend to RAM etc. are not supported in the SDK today for TDA4VH.

Remoteproc shutdown and restart is supported from Linux remoteproc driver but the firmwares today are not supporting this.

Is the intent for this going to a lower power state and then coming back to full functionality upon a wakeup?

tianqiang zheng 说:2. After the SOC core or SOC domain is safely powered down, the code on the SOC domain is no longer able to run. At this point, how does the MCU domain know if the SOC domain has been safely powered off?

There are Sciclient APIs which help here, but again as I mentioned the SDK today doesn't support the SoC low power modes.

,

tianqiang zheng:

1. Yes, our original intention was that the SOC domain could be safely powered off while the MCU domain could maintain operation, and the MCU could obtain the status of whether the SOC was safely powered off to save power consumption.

2. However, if the SDK does not support it, perhaps our upper level applications also need to make corresponding adjustments.

,

tianqiang zheng:

Do you have any recommended solutions for our original intention?

Is this issue not supported by the SDK, or is it impossible to achieve in hardware design?

,

Shine:

已跟进,请关注帖子的回复。

,

Shine:

The hardware design allows you to support MCU only mode i.e. where only the MCU domain is operational and the MAIN domain is powered off to save power. This is supported in the TDA4VM SDK, see here. It is just not supported in the TDA4VH SDK today. Plan for the same is in SDK10.0 coming in 15 July 2024.

,

tianqiang zheng:

I read the description and it says that the TP134 pin will change its voltage from 1.8v to 0v when switching from active state to mcu only state.Is there a register in MCU to indicate the status of TP134 pin? If so, can we read the status of the register directly?

,

Shine:

已跟进,请关注帖子的回复。

,

Shine:

These are not mapped to any register but are just test points reflecting the state of the H_MCU_PORz and H_SOC_PORz signals in the SoC on the TDA4VM EVM. These test points will differ when you are running things on a custom board.

TP133 → H_MCU_PORz
TP134 → H_SOC_PORz

,

tianqiang zheng:

Ok, and there's another problem needs to be confirmed, is there a software interface for shutting down SoC domain only?

That's to say, an interface like(ie, echo 1 > /proc/path/to/shut_down_soc or something else), which only shuts down SoC domain, and it does not shut down the SoC domain and the MCU domain together in the same time.

,

tianqiang zheng:

More specifically, what are the software interfaces of shutdown SoC only and shutdown SoC and MCU at the same time?

1. what's the software interface to shutdown the SoC domain only?2. what's the software interface to shutdown the SoC domain and MCU domain at the same time?

,

Shine:

已跟进,请关注帖子的回复。

,

tianqiang zheng:

您好,您又将原问题提了一遍。请注意我最新回复的表述是不同的,我们要确认的是这样的问题:

1. 有一个上层的软件接口或者命令,发布这个命令后,只关闭芯片的主域(SoC domain),也就是说,只关闭8个A72核和6个主域R5核以及DSP等。

2. 有一个上层的软件接口或者命令,发布这个命令后,关闭芯片的主域和所有MCU域,或者说关闭整个die。

我上面的表述确定是和SDK支持度一样的问题吗?如果等到支持的SDK发布,项目都不知道进行到什么地方了,而我们需要确认外部硬件设计。如果实在不支持我的表述,可否在现有SDK中独立出patch给我们这个功能并明确接口,谢谢。

,

tianqiang zheng:

OK,回头再看了下,确实需要sequence支持。这个可以单独patch吗?

,

Shine:

抱歉,已更新。

您也可以用的公司邮箱在e2e上注册,直接回复帖子。

,

tianqiang zheng:

您好,我在那个帖子跟进回复了,但那个帖子被置为 resolved 了,我不确定 owner 是不是还看得到我后续的回复。TI 方面的 owner 可以修改帖子状态为 resolved 吗?

,

Shine:

tianqiang zheng 说:但那个帖子被置为 resolved 了,我不确定 owner 是不是还看得到我后续的回复。

点了resolved还是能看到的,只要回复了帖子,owner就能看到。

赞(0)
未经允许不得转载:TI中文支持网 » TDA4VH-Q1: how to obtain the status of SOC through MCU wether the SOC has been safe-shutdowned
分享到: 更多 (0)

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