XS2 part numbers in xCORE-200 xn files

If you have a simple question and just want an answer.
User avatar
xmark
Member++
Posts: 19
Joined: Mon Apr 26, 2010 2:35 pm

XS2 part numbers in xCORE-200 xn files

Post by xmark »

(This question has come up a few times through other media, so I thought I would record it here)

The xn files for xCORE-200 boards (using the eXplorer as an example) have the following package identified:

    <Package id="0" Type="XS2-UnA-512-FB236">
 
How does this relate to the xCORE-200 part numbers?
 
 
 

 
 



User avatar
xmark
Member++
Posts: 19
Joined: Mon Apr 26, 2010 2:35 pm

Post by xmark »

If we generalise the structure, the mapping is described by the following examples:

XS2-UnA-512-FB236 => XU2n-512-FB236
XS2-UFnA-512-FB236 => XUF2n-512-FB236
 


Where n is the two-digit number of cores.
 
If you like regular expressions, I think this describes the general case:
 
xn file syntax:  XS2\-(\w+)nA-(\d{3})-(\w{5})
xCORE-200 target:  X$1n-$2-$3