2014-01-16 06:21 PM
I have an legacy uninterruptible power supply (UPS) that communicates to a host over USB. The commands are proprietary. The UPS is now obsolete and will be replaced with a new UPS. The new UPS still connects to the host over USB; however, it uses different commands. The design of the host is locked (can't touch it) so I am tasked to design a piece of hardware that sits between the host and the new UPS. I am thinking STM32F2 since it supposedly can do both host and device USB at the same time. Can anyone give me an idea of where to start on this project? Any input would be appreciated.
#nut #ups #stm32f #usb2014-01-17 12:59 AM
Hi
Funny you should ask...... https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=%2fpublic%2fSTe2ecommunities%2fmcu%2fLists%2fcortex_mx_stm32%2fUSB%20OTG%20HS%20Host%20in%20Mode%20FS%20internal%20PHY%20and%20USB%20OTG%20FS%20Device&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E1... This guy is trying to do something similar. (Do not ask me because I do not know how to do it exactly)2014-05-21 03:31 AM
You can use any STM32 chip with two USB ports (USB FS and USB HS).
You can use the embedded FS phy of the HS, there is no need for a ULPI for this application. Configure the one port as a device and the other port as host. If you know the two devices protocols then you can develop a ''usb translator''.