The CP2102N comes in two revisions: A01 and A02. There is no way to determine the entire revision number by looking at the top marking of the chip.
The top marking is divided into three lines, and each line is defined as below:
1. Part Number
2. Manufacture Trace Code
3. Date Code and Letter Revision
Some people may see "A01" in the second line of the top marking, but this is actually part of the trace code and does not indicate anything about the part revision. The only way to determine the revision number is via software. There are two says to do this in software:
1. Simplicity Studio:
If you are using a CP2102N-EB, you can use Simplicity Studio to read the OPN of the chip. Some CP2102N OPNs contain the revision number in it. Plug the device into your computer, open Simplicity Studio, and the Debug Adapters window should contain the OPN.
2. CP210xManufacturing.dll CP210x_GetFirmwareVersion()
If you are using a custom board or the revision number doesn't show up in Simplicity Studio, you can use the CP210x_GetFirmwareVersion() from the CP210xManufacturing.dll. The CP210x_GetFirmwareVersion() function returns a major, minor, and build number. The following shows the corresponding firmware version number and the revision number.
|Firmware Version (Major.Minor.Build)||Revision|
More information about the Manufacturing.dll can be found in AN978.