Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

dspic33ep512mu814 reset issue

Status
Not open for further replies.

raman00084

Full Member level 6
Full Member level 6
Joined
Nov 29, 2010
Messages
372
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,298
Activity points
4,061
i am using ds pic33ep512mu814 144 pin ic, if i keep on pressing the reset button at one time say 20th are 22th time the controller gets hanged again if i press the reset button it works. i am just toglling an led.

the fuse setting are as follows i am using ccs complier


#FUSES NOWDT //No Watch Dog Timer
#FUSES NOCKSNOFSM //Clock Switching is disabled, fail Safe clock monitor is disabled

#FUSES NOJTAG //JTAG disabled
#device ICSP=1
#use delay(clock=60MHz,crystal=12MHz)

#use i2c(MASTER, I2C2, FAST, stream=I2C_PORT1)

kindly help

- - - Updated - - -

JUST NOW I FOUND THIS PROBLEM OCCURS ONLY IF I ENABLE THE HARD WARE I2C IN CCS IF I USE SOFT I2C THE DEVICE IS GETTING RESET CORRECTELY NO PROBLEM, HOW TO WORK IN HARD WARE I2C HOW TO SOLVE THE PROBLEM.
FUSE SETTINGS
#FUSES NOWDT //No Watch Dog Timer
#FUSES NOCKSNOFSM //Clock Switching is disabled, fail Safe clock monitor is disabled

#FUSES NOJTAG //JTAG disabled


#device ICSP=1
#use delay(clock=60MHz,crystal=12MHz)

//#use i2c(MASTER, I2C2, FAST, stream=I2C_PORT1)
#use i2c(MASTER, SCL=PIN_F5, SDA=PIN_F4, FAST, RESTART_WDT, stream=I2C_PORT1)

#pin_select U1TX=PIN_G6
#pin_select U1RX=PIN_C4
#use rs232(UART1, baud=9600, stream=UART_PORT1)

#pin_select U2TX=PIN_G8
#pin_select U2RX=PIN_G7
#use rs232(UART2, baud=9600, stream=UART_PORT2)
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top