Hi,
Thanks for your time
I have designed the TUSB2046B USB HUB IC as per the standard details which TI referred
I designed four downstream ports in my PCB, i can able to read the data from all four ports
But I couldn't able to read the port status from firmware end. but same firmware which i used for some other HUB (HS8836a) which i bought locally, its through the port status
I have connected the TUSB2046B USB HUB to MAX3421e host controller its connected to atmel microcoontroller
With help of this firmware, i can able to read the port status - but its not working for this scenario, if i neglect in firmware i can able to read the data, unfortunately its require port status as per our requirement.
bool checkUsbPortStatus()
{
uint16_t temp = 0;
uint8_t* portStatus = (uint8_t*)&temp;
for(uint8_t i = 1; i <= 4; i++)
{
Hub.GetPortStatus(i, 2, portStatus);
Serial.println("temp=");
Serial.println(temp);
if(temp & bmHUB_PORT_STATUS_PORT_CONNECTION)
return true;
}
return false;
}
While checking the forum, most of the taking about SUSPEND pin, VBUS, and D+, D- pin - for my case able to read the data, but can't able to read the port status
Kindly let me know, how to solve this, look like no problem in firmware end
Regards
Arun Prakash