Hello,
I've searched but found nothing relevant to solve my problem.
Environnement :
XLP 16 ... board
PICkit3
MPLAB X IDE
XC16 compiler
I recently aquired a nanoWatt 16bit XLP
(**broken link removed**)
I set up my developping environnement. It's fine exept 2 points :
1) When I run the demo of the board I don't get the capacitives touch to work
User Manual says: Press Switch 2 to alternate between mode:
"Pressing and holding S2 for more than two seconds selects the sensor input. Repeated
presses cycle between the temperature sensor, potentiometer, capacitive touch pads
and all three sensors at once."
However I never get the capacitive mode.
2) When I get into the deep sleep mode I cannot get out of it
"Pressing and holding S3 for more than two seconds selects between Sleep, Deep
Sleep and Idle modes for the PIC24 microcontroller."
So fine I press it and it changes from Sleep to Deep Sleep.
It works fine, so I press S3 again to go to the Idle mode => Nothing.
I keep reading a little and see:
"Because of the limited number of wake-up sources available in Deep Sleep mode, S3
can not wake the microcontroller."
So what? How to get back to sleep mode?
I looked at jumper, they are positionned. I found nothing about this issue. I feel like I've missed a simple important step but can't figure out. :-?
I'll play with the demo-code in order to try to get those things working. Also I'll try on different environnement. But if you can show me the good direction it could help. :wink:
Edit : By commenting the "Deep Sleep" content of the main.c I managed to get through the Deep sleed mode and reach the Idle mode. However this is not a real solution :roll: