<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/">
  <title>General PIC32 Discussion</title>
  <link rel="alternate" href="http://mypic32.com/c/message_boards/find_category?p_l_id=10306&amp;categoryId=11045" />
  <subtitle />
  <entry>
    <title>need help with i2c</title>
    <link rel="alternate" href="http://mypic32.com/c/message_boards/find_message?p_l_id=10306&amp;messageId=187368" />
    <author>
      <name>mpus</name>
    </author>
    <updated>2010-09-05T06:19:17Z</updated>
    <published>2010-09-05T06:19:17Z</published>
    <summary type="html">i am working with PIC32MX795F512L, and need to send data via i2c to dspic30F4013

i've tried a simple code but it's not working. 

[code]
#include "HardwareProfile.h"
#include &lt;plib.h&gt;

#define SYSCLK	(72000000)
#define PBCLK  (SYSCLK/2)
#pragma config FPBDIV = DIV_2				//Sets PBCLK to SYSCLK

#define Fsck	100000
#define BRG_VAL 	((PBCLK/2/Fsck)-2)  //0xB2
 
#define Nop() asm( "nop" )                 //No-operation; asm stands for assembly, using an assembly command in C.  Cool!

//#define INPUT_A9       PORTAbits.RA9
//#define INPUT_A10       PORTAbits.RA10

int data1 = 0x1;
int data2 = 0x0;
unsigned int slaveaddress = 0x4;

//function declaration for sending data and selecting slave address
void SendData(int,unsigned int);
void Delayms( unsigned t);

/*
This function is a delay function, causing the program to wait for approximately 4 * cnt cycles
1 cycle is 1/SYSCLK seconds.
*/
void i2c_wait(unsigned int cnt)
{
	while(--cnt)
	{
		Nop();
		Nop();
	}
}


/* Main function */
int main(void)
{
    // Configure the proper PB frequency and the number of wait states.
	SYSTEMConfigPerformance(72000000);

	
   	AD1PCFG = 0xFFF0;
	TRISA = 0xFE;
	DDPCONbits.JTAGEN = 0;   		// menonaktifkan port JTAG
	//INTEnableSystemMultiVectoredInt();




	//unsigned char SlaveAddress;   //Slave address variable to tell the master where to send the data.  
                                     //Will be re-assigned for multiple slaves.

	//Enable I2C channel and set the baud rate to BRG_VAL)
	OpenI2C1( I2C_EN, BRG_VAL );

	int rcv;			//For received data

	while(1) {
		 

			SendData(data1,slaveaddress);  			//Sends hex data 0xAA to slave address 0x40
			//rcv = RcvData(0x40);			//Receives data from address 0x40				
			Delayms(1000);
			PORTA = 0x1;	
		

			SendData(data2,slaveaddress);    		//Sends hex data 0xAA to slave address 0x40
			//rcv = RcvData(0x40);		        //Receives data from address 0x40			
			Delayms(1000);
			PORTA = 0x0;		
		
	}//while loop ending

	return 0;
}  //ending main 


/*****************************************************
 * RcvData(unsigned int address)		     *
 *					  	     *
 * Gets a byte of data from I2C slave device at      *
 *  ADDRESS.					     *
 *						     *
 * Returns: Received data			     *
 ****************************************************/
int RcvData(unsigned int address) {
	StartI2C1();				//Send line start condition
	IdleI2C1();			        //Wait to complete
	MasterWriteI2C1((address &lt;&lt; 1) | 1);	//Write out slave address OR 1 (read command)
	IdleI2C1();				//Wait to complete
	int rcv = MasterReadI2C1();		//Read in a value
	StopI2C1();				//Send line stop condition
	IdleI2C1();				//Wait co complete
	return rcv;				//Return read value
}



/***************************************************
 * SendData(int data, unsigned int address)        *
 *						    *
 * Sends a byte of data (DATA) over the I2C line   *
 *	to I2C address ADDRESS			    *
 *						    *
 * Returns: nothing				    *
 ***************************************************/
