 |
 |
View previous topic :: View next topic |
Author |
Message |
jeffg28CLY
Joined: 24 Apr 2025 Posts: 2
|
18F46K22: Wizard has HLVD (High/Low Voltage) grayed out |
Posted: Thu Apr 24, 2025 12:14 pm |
|
|
I'm still running an old version of the compiler, v5.075.
I started up the Project Wizard like normal, selected 18F family, 18F46K22, and went to the High/Low Voltage section to try out HLVD for something.
But all of the options in that section are grayed out - I can't enable anything. All of the options are visible, showing the various voltage limits, Above/Below Trip Point, and checkboxes for HLVD Enabled and LVD Enabled. All are grayed out.
I went through the other sections, thinking there was some dependency that was preventing it from working, but I'm not finding anything.
The PIC definitely has the hardware functionality - Pin_A5 is HLVDIN.
I tried turning pins on and off in the Analog section, turned on Vref in the CCP/Vref section (I can't set any Vref sources there though, it only gives VDD+/VSS-, all else is grayed out, hmm), I checked through the Fuses section... I'm not seeing a reason why the HLVD section is fully grayed out.
[/img] |
|
 |
PrinceNai
Joined: 31 Oct 2016 Posts: 528 Location: Montenegro
|
|
 |
Ttelmah
Joined: 11 Mar 2010 Posts: 19803
|
|
Posted: Fri Apr 25, 2025 12:08 am |
|
|
and honestly, don't use the wizard. It causes more problems than it fixes.
Learn to set things up for yourself. I can't think of anything it does really
well...  |
|
 |
jeffg28CLY
Joined: 24 Apr 2025 Posts: 2
|
|
Posted: Fri Apr 25, 2025 8:37 am |
|
|
Ttelmah wrote: | and honestly, don't use the wizard. It causes more problems than it fixes.
Learn to set things up for yourself. I can't think of anything it does really
well...  |
I generally only use it as a jumping-off point, or as a reminder. "What is this function called? It's been a few years, I don't remember..." I can go several months between PIC programming projects, so each time I need to do it again, I'll be a bit rusty at the start.
And from there I'll consult the device's .h file so I can configure exactly what I need.
@PrinceNai - Ok good, thank you, that tells me I need to look up and use setup_low_volt_detect and use #INT_HLVD. |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|