Implementing a delay with a for-loop (and why it’s not a good idea) I thought I’d interject on a specific issue that some of our students have been encountering, and that is how to implement a delay in C or…
Setting up Quartus to run ModelSim
Quartus uses ModelSim (Altera Edition) to perform simulation. ModelSim is even used for Vector Waveform files. ModelSim and Quartus are two entirely separate applications that loosely communicate with each other. You typically invoke ModelSim from Quartus via the Tools ->…
VHDL Standards
For those with access to IEEE standards (many universities do), the VHDL standards can be found using this site: IEEE Xplore Title List – Standards IEEE Xplore. Delivering full text access to the world’s highest quality technical literature in…
Carry and Overflow are not the same thing!
I get questions about this a lot, so I thought I’d try and explain this. If we are to build an adder circuit from digital electronics, there is only one circuit which performs addition signed and unsigned adder circuits are…
Mbed Studio Beta is now live
For those using Mbed-os, and always wanted to work offline, this may be good news. Arm has recently released a public beta of Mbed Studio, their new IDE specifically for Mbed os. This can be downloaded and tested here – https://os.mbed.com/studio/…
Simple SPI Slave Component in VHDL
I’ve been looking for a simple example of a SPI Slave component in VHDL for some time, and in the end, decided it would be more fun and educational to write my own. To keep the code as clean and…
Introductory course in embedded systems (using Mbed-os)
In time for a fresh semester starting this coming Monday, I’ve begun the process of migrating practical materials from Apple Books to WordPress. First is my introduction to Embedded Systems using Mbed-os. This course assumes no prior programming experience.…
Welcome
This blog is intended to covered aspects of embedded systems programming using the Arm Cortex-M series of micro controllers. Over time, pages will be added covering various aspects of embedded systems and IoT development, from simple GPIO read/write to more…