void SendData (int data, unsigned int address){
	StartI2C1();	        //Send the Start Bit
	IdleI2C1();		//Wait to complete

	MasterWriteI2C1((address &lt;&lt; 1) | 0);  //Sends the slave address over the I2C line.  This must happen first so the 
                                             //proper slave is selected to receive data.
	IdleI2C1();	        //Wait to complete

	MasterWriteI2C1(data);  //Sends data byte over I2C line
	IdleI2C1();		//Wait to complete

	StopI2C1();	        //Send the Stop condition
	IdleI2C1();	        //Wait to complete

} //end function



void Delayms( unsigned t)
// This uses Timer 1, can be changed to another timer. Assumes FPB = SYS_FREQ
{
    OpenTimer1(T1_ON | T1_PS_1_256, 0xFFFF);
    while (t--)
    {  // t x 1ms loop
        WriteTimer1(0);
        while (ReadTimer1() &lt; PBCLK/256/1000);
	}
	CloseTimer1();
} // Delayms
[/code]

any help please? thx a lot guys</summary>
    <dc:creator>mpus</dc:creator>
    <dc:date>2010-09-05T06:19:17Z</dc:date>
  </entry>
  <entry>
    <title>USB interface to PC</title>
    <link rel="alternate" href="http://mypic32.com/c/message_boards/find_message?p_l_id=10306&amp;messageId=187330" />
    <author>
      <name>Mark C</name>
    </author>
    <updated>2010-09-01T19:48:42Z</updated>
    <published>2010-09-01T19:48:42Z</published>
    <summary type="html">I bought a PIC 32 USB Starter Kit II and tried to link it to my PC via its USB port(J5).  Using MS C++ function: SetupDiEnumDeviceInterfaces () to retrieve DEVICE_INTERFACE_DATA, it requires me to pass as input parameter the “Device Interface GUID” of PIC 32 USB Starter Kit II.  As far as I know, this GUID is product specific (defined by Microchip ?).  Does anyone have info about that?  Am I out of line trying to do that?

- Mark

PS: the GUID in mchpcdc.inf doesn’t work for me. I think it is “Device Setup Class GUID”.</summary>
    <dc:creator>Mark C</dc:creator>
    <dc:date>2010-09-01T19:48:42Z</dc:date>
  </entry>
  <entry>
    <title>Pre-processing directives</title>
    <link rel="alternate" href="http://mypic32.com/c/message_boards/find_message?p_l_id=10306&amp;messageId=187185" />
    <author>
      <name>atul.singh</name>
    </author>
    <updated>2010-08-27T06:03:52Z</updated>
    <published>2010-08-27T06:03:52Z</published>
    <summary type="html">Please help me because i am totally new to micro controller and i think for you it may be like silly question but i am stuck at this silly question.

In a sample code, i found one statement
#define RCR 		(0x0u&lt;&lt;5);

What "u" stands for here?</summary>
    <dc:creator>atul.singh</dc:creator>
    <dc:date>2010-08-27T06:03:52Z</dc:date>
  </entry>
  <entry>
    <title>DBPRINTF / Core Timer interaction</title>
    <link rel="alternate" href="http://mypic32.com/c/message_boards/find_message?p_l_id=10306&amp;messageId=187072" />
    <author>
      <name>HenryJantor</name>
    </author>
    <updated>2010-08-20T17:40:14Z</updated>
    <published>2010-08-20T17:40:14Z</published>
    <summary type="html">I notice that using DBPRINTF() in the foreground stops my core timer interrupts for occurring. Is this expected behaviour?</summary>
    <dc:creator>HenryJantor</dc:creator>
    <dc:date>2010-08-20T17:40:14Z</dc:date>
  </entry>
  <entry>
    <title>EEprom on Explorer16</title>
    <link rel="alternate" href="http://mypic32.com/c/message_boards/find_message?p_l_id=10306&amp;messageId=187028" />
    <author>
      <name>atul.singh</name>
    </author>
    <updated>2010-08-17T10:05:41Z</updated>
    <published>2010-08-17T10:05:41Z</published>
    <summary type="html">Hi everybody,
          I am using Explorer16 development board on which EEPROM is connected  to my Plug-in-Module(PIC32) and i want to dump my web page on external EEPROM, how i can do so.

