• C51 multiplication
    Dear Erik! What do I have to do recieve a 32-bit result if I multiply 2 16-bit variables? For example: unsigned int a; unsigned int b; unsigned long c; c = a * b; Why I have 16-bit result...
  • Multiple interrupts
    In my program I use serial communication and T0 interrupt for time delay generation. It is noticed that when I generate a delay of 60 seconds, it works properly only if the serial interrupt is disabled...
  • Timer runs to fast with a 12 MHz crystal
    The crystal is a 12 Mhz //#include "F100GlobalDataTypeDefs.h" //#include "F100GlobalDef.h" //#include "F100GlobalVars.h" //#include "F100Functions.h" //#include "F100HW.h" void msecWait(uint...
  • uVision2:CAN'T SEEM TO GET WATCHDOG TIMER TO RUN
    I've enabled the watchdog timer in the start167.a66 file and compile it and link it with the rest of my application, there seems to be no response, as if uVision2 is using some other c_startup file. I...
  • Timer 0 Interrupt runs only once
    Hello, My interrupt routine runs only once and then it stops. I don't know what to do, I googled for help but no success. Can anyone help me with this ? I am using keil uVision3 and LPC2364...