rajat2905
Newbie level 5
- Joined
- Jan 3, 2015
- Messages
- 10
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 91
hi all, i have been using pic16f1829 at 3.3vfor spi interfacing but the port B is not getting configured and when i configure it as a digital io it changes state as per the program but with very low peak to peak voltage equal to 240mv only as shown in the oscilloscope image.
my settings are:
TRISB=0x30;
LATB = 0x00;
ANSELB = 0x00;
WPUB = 0xF0;
OPTION_REGbits.nWPUEN = 0;
INLVLB = 0x00;
SSP1CON1 = 0x00;
i am trying to toggle the state of port B every 2 sec, but full voltage is not coming? why?
my settings are:
TRISB=0x30;
LATB = 0x00;
ANSELB = 0x00;
WPUB = 0xF0;
OPTION_REGbits.nWPUEN = 0;
INLVLB = 0x00;
SSP1CON1 = 0x00;
i am trying to toggle the state of port B every 2 sec, but full voltage is not coming? why?