I will appreciate any reply which helps me.</summary>
    <dc:creator>atul.singh</dc:creator>
    <dc:date>2010-08-17T10:05:41Z</dc:date>
  </entry>
  <entry>
    <title>Web Server using PIC32</title>
    <link rel="alternate" href="http://mypic32.com/c/message_boards/find_message?p_l_id=10306&amp;messageId=186898" />
    <author>
      <name>atul.singh</name>
    </author>
    <updated>2010-08-12T10:59:03Z</updated>
    <published>2010-08-12T10:59:03Z</published>
    <summary type="html">[font=Arial]Hi  everybody,
            I am totally newbie to the PIC32 series and i want to design web server using PIC32MX795F512L, can anybody help me in doing so.
 I will appreciate any reply.........[/font][size=7][/size]


Regards
ATUL KUMAR SINGH</summary>
    <dc:creator>atul.singh</dc:creator>
    <dc:date>2010-08-12T10:59:03Z</dc:date>
  </entry>
  <entry>
    <title>RE: GLCD with PIC32</title>
    <link rel="alternate" href="http://mypic32.com/c/message_boards/find_message?p_l_id=10306&amp;messageId=185940" />
    <author>
      <name>Roberto Roberto</name>
    </author>
    <updated>2010-07-24T23:32:10Z</updated>
    <published>2010-07-24T23:32:10Z</published>
    <summary type="html">dear diegopuntin 

do you have some news about your work. It intrested also for me the reply.
Is possible to contact you also privat ? We can arrange about your work and
time you spended

thanks</summary>
    <dc:creator>Roberto Roberto</dc:creator>
    <dc:date>2010-07-24T23:32:10Z</dc:date>
  </entry>
  <entry>
    <title>RE: Data transfer rate with PIC32 Ethernet startup kit</title>
    <link rel="alternate" href="http://mypic32.com/c/message_boards/find_message?p_l_id=10306&amp;messageId=185313" />
    <author>
      <name>audiotrue</name>
    </author>
    <updated>2010-07-14T17:45:06Z</updated>
    <published>2010-07-14T17:45:06Z</published>
    <summary type="html">I just got the Ethernet starter kit last week. Although I can't confirm your questions. However, I found this is a fast CPU. This is a MIPS processor with casche capable.</summary>
    <dc:creator>audiotrue</dc:creator>
    <dc:date>2010-07-14T17:45:06Z</dc:date>
  </entry>
  <entry>
    <title>Data transfer rate with PIC32 Ethernet startup kit</title>
    <link rel="alternate" href="http://mypic32.com/c/message_boards/find_message?p_l_id=10306&amp;messageId=185286" />
    <author>
      <name>nam</name>
    </author>
    <updated>2010-07-13T13:05:48Z</updated>
    <published>2010-07-13T13:05:48Z</published>
    <summary type="html">Hi,

I am planning to buy PIC32 Ethernet startup kit. I would like to know if it is feasible to transfer data at the rate of 10MBps(17KB of data in 1.7ms). Help would be very much appreciated.</summary>
    <dc:creator>nam</dc:creator>
    <dc:date>2010-07-13T13:05:48Z</dc:date>
  </entry>
  <entry>
    <title>GLCD with PIC32</title>
    <link rel="alternate" href="http://mypic32.com/c/message_boards/find_message?p_l_id=10306&amp;messageId=185260" />
    <author>
      <name>diegopuntin</name>
    </author>
    <updated>2010-07-12T13:58:00Z</updated>
    <published>2010-07-12T13:58:00Z</published>
    <summary type="html">Hi, I am using an LCD from New Haven Display with an SSD1963, actually I can show in the display colors, i.e. red, blue, etc. But i can´t show any image on it.
