EEVblog Electronics Community Forum

Electronics => Beginners => Topic started by: Dat Tran on December 22, 2016, 07:03:46 am

Title: Using CY7C68013A chip
Post by: Dat Tran on December 22, 2016, 07:03:46 am
Hi everyone,
I want to use CY7C68013A to design a oscilloscope communicate with my computer and i wonder i have to program |O |O CY7C68013A or not ?
Thanks in advance! |O |O
Title: Re: Using CY7C68013A chip
Post by: Gyro on December 22, 2016, 09:50:37 am
Please stop it with the headbanging, you'll hurt yourself.

The CY7C68013A is simply a microcontroller (8051 based) with a USB2 interface built in. Any microcontroller needs code to run. You can either put this into an I2C EEPROM, or you can set it into a mode (via settings in EEPROM) where you can download code to it from the PC when it starts up. Either way you need to have code for it. Your first step is to download the datasheet.
Title: Re: Using CY7C68013A chip
Post by: Dat Tran on December 22, 2016, 02:05:43 pm
Thanks you so much. I'm going to start my project.
Have a good day!
Title: Re: Using CY7C68013A chip
Post by: Dat Tran on December 23, 2016, 06:22:11 am
Hi everyone and have a good day!
Can you tell me how to flash code into CY7C68013A chip ?
Which Programmer and Software I have to use ?
Thanks you so much!!!
Title: Re: Using CY7C68013A chip
Post by: Skimask on December 23, 2016, 06:26:48 am
Hi everyone and have a good day!
Can you tell me how to flash code into CY7C68013A chip ?
Which Programmer and Software I have to use ?
Thanks you so much!!!

Did you happen to read the datasheet?
Specifically, Page #1?
The first page?
The cover page?
About 55 words into the whole data sheet?

Just wondering...
Title: Re: Using CY7C68013A chip
Post by: TheDane on December 23, 2016, 10:43:41 am
Do you have a development board?
- or do you only have the chip by itself...

The chip is widely used as a low cost logic analyzer, and clone boards of the Saleae can be had for cheap in China. (Usually with no ESD protection, fuses, etc.)
Cypress has an extensive development suite, and a lot of instructables and FAQ's, I suggest to try googling Cypress's EZ-USB® FX2LP™

But in short, if you want to do special stuff on a 8031/8051 microcontroller, you have to write and upload code yourself. It might be possible to load drivers on a PC, but you'll have to write a lot of special software for that to work correctly, if you start out with the logic board analyzer board. (it's a parallel interface, quite fast - so if you have an A/D converter + special software it should work, with an effort)
This micro has an USB 2.0 interface, and can load stuff from EEPROM - but you have to make it work, if you want it to work (differently from what's already working  :popcorn:)
Sigrok has some open stuff available, but I doubt a high speed A/D chip interface is easy to implement, https://sigrok.org/wiki/Fx2lafw (https://sigrok.org/wiki/Fx2lafw)

A good start to find info is to google "CY7C68013A logic analyzer firmware open source"

Good luck - you might be able to make a more elegant solution than the somewhat slow http://www.triplespark.net/elec/analysis/USB-LiveOsci/ (http://www.triplespark.net/elec/analysis/USB-LiveOsci/) or without the faster/multiple channel using an FPGA like http://www.scopefun.com/hardware (http://www.scopefun.com/hardware)
Title: Re: Using CY7C68013A chip
Post by: ebclr on December 23, 2016, 12:48:51 pm
CY7C68013A is quite old, only USB 2 speed, if you are doing a new design it's recomended to use actual technolgy, take a look


http://www.cypress.com/products/superspeed-usb-peripherals (http://www.cypress.com/products/superspeed-usb-peripherals)
Title: Re: Using CY7C68013A chip
Post by: Dat Tran on December 23, 2016, 04:28:07 pm
Thanks all of you. I'm researching about it and I will note your advices