PIC32MX in DIP forms

Discussion about projects that used PIC Microcontroller, Hardware Interface, Programming Algorithm and etc......

Re: PIC32MX in DIP forms

Postby Brian Griffin » Sat Nov 12, 2011 7:04 pm

Please note that the "TimeDelay.h" inside the Microchip Application library has a bit of a problem. The delays are a bit off in a few more miliseconds which could affect the program flow if timing is used. It could be my breadboarded setup, or my crystal (it's in 10MHz instead of 8) or both. I will contact Microchip for further information.

Here's a temporary workaround for it, using a Timer. Add this function inside your code.
CODE: SELECT_ALL_CODE
void delay_ms(unsigned int count)
{
   T1CON = 0x8030;      // turn on timer, prescaler to 256
   while(count--)
   {
      TMR1 = 0;
      while(TMR1 < 0x4e);
   }
   T1CONbits.ON = 0;
}


(Setup information: 10MHz crystal PLL to 40MHz, Peripheral bus = 20MHz, prescaler 256)

Just put the desired no. of miliseconds inside the function.
PIC - UIC00B from Cytron (replacement for my broken PICKit 2), Pickit 3, MikroC for PIC
dsPIC - MikroC for dsPIC, mikromedia board (dsPIC33)
AVR - AVR Dragon
Parallax - Prop tool
User avatar
Brian Griffin
Enthusiast
 
Posts: 403
Joined: Mon Jan 17, 2011 9:36 am

Re: PIC32MX in DIP forms

Postby shiyan » Tue Nov 15, 2011 7:52 am

Woh...... this is super fast you guys, I am behind still in 8-bit microcontroller only :o

Good to see Malaysia is getting into this, keep it up man!
User avatar
shiyan
Amateur
 
Posts: 189
Joined: Wed Jun 09, 2010 10:59 am

Re: PIC32MX in DIP forms

Postby Brian Griffin » Tue Nov 15, 2011 10:58 am

shiyan WROTE:Woh...... this is super fast you guys, I am behind still in 8-bit microcontroller only :o

Good to see Malaysia is getting into this, keep it up man!


You don't have to get stuck at 8-bit platforms. One has to scale the applications according to the needs.

I have the dsPIC solely for sound and signal generation. The PIC16/18F is not tuned to that kind of thing. I had been planning to do wavelet/FFT on ASM but didn't do it due to time constraints.

Right here, I have a wave player on the PIC32MX with Microchip MDDFS library. It's playing some sound files. Will fine tune that when I come back from work. :)
PIC - UIC00B from Cytron (replacement for my broken PICKit 2), Pickit 3, MikroC for PIC
dsPIC - MikroC for dsPIC, mikromedia board (dsPIC33)
AVR - AVR Dragon
Parallax - Prop tool
User avatar
Brian Griffin
Enthusiast
 
Posts: 403
Joined: Mon Jan 17, 2011 9:36 am

Re: PIC32MX in DIP forms

Postby kl84 » Thu Nov 17, 2011 5:02 pm

Yes, I got mine too. It's the 28-SPDIP PIC32MX220F032B. I've started to play with this new PIC32 running with 8MHz crystal.
User avatar
kl84
Amateur
 
Posts: 166
Joined: Thu Jul 08, 2010 12:14 pm

Re: PIC32MX in DIP forms

Postby ober » Tue Nov 22, 2011 8:32 pm

Oh... I hope I can try this, but being tied work :)

Thanks everyone for sharing here.
Ober Choo
Cytron Technologies Sdn Bhd
www.cytron.com.my
User avatar
ober
Moderator
 
Posts: 1486
Joined: Wed Apr 15, 2009 1:03 pm

Re: PIC32MX in DIP forms

Postby Brian Griffin » Tue Nov 22, 2011 8:45 pm

ober WROTE:Oh... I hope I can try this, but being tied work :)

Thanks everyone for sharing here.


No problem man. This stuff is really good.

Right now the next batch of these chips are only available early next year (January 2012). They might be coming up with higher end versions with more prog. memory and RAM.
PIC - UIC00B from Cytron (replacement for my broken PICKit 2), Pickit 3, MikroC for PIC
dsPIC - MikroC for dsPIC, mikromedia board (dsPIC33)
AVR - AVR Dragon
Parallax - Prop tool
User avatar
Brian Griffin
Enthusiast
 
Posts: 403
Joined: Mon Jan 17, 2011 9:36 am

Re: PIC32MX in DIP forms

Postby robosang » Fri Nov 25, 2011 9:07 am

OK, you are not alone, I am out of date too 8-) Never touches this monster, but I really like to try it out. Maybe Cytron should come out with the starter kit for this monster?

But do we need to upgrade the UIC00B to PICkit3? I really like UIC00B, been serving me for some time and I am satisfy with it. 8-)
robosang
Expert
 
Posts: 1239
Joined: Wed Jun 10, 2009 5:37 pm

Previous

Return to PIC Microcontroller

Who is online

Users browsing this forum: No registered users and 4 guests