I am not using the graphic libraries, i wrote my own code. Somebody can help me with this.

This is my code:

[code]#include &lt;plib.h&gt; // Adds support for PIC32 Peripheral Library functions and macros
//#include "NumericTypedefs.h"
//#include "Images.c"

//#pragma config FPLLMUL = MUL_20, FPLLIDIV = DIV_2, FPLLODIV = DIV_1, FWDTEN = OFF
//#pragma config POSCMOD = HS, FNOSC = PRIPLL, FPBDIV = DIV_1

#define SYS_FREQ (80000000)
#define DESIRED_BAUDRATE (19200) //The desired BaudRate
#define LCD_RS PORTBbits.RB5   
#define LCD_WR PORTBbits.RB4
#define LCD_RD PORTBbits.RB3
#define LCD_CS PORTBbits.RB2
#define LCD_RES PORTBbits.RB1

void DelayMs(unsigned int msec)
{
	unsigned int tWait, tStart;
	tWait=(SYS_FREQ/2000)*msec;
	tStart=ReadCoreTimer();
	while((ReadCoreTimer()-tStart)&lt;tWait); // wait for the time to pass
}

void DelayUs(unsigned int usec)
{
	unsigned int tWait, tStart;
	tWait=(SYS_FREQ/80000000)*usec;
	tStart=ReadCoreTimer();
	while((ReadCoreTimer()-tStart)&lt;tWait); // wait for the time to pass
}

void Write_Command(unsigned char command)
{
	PORTE = command;
    DelayUs(1);//Nop();//
	LCD_RS = 0;
    DelayUs(1);
	LCD_WR = 0;
    DelayUs(1);
	LCD_WR = 1;
	DelayUs(1);
}

void Write_Data(unsigned char data1)
{
	PORTE = data1;
    DelayUs(1);//Nop();//
	LCD_WR = 0;
    DelayUs(1);
	LCD_WR = 1;
	DelayUs(1);
}

void Command_Write(unsigned char REG,unsigned char VALUE)
{
   	Write_Command(REG);
    LCD_RS = 1;
    Write_Data(VALUE);
}

void SendData(unsigned long color)
{
  	LCD_RS = 1;
    Write_Data((color)&gt;&gt;16);   //red
    Write_Data((color)&gt;&gt;8);      //green
    Write_Data(color);
}

