Introduction to FX2 USB Development Board CY7C68013A

Hello.

Today we will take a look at USB 2.0 Development Board assembled by Waveshare and based on Cypress FX2LP chip CY7C68013A (56-pin package) with 8051 MCU, 16 kB RAM, 8/16-bit parallel bus, I2C and USB 2.0 (I’ve got 24 MByte/s).
FX2LP-CY7C68013A-USB-Board

#include "fx2.h"
#include "fx2regs.h"

void Delay(unsigned long i)
{
	while( i-- > 0 ) ;
}

void main()
{
	OEA = 0x03; // Enable Port A Pins: 0, 1

	while( 1 )
	{
		IOA = 0x00; // all leds ON
		Delay(10000);
		IOA = 0x01; // LED0 at A0 off
		Delay(10000);
		IOA = 0x02;  // LED1 at A1 off
		Delay(10000);
		IOA = 0x03;  // all leds OFF
		Delay(10000);
	}

}
This entry was posted in Firmware and tagged , , , . Bookmark the permalink.

Leave a Reply