Microchip
直播中

陈科生

7年用户 165经验值
私信 关注
[问答]

USB2534集线器I2C EEPROM配置

UB2534数据表表示,集线器配置可以存储在I2C EEPROM中,如果SDA、CFGYSEL1和CFGYSEL2被拔起,将在启动时加载。我们想在我们的产品中使用这个设计,但是问题是我们找不到把什么放在EEPROM存储器和什么格式中。26.18描述了如何通过SMBus、OTP和USB来配置,但不描述I2C EEPROM配置。访问和编程EEPROM不是。一个问题:我们设法用PICtiT2写它,我们不打算使用USB到I2C桥;只是I2C EEPROM配置。我们尝试使用PrimouCh2和MPLAB连接配置器,但是在它们中没有任何I2C EEPROM选项。我们使用EVB-UB253BC评估板到TES。有人有关于这个配置方法的信息吗?

以上来自于百度翻译


      以下为原文

    The USB2534 Datasheet states that the hub configuration can be stored in a I2C EEPROM and will be loaded at start-up if the SDA, CFG_SEL1 and CFG_SEL2 are pulled up. We would like to use this design in our product but the problem is that we could not find what to put inside the EEPROM memory and in what format.

AN 26.18 describes how to configure via SMBus, OTP and USB but does not describe the I2C EEPROM configuration.

Accessing and programming the EEPROM is not a problem : we managed to write to it with Pickit2 and we don't plan on using the USB to I2C bridge ; just the I2C EEPROM configuration.

We tried using Protouch2 and MPLAB Connect Configurator but there wasn't any I2C EEPROM option in neither of them.

We use the EVB-USB2534BC Evaluation Board to test the USB2534.


Does someone have any information regarding this configuration method ?

回帖(2)

徐远瑶

2018-11-16 15:13:51
为今后的参考,我收到了一个答案的微芯片专家关于这个问题:“VE内置OTP用于配置,因此客户不需要向BOM成本添加EEPROM。在OTP内存中,您只需对要更改的值进行配置更改即可。对于使用EEPROM的新设计没有任何好处,除非您正计划使用该设备进行开发,这样您就可以在集线器OTP中完成最后的设置。通过EEPROM可获得的配置选项仅限于如图所示的精确寄存器。UB2514B数据表。您只需加载EEPROM与寄存器0x00 - 0xFF所需的寄存器值。EEPROM中的存储器偏移0x00对应于UB2514B寄存器映射寄存器0x00,对应于UB2534寄存器映射的0x3000的寄存器值。EEPROM中的内存偏移0xFF对应于UB2514B寄存器映射寄存器0xFF,对应于UB2534寄存器映射的0x30FF。事业单位;

以上来自于百度翻译


      以下为原文

    For future reference, I have received an answer from the Microchip experts regarding this issue :
 
"
=======================================================
The EEPROM support was designed so that USB2534 can be backward compatible with USB2514B designs (as a drop-in replacement).

For new designs, we have built in OTP for configuration so customers don't need to add an EEPROM to the BOM cost. In OTP memory, you only need to make configuration changes to the values you want to change. There isn't any benefit for new designs to use EEPROM, unless you are just planning to use the device for development purposes so you can finalize on the final settings you want to make in the hub OTP.

The configuration options available via EEPROM are limited to the exact registers as shown in the USB2514B datasheet. You just need to load the EEPROM with the desired register values for registers 0x00 - 0xFF. Memory offset 0x00 in the EEPROM corresponds to register 0x00 of the USB2514B register map, which corresponds to register value of 0x3000 of the USB2534 register map. Memory offset 0xFF in the EEPROM corresponds to register 0xFF of the USB2514B register map, which corresponds to 0x30FF of the USB2534 register map.
=======================================================
"
举报

吴键洪

2018-11-16 15:26:51
为什么他们不能在UB2534数据表中声明要开始呢????

以上来自于百度翻译


      以下为原文

    Why couldn't they have stated that in the USB2534 datasheet to start with???
 
举报

更多回帖

发帖
×
20
完善资料,
赚取积分