void Init_SSD1963(void)
{
   	LCD_CS = 0;
    LCD_RD = 1;
    LCD_WR = 0;
    LCD_RES = 0;
    DelayMs(20);   
    LCD_RES = 1;
    DelayMs(100);
    Write_Command(0x01);    	//Software Reset
	DelayMs(100);    
	Write_Command(0x01);
    DelayMs(100);
	Write_Command(0x01);

    Command_Write(0xe0,0x01);   //START PLL
    Command_Write(0xe0,0x03);   //LOCK PLL
    Write_Command(0xb0);        //SET LCD MODE  SET TFT 18Bits MODE
    LCD_RS = 1;
    Write_Data(0x0c);           //SET TFT MODE &amp; hsync+Vsync+DEN MODE
    Write_Data(0x80);           //SET TFT MODE &amp; hsync+Vsync+DEN MODE
    Write_Data(0x01);           //SET horizontal size=320-1 HightByte
    Write_Data(0x3f);           //SET horizontal size=320-1 LowByte
    Write_Data(0x00);           //SET vertical size=240-1 HightByte
    Write_Data(0xef);           //SET vertical size=240-1 LowByte
    Write_Data(0x00);           //SET even/odd line RGB seq.=RGB
    Command_Write(0xf0,0x00);   //SET pixel data I/F format=8bit
    Command_Write(0x3a,0x60);   // SET R G B format = 6 6 6
    Write_Command(0xe6);        //SET PCLK freq=6.4MHz  ; pixel clock frequency
    LCD_RS = 1;
    Write_Data(0x00);
    Write_Data(0xe7);
    Write_Data(0x4f);
    Write_Command(0xb4);        //SET HBP,
    LCD_RS = 1;
    Write_Data(0x01);         	//SET HSYNC Total 440
    Write_Data(0xb8);
    Write_Data(0x00);         	//SET HBP 68
    Write_Data(0x44);
    Write_Data(0x0f);         	//SET VBP 16=15+1
    Write_Data(0x00);         	//SET Hsync pulse start position
    Write_Data(0x00);
    Write_Data(0x00);         	//SET Hsync pulse subpixel start position
    Write_Command(0xb6);        //SET VBP,
    LCD_RS = 1;
    Write_Data(0x01);         	//SET Vsync total 265=264+1
    Write_Data(0x08);
    Write_Data(0x00);         	//SET VBP=19
    Write_Data(0x13);
    Write_Data(0x07);         	//SET Vsync pulse 8=7+1
    Write_Data(0x00);         	//SET Vsync pulse start position
    Write_Data(0x00);
    Write_Command(0x2a);        //SET column address
    LCD_RS = 1;
    Write_Data(0x00);           //SET start column address=0
    Write_Data(0x00);
    Write_Data(0x01);         	//SET end column address=319
    Write_Data(0x3f);
    Write_Command(0x2b);      	//SET page address
    LCD_RS = 1;
    Write_Data(0x00);         	//SET start page address=0
    Write_Data(0x00);
    Write_Data(0x00);         	//SET end page address=239
    Write_Data(0xef);
    Write_Command(0x13);      	//SET normal mode
    Write_Command(0x29);      	//SET display on
}

void WindowSet(unsigned int s_x,unsigned int e_x,unsigned int s_y,unsigned int e_y)
{
   	Write_Command(0x2a);      //SET page address
    LCD_RS = 1;
    Write_Data((s_x)&gt;&gt;8);         //SET start page address=0
    Write_Data(s_x);
    Write_Data((e_x)&gt;&gt;8);         //SET end page address=319
    Write_Data(e_x);

    Write_Command(0x2b);      //SET column address
    LCD_RS = 1;
    Write_Data((s_y)&gt;&gt;8);         //SET start column address=0
    Write_Data(s_y);
    Write_Data((e_y)&gt;&gt;8);         //SET end column address=239
    Write_Data(e_y);
}

void FULL_ON(unsigned long dat)
{
   	unsigned x,y;
    WindowSet(0x0000,0x013f,0x0000,0x00ef);
    Write_Command(0x2c);
    for(x=0;x&lt;240;x++)
    {
		for(y= 0;y&lt;320;y++)
        {
			SendData(dat);
        }
   	}
}

void QUADS(void)
{
 	unsigned i,j;
    WindowSet(0x0000,0x013f,0x0000,0x00ef);
    Write_Command(0x2c);
    for(j= 0 ;j&lt;120;j++)
    {
    	for(i=0;i&lt;160;i++)
        {
        	SendData(0x0000FF);             //blue
        }
        for(i=0;i&lt;160;i++)
        {
         	SendData(0xFF0000);             //red
        }
   	}
    for(j= 0 ;j&lt;120;j++)
    {   
     	for(i=0;i&lt;160;i++)
        {
         	SendData(0xFFFF00);             //yellow
        }
        for(i=0;i&lt;160;i++)
        {
           	SendData(0x00FF00);             //green
        }
   	}
}

