+ Post New Thread
Results 1 to 5 of 5
  1. #1
    Member level 5
    Points: 2,114, Level: 10
    Achievements:
    7 years registered

    Join Date
    Feb 2006
    Posts
    86
    Helped
    1 / 1
    Points
    2,114
    Level
    10

    serial in interrupt pic16f88

    Hi!

    I' have a problem: To save power, I put PIC (16F88) into SLEEP mode. and only WAKE from Serial Interrupt. But I can not receive correct data on RX pin.

    Could anybody help me?

    Best regard!

    •   AltAdvertisement

        
       

  2. #2
    Advanced Member level 1
    Points: 4,606, Level: 16
    Achievements:
    7 years registered

    Join Date
    Jan 2006
    Location
    Singapore
    Posts
    425
    Helped
    45 / 45
    Points
    4,606
    Level
    16

    wiu interrupt wake up

    Hi member_tdh,

    I have search through the 16F88 datasheet,
    and found that this maybe the problem you are facing.
    You might like to try this out and let all of us know if works.

    Thanks
    MODERATOR - SIGNATURE LINKS ARE NOT ALLOWED

    11.1.2 LOW-POWER MODE OPERATION
    The system clock is used to generate the desired baud
    rate; however, when a low-power mode is entered, the
    low-power clock source may be operating at a different
    frequency than in full power execution. In Sleep mode,
    no clocks are present. This may require the value in
    SPBRG to be adjusted.


    1 members found this post helpful.

    •   AltAdvertisement

        
       

  3. #3
    Member level 5
    Points: 2,114, Level: 10
    Achievements:
    7 years registered

    Join Date
    Feb 2006
    Posts
    86
    Helped
    1 / 1
    Points
    2,114
    Level
    10

    pic16f88 sleep

    Thanks for your help!



    •   AltAdvertisement

        
       

  4. #4
    Super Moderator
    Points: 258,488, Level: 100
    Awards:
    1st Helpful Member

    Join Date
    Jan 2008
    Location
    Bochum, Germany
    Posts
    45,127
    Helped
    13718 / 13718
    Points
    258,488
    Level
    100

    Re: PIC16F88 wake-up from UART interrupt?

    UART receiption from sleep mode (oscillator stopped) would require RxD additionally generating a level-change hardware interrupt. Also the first character most likely can't be received correctly at higher baud rate, cause oscillator has a start-up time.


    1 members found this post helpful.

  5. #5
    eXnol
    Guest

    PIC16F88 wake-up from UART interrupt?

    The onboard UART terminal is unable to work in ASYNC mode during sleep.


    1 members found this post helpful.

--[[ ]]--