Home | Tutorials | Projects | Construction Tips | Store

Welcome To KenSeibert.Com Audio

ESL HV Supply Main Page | Circuit Description | Board Assembly | Microcontroller Programming | Electrical Tests

Programming the Mocrocontroller

If you are building the Always-On version of this project, you can skip this section. The microcontroller is only used in the Audio Sense version.

The Microcontroller used in this project is the Cypress PSoC CY8C24123A. To program this part, you will need the development kit from Cypress. It is available from Mouser for about $30. It comes with a programming adapter and the development software, PSoC Designer.

In PSoC Designer create a new project for the CY8C24123A and set the language to C. Place the PGA1 and 2 user modules and the SAR user module as shown below:

Then set the global parameters and the device parameters as below:

Finally set the I/O Pins as follows:

This sets all of the configuration for the PSoC Chip. In the main.c file, paste the following code:

Save and compile the project then program the chip.

If you would like to purchase a pre-programmed microcontroller, or a fully assembled and tested board, please visit the Store.

Next Section: Electrical Test ->