BUSHBANDIT
New Member
We are using the 40X1 @ 16MHZ in a project that has been working successfully.
we have exchanged the chip for the 40X2 with the software syntax changes.
we have changed the resonator for an 8MHZ and now running this chip at 32 Mhz.
I am finding that the BOD when enabled is resetting the controller.
if i issue the Disable the BOD this resolves the situation.
I have 0.1 uf caps on both power rails (vcc and vdd pins) of the X2 and very close to the DIL pins.
i have a 500ma 5V reg feeding the supply to the chip. And here should be very little current draw.
i have a LCD in the circuit which intensity is set amd the power to draw 120ma max
The circuit is powered by either an AC/DC power supply or internal battery. this has high speed switching opto with a dc to dc converter and dual power coupled through summing shocky diodes.
Examination with a dso we get a 100us pulse up to 6V and down to 4V on supply rail on change over.
The micro uses one of the digital i/o lines to enable the DC to DC. This i/o pin is reset to zero on BOD. As expected the unit switchs off.
What powersupply Bypass/filtering caps should i be using? IF differeent?
What is the best way to reslove this? - want to leave browout enabled
What is the brown out triggure level set too when issueing this command.
In the PIC 18F4520 manual there are two bits that can be set with differing thresholds?
Thanks
Greg
we have exchanged the chip for the 40X2 with the software syntax changes.
we have changed the resonator for an 8MHZ and now running this chip at 32 Mhz.
I am finding that the BOD when enabled is resetting the controller.
if i issue the Disable the BOD this resolves the situation.
I have 0.1 uf caps on both power rails (vcc and vdd pins) of the X2 and very close to the DIL pins.
i have a 500ma 5V reg feeding the supply to the chip. And here should be very little current draw.
i have a LCD in the circuit which intensity is set amd the power to draw 120ma max
The circuit is powered by either an AC/DC power supply or internal battery. this has high speed switching opto with a dc to dc converter and dual power coupled through summing shocky diodes.
Examination with a dso we get a 100us pulse up to 6V and down to 4V on supply rail on change over.
The micro uses one of the digital i/o lines to enable the DC to DC. This i/o pin is reset to zero on BOD. As expected the unit switchs off.
What powersupply Bypass/filtering caps should i be using? IF differeent?
What is the best way to reslove this? - want to leave browout enabled
What is the brown out triggure level set too when issueing this command.
In the PIC 18F4520 manual there are two bits that can be set with differing thresholds?
Thanks
Greg