int main(void)
{
	int pbClk;
 	int Contador;
   	// Configure the device for maximum performance but do not change the PBDIV
   	// Given the options, this function will change the flash wait states, RAM
   	// wait state and enable prefetch cache but will not change the PBDIV.
   	// The PBDIV value is already set via the pragma FPBDIV option above..
   
	pbClk=SYSTEMConfig(SYS_FREQ, SYS_CFG_WAIT_STATES | SYS_CFG_PCACHE);
	/* LED setup - Turn off leds before configuring the IO pin as output */
	mPORTDClearBits(BIT_0 | BIT_1 | BIT_2); // same as LATDCLR = 0x0007
	/* Set RD0, RD1 and RD2 as outputs */
	mPORTDSetPinsDigitalOut(BIT_0 | BIT_1 | BIT_2 ); // same as TRISDCLR = 0x0007
	/* endless loop */
	mPORTEClearBits(BIT_0 | BIT_1 | BIT_2 | BIT_3 | BIT_4 | BIT_5 | BIT_6 | BIT_7);
	mPORTESetPinsDigitalOut(BIT_0 | BIT_1 | BIT_2 | BIT_3 | BIT_4 | BIT_5 | BIT_6 | BIT_7); // same as TRISCCLR = 0x0007
	mPORTBClearBits(BIT_1 | BIT_2 | BIT_3 | BIT_4 | BIT_5);
	mPORTBSetPinsDigitalOut(BIT_1 | BIT_2 | BIT_3 | BIT_4 | BIT_5); // same as TRISCCLR = 0x0007

	while(1)
	{
		Contador = Contador + 1;
		DelayMs(100);
		mPORTDToggleBits(BIT_0); // toggle LED0 (same as LATDINV = 0x0001)
		DelayMs(100);
		mPORTDToggleBits(BIT_1); // toggle LED1 (same as LATDINV = 0x0002)
		DelayMs(100);
		mPORTDToggleBits(BIT_2); // toggle LED2 (same as LATDINV = 0x0004)

		OpenUART2(UART_EN | UART_NO_PAR_8BIT | UART_1STOPBIT ,  // Module is ON
				  UART_RX_ENABLE | UART_TX_ENABLE,  			// Enable TX &amp; RX
                  pbClk/16/DESIRED_BAUDRATE-1);  				// 19200 bps, 8-N-1
 
   		// Configure UART2 RX Interrupt
   		ConfigIntUART2(UART_INT_PR2 | UART_RX_INT_DIS);
 
   		putsUART2("*** MIRA EL DISPLAY ***\r\n");
   		putsUART2("*** Hola ***\r\n");

		DelayMs(2000);
      	Init_SSD1963();         // Initialize the display
     
        DelayMs(1000);
        QUADS();
        DelayMs(2000);
		FULL_ON(0xff0000);      //red
        DelayMs(2000);
        //VER_IMAGEN();
	//FULL_ON(0x00ff00);      //green
        //DelayMs(2000);
        //FULL_ON(0x0000ff);      //blue
        DelayMs(2000);
	};
	return 0;
}[/code]</summary>
    <dc:creator>diegopuntin</dc:creator>
    <dc:date>2010-07-12T13:58:00Z</dc:date>
  </entry>
  <entry>
    <title>RE: Simple ADC</title>
    <link rel="alternate" href="http://mypic32.com/c/message_boards/find_message?p_l_id=10306&amp;messageId=185176" />
    <author>
      <name>DanDevine</name>
    </author>
    <updated>2010-07-11T16:57:34Z</updated>
    <published>2010-07-11T16:57:34Z</published>
    <summary type="html">I'm pretty sure you're going to need either a buffering amplifier or tap the signal through some type of voltage divider. 

Unlike the 5V Pic's, this device can't read a full 5 volts on the ADC because you can't go above the supply voltage of the processor!

I'm currently working with the USB Starter Kit too, just got mine a few weeks ago and I'm still figuring it out.  If I'm using the correct notation, Vdd is at 3.3Volts on that unit, so you can't go above that on the ADC.  If you were to use a simple voltage "input- 5Kohm -- tap -- 5Kohm -- GND" divider, you could measure input voltages to 6.6 volts using system Vdd and Vss as ADC references.

