Posts

Showing posts from May, 2016

A further study into the use of the PIC32MX250F128B, with side projects using the AT91SAM3X8E (Arduino Due) and the Intel Galileo

Download PDF from: http://www.4shared.com/office/kRJ8hVWPce/A_further_study_into_the_use_o.html

Simple PIC32 DMA example

I've been testing the PIC32 DMA recently. The PIC32 has a DMA (direct memory access) module that allows the data transfer in the PIC32 without CPU intervention during data transfer - thus freeing up CPU to perform other tasks while the data is transferred). First, I did a simple test to just see if it works (I've also done some DMA timing testing - I'll talk about them soon in another article). The first test was to just use the DMA module to transfer data from a constant array (from FLASH) to PORTA (LATA for output). This would be visually seen as LEDs connected to PORTA blinking. The code is: //================================ /***************************************************  * Programmer: Syed Tahmid Mahbub  * Target PIC: PIC32MX250F128B  *  * Date: 05/08/2016 - 05/10/2016  *  * Program to test DMA operation  * DMA will transfer const (from FLASH) to PORTA  ***************************************************/ #include "plib.h"           // peripheral librar

Debugging the Bridge: Tips for Successfully Designing (Full / Half) Bridge Circuits

Image
 Fig. 1 - A typical high-voltage half-bridge section, using the IR2110 driver (Click image to enlarge)  Fig. 2 - A typical high-voltage full-bridge section, using two IR2110 drivers (Click image to enlarge) Whenever I get a message or an email or a comment regarding unsuccessful bridge circuits, it’s usually along the lines of no output being observed, the MOSFETs getting hot, or everything just getting damaged or blowing up. When I was in the preliminary stages of bridge design, I also had repeated failures. I had circuits blowing up. I had circuits just not working, no matter what. I’ve written on my blog about one such experience of mine. You can read it here: http://electel.blogspot.com/2016/10/magic-of-knowledge.html In this article, I’ll talk about the first things you should do if your attempts at designing a bridge circuit have gone up in smoke or if you’re designing a bridge circuit and want to ensure everything has been done properly. Another thing I should mention is that,