Today I played around with the CY7C65213, mounted on the nice little board called CYUSBS232.
Here is a brief review of it:
You get a nice little board, 3 chips and a short USB to Micro-USB cable.
Drivers and software need to be downloaded.
When plugged in the first time it comes up with 2 unknown devices that have the same name.
They don't install themself so it is necessary to update the driver. I needed some attempts to find the right one of the 2 for each of them. That's a bit messy since both of them are in different directories.
Once the drivers are installed it works fine.
So I put it on t breadboard, and shorted RX and TX. Works fine. "HELLO WORLD", wohoo.
Now I wanted to use the Battery Charger Detection circuit.
It needs to be activated in the Cypress RDK software tool, that's what FTDI calls "FTProg", just for comparison.
It knows 4 different states that can be output on 2 pins, however the entire truthtable can be configured at what you need
It does not have the "enhanced detection" like the FT234X has, so it really needs USB D+ and D- to be shortes as per Battery Charger Standard 1.2 final (somewhere in section 1.4)
I also need RS485 and was wondering why there was no mention of that in the datasheet.
The CY7C65213 really has no auto RS485 direction signal. That's a big dissapointment
I even tried Software RS485 with RTS inverted and non inverted, none of them worked.
Since the RXLed and TXLED are pretty dim flashing when there is data transfer going on I think I am going to get the logig analyzer and have a look on these signals. Maybe the timing is good enough.
That's it so far for today. I am very sad that auto RS485 does not seem to be possible. I wonder if there might me some patent stuff going on. Who knows. I will get some more of these as a drop in replacement for another board. I let you know how they work.