Looks like your configuration flags are using ADC_VREF_EXT_AVSS, is that external?  It still can't be above the Vdd though...</summary>
    <dc:creator>DanDevine</dc:creator>
    <dc:date>2010-07-11T16:57:34Z</dc:date>
  </entry>
  <entry>
    <title>Why there are 2 Internal Program boot and program flash spaces in PCI32</title>
    <link rel="alternate" href="http://mypic32.com/c/message_boards/find_message?p_l_id=10306&amp;messageId=185088" />
    <author>
      <name>audiotrue</name>
    </author>
    <updated>2010-07-09T01:58:31Z</updated>
    <published>2010-07-09T01:58:31Z</published>
    <summary type="html">Hi,

I'm new to the PIC32 family. I'm a bit confused on why there are 2 Internal Boot and Program flash (KSEG0 and KSEG1) space in the PIC32 vitrual address map.
From the datasheet, KSEGO is cacheable and KSEG1 is not.  How can I switch between the 2 spaces ? What register to set?

Is the PIC32 CPU always see the vitrual address map only?
There is no way to disable virtual address?


Thanks.

Terence</summary>
    <dc:creator>audiotrue</dc:creator>
    <dc:date>2010-07-09T01:58:31Z</dc:date>
  </entry>
  <entry>
    <title>RE: very pic32 beginner</title>
    <link rel="alternate" href="http://mypic32.com/c/message_boards/find_message?p_l_id=10306&amp;messageId=183603" />
    <author>
      <name>afesheir</name>
    </author>
    <updated>2010-05-18T21:22:35Z</updated>
    <published>2010-05-18T21:22:35Z</published>
    <summary type="html">hey everybody .. I need to clarify these concepts ..</summary>
    <dc:creator>afesheir</dc:creator>
    <dc:date>2010-05-18T21:22:35Z</dc:date>
  </entry>
  <entry>
    <title>very pic32 beginner</title>
    <link rel="alternate" href="http://mypic32.com/c/message_boards/find_message?p_l_id=10306&amp;messageId=183696" />
    <author>
      <name>afesheir</name>
    </author>
    <updated>2010-05-18T17:34:16Z</updated>
    <published>2010-05-18T17:34:16Z</published>
    <summary type="html">dear all
Some projects &lt;using MPLAB&gt;, contains several .c files and several .h files. What is the major difference between the two types ?
are the library files .h files or .c files ??
where should I keep the library files ?? 
thx in advance 4 ur help</summary>
    <dc:creator>afesheir</dc:creator>
    <dc:date>2010-05-18T17:34:16Z</dc:date>
  </entry>
  <entry>
    <title>RE: How to install PIC32 Starter Kit on Windows 7 Ultimate?</title>
    <link rel="alternate" href="http://mypic32.com/c/message_boards/find_message?p_l_id=10306&amp;messageId=183642" />
    <author>
      <name>cmseeley</name>
    </author>
    <updated>2010-05-13T11:25:26Z</updated>
    <published>2010-05-13T11:25:26Z</published>
    <summary type="html">Matteo,

I downloaded the most current MPLAB, and saw the same thing.  The driver did not automatically load on the win 7 machine, as it did on the XP machine;  But the drivers are in the installation folder.  You just have to install he drivers manually from the installation folder.

Best,

Chris</summary>
    <dc:creator>cmseeley</dc:creator>
    <dc:date>2010-05-13T11:25:26Z</dc:date>
  </entry>
  <entry>
    <title>RE: Multiple interrupts in pic32</title>
    <link rel="alternate" href="http://mypic32.com/c/message_boards/find_message?p_l_id=10306&amp;messageId=183604" />
    <author>
      <name>bmorse</name>
    </author>
    <updated>2010-05-09T14:41:27Z</updated>
    <published>2010-05-09T14:41:27Z</published>
    <summary type="html">Do you have Multivectored interrupts enabled?</summary>
    <dc:creator>bmorse</dc:creator>
    <dc:date>2010-05-09T14:41:27Z</dc:date>
  </entry>
  <entry>
    <title>How to install PIC32 Starter Kit on Windows 7 Ultimate?</title>
    <link rel="alternate" href="http://mypic32.com/c/message_boards/find_message?p_l_id=10306&amp;messageId=183361" />
    <author>
      <name>Matteo</name>
    </author>
    <updated>2010-04-22T10:30:42Z</updated>
    <published>2010-04-22T10:30:42Z</published>
    <summary type="html">Hello,
