参数资料
型号: SPT711XPFCE
厂商: Freescale Semiconductor
文件页数: 15/60页
文件大小: 0K
描述: CARD TELEPHONY FARM CRD 711X
标准包装: 1
系列: *
Hardware
disableSwitchPhyAutoPolling();
if (readSwitchPhy(0x0802) == 0x0013)
{
writeSwitchPhy(0x0800, 0x8000);
while ((readSwitchPhy(0x0800) & 0x8000) != 0);
writeSwitchPhy(0x0804, 0x0DE1); // Capabilities
writeSwitchPhy(0x0800, 0x1000); // Enable Auto-Negotiation
if (readSwitchPhy(0x0804) != 0x0DE1)
{ return 1; }
}
if (readSwitchPhy(0x0902) == 0x0013)
{
writeSwitchPhy(0x0900, 0x8000);
while ((readSwitchPhy(0x0900) & 0x8000) != 0);
writeSwitchPhy(0x0904, 0x0DE1); // Capabilities
writeSwitchPhy(0x0900, 0x1000); // Enable Auto-Negotiation
if (readSwitchPhy(0x0904) != 0x0DE1)
{ return 1; }
}
return 0;
}
3.5
I 2 C Bus Devices
There are two I 2 C EEPROM devices on the SPT711XPFCE. One connects only to the VIA Ethernet
switch, and the other connects to all four MSC711x devices. The I 2 C address for the EEPROM connected
to the switch is 0b1010001x. The I 2 C address for the EEPROM connected to MSC711x devices is
0b1010000x. The EEPROM devices are part number M24256-BWMN6G from ST Microelectronics. For
more information, refer to the manufacturer website ( http://www.st.com ).
Example 2 shows how to initialize the interface, write a test pattern to the EERPOM at address
0b1010000x, read the test pattern back, and then erase the EEPROM. To use this code to test the I 2 C
interface, simply write the test pattern using one of the four MSC711x devices and then read the test pattern
back from all four devices. Finally, use one of the four devices to erase the test pattern.
Example 2. I 2 C EEPROM Access Example Code for MSC711x Devices
#define I2C_BUF_SIZE 1024
unsigned char I2C_BUFFER[I2C_BUF_SIZE];
/******************************************************************************
I2C_UP()
Initialize I2C Interface - no interrupts, polling only, master only
ARGS:
d_addr : 7-bit address of this device
RTNS:
0 = Success
1 = Failure
******************************************************************************/
int I2C_UP(unsigned char d_addr)
{
gpio_map_t *pstGPIO = (gpio_map_t *)GPIO_BASE;
i2c_map_t* I2C = (i2c_map_t*) I2C_BASE;
MSC711x Packet Telephony Farm Card (SPT711xPFCE), Rev. 1
Freescale Semiconductor
15
相关PDF资料
PDF描述
SPUSB1AJT SURGE SUPPRESOR USB 12OHM SC70-6
SR-5H-6.3A-BK FUSE 6.3A 250VAC RADIAL SLOW
SR1K20M155X VARISTOR 20VRMS W/RFI SUPP RAD
SRP120LF POLYSWITCH PTC RESET 1.2A STRAP
SRP120SF POLYSWITCH PTC RESET 1.2A STRAP
相关代理商/技术参数
参数描述
SPT-750 功能描述:烙铁 CONTROL BOX ASSEM SP-750T RoHS:否 制造商:Weller 产品:Soldering Stations 类型:Digital, Iron, Stand, Cleaner 瓦特:50 W 最大温度:+ 850 F 电缆类型:US Cord Included
SPT-751 功能描述:烙铁 COVER ASSEMBLY SP-750T RoHS:否 制造商:Weller 产品:Soldering Stations 类型:Digital, Iron, Stand, Cleaner 瓦特:50 W 最大温度:+ 850 F 电缆类型:US Cord Included
SPT7560 制造商:Cooper Wiring Devices 功能描述:
SPT7572 制造商:Cooper Wiring Devices 功能描述:
SPT7610 制造商:CADEKA 制造商全称:CADEKA 功能描述:6-BIT, 1 GSPS FLASH A/D CONVERTER