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




Bookmarks