TUSB2077 未能正常工作
第一次使用这类芯片,无法判断TUSB2077是否正常工作了,
目前只是测得所有的PWRON都没有使能(目前输出为高),HUBCFG输出为低,PORTPWR输出为低,PORTDIS输出为高。
我们采用的是无EEPROM模式,48M晶振输入,没有做任何寄存器配置。
请关注一下mode pin 和 EXTMEM 管脚的配置是否真去,按你目前的描述,都应该是高才对。
另外检查一下buspowe pin的电压,是否和你们的设计一致。
PWRON为低才对,现在输出为高,说明power off,看下SUSPEND引脚输出是否也为高,如果为高,说明器件进入休眠状态。
另外,你使用48MHz晶振,那么第48pin MODE引脚应该拉高,检查下这个引脚。
那如何退出休眠状态进入正常工作状态?
dasheet中有这么一段话:
If low-power suspend and resume are desired, a passive crystal or resonator must be used, although the hub supports the flexibility of using any device that generates a 6-MHz clock. Because most oscillators cannot be stopped while power is on, their use prohibits low-power suspend, which depends on disabling the clock. When the oscillator is used, by connecting its output to the XTAL1 terminal and leaving the XTAL2 terminal open, its TTL output level can not
exceed 3.6 V. If a 6-MHz oscillator is used, it must be stopped at logic low whenever SUSPND is high. For crystal or resonator implementations, the XTAL1 terminal is the input and the XTAL2 terminal is used as the feedback path.
意思是说如果需要休眠和唤醒操作,必须使用无源晶振而不是有源的,如果suspend输出为高,可检查下XTAL2的电平是否正常,确保晶振是否起振。
请问复位那里的使用阻容复位,我用的是15k 100nf,但是无法复位,手册上说要有一段低电平才可以。那么有推荐阻容复位参数吗?
我就是把vcc 和 gnd 碰了一下,就ok,所以还是复位的问题。求指点
可以使用GPIO来配置,你可以用示波器量一下reset和Vcc的时序,要求power完全上电之后reset再有一个从低到高的变化。
/reset是先高,然后在低,在高吗?还是直接从低变高,当power升至90%时候?
power up的时序是reset 是先低到高,power down的时序是reset由高到低啊,正常工作时候reset为高电平。
那我就对着,用复位芯片,/reset是从低到高,也就是power到90%之后,/rest保持100ms左右低电平然后就变高,可总是无法复位。
