#PIC32MM0256GPM064 : Wakup controller on UART RX interrupt

#PIC32MM0256GPM064 : Wakup controller on UART RX interrupt

Postby c79 » Mon Jan 06, 2020 2:40 pm

Hi,

I am using PIC32MM0256GPM064 controller.
I wanted to wakeup controller on UART RX interrupt.
I have enabled the SLPEN (bit 23) and WAKE (bit 7) in UxMODE register but the controller wakeup is not happening.
Interrupt priority is also high for UART RX interrupt.

What other things I need to consider during this.
Please help me with this.
c79
 
Posts: 3
Joined: Mon Jan 06, 2020 2:29 pm
PIC experience: Professional 1+ years with MCHP products

Re: #PIC32MM0256GPM064 : Wakup controller on UART RX interru

Postby ric » Tue Jan 07, 2020 1:07 am

Interrupt priority is also high for UART RX interrupt.

What is the CPU priority when you enable SLEEP mode?
Is the UART RX interrupt actually enabled?
Is the UART working normally before you enter sleep mode?
Latest test project, an LED matrix display made from one reel of addressable LEDs. here
User avatar
ric
Verified identity
 
Posts: 659
Joined: Sat May 24, 2014 2:35 pm
Location: Melbourne, Australia
PIC experience: Professional 5+ years with MCHP products

Re: #PIC32MM0256GPM064 : Wakup controller on UART RX interru

Postby c79 » Tue Jan 07, 2020 6:27 am

Yes interrupt is enabled.
UART is not working properly controller is getting stuck in between.
c79
 
Posts: 3
Joined: Mon Jan 06, 2020 2:29 pm
PIC experience: Professional 1+ years with MCHP products

Re: #PIC32MM0256GPM064 : Wakup controller on UART RX interru

Postby c79 » Mon Jan 13, 2020 2:19 pm

Any update?
c79
 
Posts: 3
Joined: Mon Jan 06, 2020 2:29 pm
PIC experience: Professional 1+ years with MCHP products


Return to PIC32 topics

Who is online

Users browsing this forum: No registered users and 7 guests

cron