USART2 setting for 1MHzCPU + 4PLL


Closed Thread
Results 1 to 33 of 33

Hybrid View

  1. #1
    Join Date
    Feb 2012
    Location
    PERTH AUSTRALIA
    Posts
    838


    Did you find this post helpful? Yes | No

    Default Re: USART2 setting for 1MHzCPU + 4PLL

    yes but those measures have been applied , if i did not the power usage would be higher


    Code:
     ----------- power down CPU internal modules NOT required to save on power usage ---------
      PMD0 = %11111011                         ' TURN OFF (bit7-3) na ( bit2)ECAN module( must be on lower power??), Comparator2 (bit1),Comparator1 (bit0)
      PMD1 = %11011110                         ' TURN OFF (bit7) PSP,(bit6)CTMU,(bit5)ADC MODULE,(bit4)TMR4,(bit3)TMR3,(bit2)TMR2,(bit1)TMR1,(bit0)TMR0,        
      PMD2 = %11111111                         ' TURN OFF (bit7) CCP5,(bit6)CCP4,(bit5)CCP3,(bit4)CCP2,(bit3)CCP1,(bit2)UART2,(bit1)UART1,(bit0)MSSP, 
     ' Note : USART2 is tuned on as required

  2. #2
    Join Date
    May 2007
    Posts
    604


    Did you find this post helpful? Yes | No

    Default Re: USART2 setting for 1MHzCPU + 4PLL

    Yah, but is your CPU in a low power mode such SLEEP when it is doing nothing?
    Why pay for overpriced toys when you can have
    professional grade tools for FREE!!!

Similar Threads

  1. Micrtochip AN1310 for USART2
    By cerr99 in forum mel PIC BASIC
    Replies: 1
    Last Post: - 27th May 2011, 18:59
  2. USBBufferSize setting
    By Ronald123 in forum USB
    Replies: 4
    Last Post: - 18th April 2008, 12:33
  3. Setting up the oscillator
    By J_norrie in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 2nd October 2007, 14:53
  4. setting up HPWM
    By sunny in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 22nd October 2006, 01:36
  5. setting register
    By volcane in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 19th April 2006, 22:46

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts