gsg
Junior Member level 1
Hi,
I'm trying to send all 1's to output pins of dspic33fj128mc202. My programming and verification is done correctly. But there is no voltage at output pins. Here's the code
The output at all pins is :
Pin28: 3.3v
pin13: 3.3v
Pin1: 3.3v
Pin20: 2.6v
All other pins: 0v
can the IC be damaged?
What are the indications that a dspic is damaged?
I'm trying to send all 1's to output pins of dspic33fj128mc202. My programming and verification is done correctly. But there is no voltage at output pins. Here's the code
Code:
#include <p33FJ128MC202.h>
int main(void)
{
AD1PCFGL = 0xffff; //All analog capable pins in digital mode
TRISA = 0; //All pins output
TRISB = 0; //All pins output
PORTA = 0xFFFF; //All pins low
PORTB = 0xFFFF; //All pins low
while(1);
return 0;
}
Pin28: 3.3v
pin13: 3.3v
Pin1: 3.3v
Pin20: 2.6v
All other pins: 0v
can the IC be damaged?
What are the indications that a dspic is damaged?