MCL51 MIDI Player

We just uploaded a video to YouTube of the MCL51 playing “Flight of the Bumblebee” in MIDI format.  Here it is:

 

The program is entirely interrupt driven so the only “work” it does is either load a note into timer-0 or a delay into timer-1, after which controls passes back to the main loop. The music data takes about 2KB of Program ROM.

Below is the FPGA utilization using an Xilinx Atrix-7.  It is a little bigger than usual because we are translating the MIDI notes into thirty separate 24-bit counter registers.

Music_Utilization.JPG

 

Please visit us at: www.MicroCoreLabs.com for more information.

MCL51 MIDI Player

MCL51 fun with R-2R DAC

Having some fun with the MCL51 and an R-2R DAC.

We have two, eight-channel DACs made with a resistor ladder connected to the PMOD connectors of the Arty Xilinx Artix-7 test board.

The first picture uses the oscilloscope’s X-Y mode to display a 256×256 bit-mapped image.

The second and third images are made by sending the results of a lookup table to the PMOD connectors.

Please visit us at: www.MicroCoreLabs.com for more information.

 

IMG_3411IMG_3413IMG_3412

MCL51 fun with R-2R DAC

MCL51 Intel-Hex Loader via the UART

I just uploaded a video of the MCL51 Intel-Hex loader program. The loader is pre-programmed into the FPGA so it will always run when the FPGA is powered up. It prints a splash screen and then waits for the user to halt the CPU, load the Intel-Hex program code, and then unreset the CPU. The process from updating the user’s code, compiling, loading into the FPGA, and then running it takes a matter of seconds!

 

Loader

 

Please visit us at: www.MicroCoreLabs.com for more information.

MCL51 Intel-Hex Loader via the UART