完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
你好
哪些寄存器可以在STUSB4500上读/写?注册地址是什么? 数据表仅提及NVM参数及其默认值,您如何通过i2c设置它们? 谢谢 JM 以上来自于谷歌翻译 以下为原文 Hi Which registers can be read/write on the STUSB4500? What are the register addresses? The datasheet only mentions the NVM parameters and their default values, how do you set them via i2c? Thanks JM |
|
相关推荐
10个回答
|
|
你好,
STUSB4500完整寄存器映射即将在st.com的产品网页上提供。 在此期间,您可以通过联系技术支持中心获取更多信息: https://www.st.com/content/st_com/en/support/support-home.htmlhttps://my.st.com/ols 上电时,设备使用存储在NVM内存中的配置。 您可以使用STSW-STUSB002工具生成的二进制文件,通过I2C接口写入NVM来更改默认NVM配置。 然后,在加载NVM之后,您还可以通过写入I2C寄存器来即时更改其配置。例如,您可以根据附加的电源功能将PDO更改为请求。 默认的STUSB4500 I2C从设备地址是: - 二进制:0b01010000 - 十六进制8位: 读取为0x50 0x51表示写入 - 十六进制7位(无R / W位): 0×28 要访问的R / W寄存器示例: 问候。 以上来自于谷歌翻译 以下为原文 Hello, The STUSB4500 full register map will be available soon on the product web-page at st.com. On the meantime, you can get more information by contacting the technical support center:
At power up, the device uses the configuration stored in the NVM memory. You can change the default NVM config by writing the NVM with I2C interface, using the binary file generated by STSW-STUSB002 tool. Then, after the NVM is loaded, you may also change its configuration on-the-fly by writing to the I2C registers. For instance you can change live the PDO to requests depending on the attached Power source capabilities. The default STUSB4500 I2C slave address is : - Binary: 0b01010000 - Hexadecimal 8bit: 0x50 for Read 0x51 for Write - Hexadecimal 7bit (without R/W bit): 0x28 Example of R/W registers to access:
Regards. |
|
|
|
|
|
|
|
嗨,
是否提供完整的STUSB4500寄存器文档? 我已向ST提交了技术请求,但我没有收到任何回复。 以上来自于谷歌翻译 以下为原文 Hi, Is the full STUSB4500 register documentation available yet? I have submitted a technical request to ST but I haven't received any response. |
|
|
|
嗨,
SW库可用于编程STUSB4500的NVM存储器。它包含解锁和访问NVM的算法。 在st.com上正式发布之前,在线支持团队应该能够提前提供给您 以上来自于谷歌翻译 以下为原文 Hi, A SW library is available to program the NVM memory of STUSB4500. It contains the algorithm to unlock and access the NVM. The online support team should be able to provide it to you in advance, before the official publication on st.com |
|
|
|
编程STUSB4500 NVM内存的一个更简单的替代方法是将STUSB4500 GUI与STM32 Nucleo板配合使用。
Nucleo板只需10美元。因此它是一种低成本的I2C编程工具,可以通过刷新正确的固件来使用。 https://www.st.com/en/evaluation-tools/nucleo-f072rb.html 您只需要将Nucleo板上的I2C引脚(SCL,SDA,GND)连接到位于STUSB4500的电路板的I2C引脚。 然后,您可以使用GUI配置设备。 STSW-STUSB002:STUSB45的图形用户界面 以上来自于谷歌翻译 以下为原文 A simpler alternative to program the STUSB4500 NVM memory is to use the STUSB4500 GUI with a STM32 Nucleo board. The Nucleo board is only $10. So it is a low cost I2C programming tool, and ready to use by flashing the right firmware. https://www.st.com/en/evaluation-tools/nucleo-f072rb.html You just need to connect the I2C pins (SCL, SDA, GND) from the Nucleo board to the I2C pins of the board where is located STUSB4500. Then you can use the GUI to configure the device. STSW-STUSB002 : Graphical User Interface for STUSB45 |
|
|
|
嗨,
我仍然没有听到我的支持请求(案例ID 00065283) 我有可以和STSW-STUSB002一起使用的Nucleo板和STEVAL-ISC005V1板。 我一直试图通过监控板之间的IC2来对协议进行反向工程,但看起来它并不是一个简单的R / W寄存器协议。 如果协议被记录下来,当然会容易得多。 我想在目标板上使用micro来配置和监控STUSB4500在运行期间,以便我可以在测试时通过固件升级重新配置它。 以上来自于谷歌翻译 以下为原文 Hi, I have still heard back nothing from my support request (case Id 00065283) I have the Nucleo board and the STEVAL-ISC005V1 board which I can use with STSW-STUSB002. I have been attempting to reverse engineer the protocol by monitoring the IC2 between the boards but it appears it's not a simple R/W register protocol. It would be much easier of course if the protocol was documented. I would like to use the micro on my target board to configure and monitor the STUSB4500 during operation so that I can reconfigure it via firmware upgrades while I'm testing. |
|
|
|
嗨,
如果您的应用中有微控制器,使用它通过I2C直接配置USB-PD控制器确实更方便。 有一个库可用于从微控制器配置STUSB4500。它将在ST审查过程完成时在线发布(这是任何出版物的必要过程)。 因此,目前在线支持服务是从ST获得帮助的合适场所。 但随着向新的在线支持工具的过渡,可能需要更长的时间才能级联到合适的支持团队。这可能就是您的机票尚未处理的原因。 以上来自于谷歌翻译 以下为原文 Hi, If you have a microcontroller in your application, indeed it is more convenient to use it to configure directly the USB-PD controller by I2C. There is a library available to configure the STUSB4500 from a microcontroller. It will be published online when the ST reviewing process will complete (which is a required process for any publication). So for now the online support service is the right place to go to get help from ST. But with the transition to the new online support tool, it can take longer to cascade to the right support team. That may be why your ticket has not been processed yet. |
|
|
|
嗨,
现在,我可以通过IIC寄存器动态调整PDO电压。(0x85~0x90)。 但我想知道如何通过MCU将NVM编程到STUSB4500? 以上来自于谷歌翻译 以下为原文 Hi, Now, I can dynamically adjust the PDOs voltage through the IIC register.(0x85~ 0x90). but I want to know how to program NVM to STUSB4500 through MCU? |
|
|
|
嗨,
有一个软件库可以通过MCU对STUSB45 NVM内存进行编程。 在公开发布之前,请联系在线支持以获取该软件。 以上来自于谷歌翻译 以下为原文 Hi, There is a software library to program the STUSB45 NVM memory with a MCU. Please contact the online support to get the software before the public release. |
|
|
|
大家好,
STEVAL-ISC005V1还有两个问题: 1个I2C上拉电阻各为2k2欧姆。当STEVAL-ISC005V1未上电时,它们正在杀死I2C通信。拆焊它们解决了这个问题。可能只需将SDA上拉电阻脱焊即可。 2文档中存在问题:UM2398(Rev01)第18页,图22:电阻(R82,R83)顺序与我所用电路板的顺序不匹配。 以上来自于谷歌翻译 以下为原文 Hi All, Two more issues with the STEVAL-ISC005V1: 1 I2C pullup resistors are 2k2 Ohm each. And they are killing I2C communication when the STEVAL-ISC005V1 is not powered. Unsoldering them fixed the problem. Possibly unsoldering SDA pullup resistor only could be enough. 2 There is a problem in the documentation: UM2398 (Rev01) page 18, Figure 22 : The resistors (R82, R83) order doesn't match the order in the board I have. |
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
2718 浏览 1 评论
3235 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1807 浏览 1 评论
3645 浏览 6 评论
6033 浏览 21 评论
1334浏览 4评论
208浏览 3评论
196浏览 3评论
对H747I-DISCO写程序时将CN2的st-link复用为usart1,再次烧录时无法检测到stlink怎么解决?
350浏览 2评论
STM32G474RE芯片只是串口发个数据就发烫严重是怎么回事?
440浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-20 13:34 , Processed in 2.312766 second(s), Total 94, Slave 78 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号