I have a G400-D installed in a Chipworkx development board.
I am using VS2010 with .NET MF 4.2 SDK
Initially I had read that G400-D should be compatible with Chipworkx but I am having trouble turning on the LED1 which was connected to CPU pin PC5. Looking at the G400HDR I don’t see a PC5 connection.
Is there a schematic or table that would have the new pin assignments?
Also how to define the new CPU pins in C# would be helpful.
A clarification here: G400 and ChipworkX are compatible but that does not mean the digital pins are in the same place.
For example, PC5 on CWX is PD0 on G400. A look up table will be provided to help in mapping pins but you can now use the G400 pinout against CWX pinout for now.
If G400 DLL with pin enum i snot provided yet then you can simply use this
Cpu.Pin PD5 = (Cpu.Pin) (3*32+5);
port D is the third, starting at zero(A B C D). So 3 * 32 then add the pin which is 5.