I cannot use my starter Kit on Windows 7 Ultimate(64 bit).It doesn't install correctly from cd because it doesn't find drivers for the board.When I open MPLAB IDE v8.00 and select Debugger--&gt;Select Tool--&gt;PIC32MX Starter Kit, there is an error message since there aren't the board drivers.
Please help me,how can I find and install correctly the board drivers for Windows 7?
Thanks.</summary>
    <dc:creator>Matteo</dc:creator>
    <dc:date>2010-04-22T10:30:42Z</dc:date>
  </entry>
  <entry>
    <title>Multiple interrupts in pic32</title>
    <link rel="alternate" href="http://mypic32.com/c/message_boards/find_message?p_l_id=10306&amp;messageId=183342" />
    <author>
      <name>master_04</name>
    </author>
    <updated>2010-04-22T02:49:12Z</updated>
    <published>2010-04-22T02:49:12Z</published>
    <summary type="html">Hello,
  I am trying to use multiple interrupts in PIC32 microcontroller. When I use 1 UART interrupt and 1 timer interrupt microcontroller says all is well, but when I use 1 UART and 2 timers the controller freezes. I have following code.

#include "Tao4ch_defs.h"
// UART 2 interrupt handler
// it is set at priority level 2
void __ISR(_UART_2A_VECTOR, ipl3) _U2ARXInterrupt(void)
{   
   //UART code

}


	// interrput code for the timer 1
void __ISR( _TIMER_1_VECTOR, ipl2) _T1Interrupt( void)
{
  int i;
  asm("ei");  //To enable interrupts
		// clear interrupt flag and exit
  IFS0bits.T1IF = 0;
		
   sampleBuffer[sampleIndex].re = read_ext_adc1(5) - 25485; // read the ADC into the real part of the samplebuffer
		
   // increment the sampleIndex
   if (sampleIndex == (N-1))
    {
  	sampleIndex = 0;
    }
   else
    {
        sampleIndex++;
    }	 

		
		
		
} // T3 Interrupt


void __ISR( _TIMER_3_VECTOR, ipl1) _T3Interrupt( void)
{        asm("ei");
		
	 IFS0bits.T3IF = 0;

   //do something

}</summary>
    <dc:creator>master_04</dc:creator>
    <dc:date>2010-04-22T02:49:12Z</dc:date>
  </entry>
  <entry>
    <title>DSP library FFT accuracy</title>
    <link rel="alternate" href="http://mypic32.com/c/message_boards/find_message?p_l_id=10306&amp;messageId=183316" />
    <author>
      <name>master_04</name>
    </author>
    <updated>2010-04-21T02:42:57Z</updated>
    <published>2010-04-21T02:42:57Z</published>
    <summary type="html">Hello,
   I am using mips_fft16 function provided in the DSP library. I am using 4096 point and sampling at 10 KHz. When I send 3KHz I read the output as 2.987KHz. I would like to know the accuracyof the FFT function.

Thanks,</summary>
    <dc:creator>master_04</dc:creator>
    <dc:date>2010-04-21T02:42:57Z</dc:date>
  </entry>
  <entry>
    <title>RE: Hexapod</title>
    <link rel="alternate" href="http://mypic32.com/c/message_boards/find_message?p_l_id=10306&amp;messageId=183230" />
    <author>
      <name>boseji</name>
    </author>
    <updated>2010-04-17T02:10:39Z</updated>
    <published>2010-04-17T02:10:39Z</published>
    <summary type="html">Hi,

How do you plan to prototype the parts? Starting with PIC32 Starter Kit? Or Your Own Board?

Best of Luck,

Boseji</summary>
    <dc:creator>boseji</dc:creator>
    <dc:date>2010-04-17T02:10:39Z</dc:date>
  </entry>
</feed>

