• AVR Freaks

Pic18F26k83 with can and less than 100µA in Sleep / Idle mode

Author
FR3D
New Member
  • Total Posts : 17
  • Reward points : 0
  • Joined: 2018/08/29 04:19:00
  • Location: 0
  • Status: offline
2019/07/10 06:52:29 (permalink)
0

Pic18F26k83 with can and less than 100µA in Sleep / Idle mode

Hallo,
I need to reduce the power consumption of my pic18f26k83.
I'm using the curiosity HPC Board
I'm measuring the VCC of my PIC only and not the complete board.
I'm running CAN only. All the other pins are configured as output and switched to low.
I'm running the pic with 125Khz system clock and 2.5Khz Can clock.
I'm using the Internal Oszillator only. The CAN is working in fifo mode (Mode2)
But the Pic needs 350µA @ 5V in Idle mode. -> wake up with CAN is working well ...
I'm running my application in dozed and idle mode.
...
CPUDOZE = 0xFF;
SLEEP();
...
It looks like SLEEP is working also... but I think that the current for the Can controller is much to high.

I does the same thing nearly 20 years ago with the Fujitsu MB90F384 and that
Can Controller needed 80µA @ 5V and 100Khz only.

So I'm sure I missed some power saving settings ?!
I need less than 100µA !
Do you have any ideas ?
 
Maybe the MCLR / PGC / PGD pins ?

best regards FR3D
post edited by FR3D - 2019/07/10 06:58:42
#1

2 Replies Related Threads

    du00000001
    Just Some Member
    • Total Posts : 2767
    • Reward points : 0
    • Joined: 2016/05/03 13:52:42
    • Location: Germany
    • Status: online
    Re: Pic18F26k83 with can and less than 100µA in Sleep / Idle mode 2019/07/10 07:26:04 (permalink)
    +1 (1)
    CAN wakeup is not a task for some CAN controller (which requires the clock, a quite operational CAN transceiver etc.)
    Running with clocks on will most likely exceed the 100 µA (some tiny 8-Bit PIC16 @32 kHz exempt).
     
    To implement CAN wakeup, get a wakeup-capable CAN transceiver (usually the 14-pins sort) and have it switching your µC's/CAN controller's supply on.
    I don't expect that you would be able to test this scheme on the curiosity board, but I may be wrong...

    PEBKAC / EBKAC / POBCAK / PICNIC (eventually see en.wikipedia.org)
    #2
    FR3D
    New Member
    • Total Posts : 17
    • Reward points : 0
    • Joined: 2018/08/29 04:19:00
    • Location: 0
    • Status: offline
    Re: Pic18F26k83 with can and less than 100µA in Sleep / Idle mode 2019/07/10 22:38:42 (permalink)
    0
    Hello,
    the CAN transceiver is another topic. I'm using the TISN65HVD251  ( 8 pins ) it needs additional 150µA in standby
    ( High on Rs Pin ) receive only !
     
    I changed the internal clock from 4Mhz to 1Mhz and adjusted the clock devider and saved 100µA !
     
    best regards FR3D
     
     
    post edited by FR3D - 2019/07/10 22:44:31

    Attached Image(s)

    #3
    Jump to:
    © 2019 APG vNext Commercial Version 4.5