USART2 setting for 1MHzCPU + 4PLL


Results 1 to 33 of 33

Threaded View

  1. #22
    Join Date
    May 2007
    Posts
    604


    Did you find this post helpful? Yes | No

    Default Re: USART2 setting for 1MHzCPU + 4PLL

    You are not using the features of the MCU correctly. Sleep current of the PIC18F46K80 is anything from 200nA (0.0002mA) to 10uA (0.01mA) depending on temperature and VDD (according to to the data sheet) and not the 0.24mA that you quoted.
    Name:  18F-SLEEP.jpg
Views: 9341
Size:  46.2 KB

    Run current at 64MHz is 7-12mA.
    Name:  18F-64MHz.jpg
Views: 9823
Size:  34.9 KB

    So, worst case, your average current will be <0.2mA even running the core at 64MHz. Here'e how:

    Active - running @ 64MHz = 12mA * 1/64 = 0.1875mA
    Sleeping = 0.01mA * 63/64 = 0.00984375mA
    Average = 0.1875 + 0.00984375 = 0.19734375 = < 0.2mA, less than 20% of what you are hoping to achieve at 1MHz.
    Last edited by rmteo; - 2nd July 2015 at 10:25.
    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