Missing 128ms POR delay

Post Reply
Bernard Leak
Posts: 18
Joined: Fri Aug 15, 2008 3:42 pm
Location: Armitage, Staffordshire, England

Missing 128ms POR delay

Post by Bernard Leak » Wed Apr 08, 2009 12:44 pm

I'm not quite sure which PIC models have this. It's not well documented.
The default POR delay (FPWRT in FPOR) seems to be 128ms. It's given like that
in the MPLAB GUI (the 'Configuration bits' window), and there is a selector for this
(FPWRT_PWR128) in *all* of the dsPIC33F header files. This counts as "default"
because it's what you get if the FPOR configuration register is unprogrammed
(all bits set).

However, it's not available in the dsPIC Master block mask, which only allows
0 and powers of 2 from 1 to 64.

I owe you a success story: while I was failing to write you a testimonial,
we at add2 have put a product out on the market. It's a battery simulator for
(mostly) the car industry.

Bernard Leak.

LubinKerhuel
Site Admin - Expert
Posts: 616
Joined: Wed Mar 07, 2007 11:23 pm
Location: Bayonne- France
Contact:

Re: Missing 128ms POR delay

Post by LubinKerhuel » Thu Apr 09, 2009 10:55 pm

Hi Bernard,
Bernard Leak wrote:in *all* of the dsPIC33F header files
Ok, I believe you, (did not open all of them). But I added the 128ms to all 33f dspic (will be available in the next version , current is 0.99c).
Bernard Leak wrote:I owe you a success story: while I was failing to write you a testimonial,
we at add2 have put a product out on the market. It's a battery simulator for
(mostly) the car industry.
I did not get the message here ?

I am still planning to write a testimonial page on the wiki, but I just have to prepare it ! Would you be the first to write on it ?
Could we get more info about the battery simulator ? I do not know what is it for ?

Lubin

Bernard Leak
Posts: 18
Joined: Fri Aug 15, 2008 3:42 pm
Location: Armitage, Staffordshire, England

Re: Missing 128ms POR delay

Post by Bernard Leak » Tue Apr 14, 2009 9:23 am

Thanks for the update.

I didn't open the files individually - I used grep!

I said I'd see about getting a testimonial for you quite a long time ago. My managers
are quite happy to let me do it, though of course they will have to approve any text I
send you. I simply haven't had any spare time.

Bernard Leak.

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests