• Clarification on Clearing of the EX1 Interrupt Flag
    Hi all, I was wondering if anyone could shed some light on the behaviour of the external interrupts, especially their flag behaviour. void int1 (void) interrupt 2 using 2 { P1_4 ^= 1; // Toggle...
  • STM3210C-eval - I2C Busy Flag Problem
    hello. I want to write byte to the sensör with I2C so write this code : void MPU6050_I2C_Init() { // RCC Configuration RCC_HCLKConfig(RCC_SYSCLK_Div2); RCC_PCLK1Config(RCC_HCLK_Div1); RCC_PCLK2Config...
  • AT89C51ED2
    I am trying to start a project using the AT89C51ED2 and uVision 2.03. However, cannot find header files or support files for the ED2 version of this 80C51. Can't find support at Keil website or at...
  • I2C Busy Busy detection
    Hello, I'm implementing I2C Multi-Master/Slave mode handling in the LPC2132 chip. I have few queries about the LPC213x's I2C controller operations. The user manual says that if the is SI bit (serial...
  • Cortex-M3 NVIC, When to clear the interrupt flag
    After some study, trial and error, I created a simple project for a NXP LPC1768, to test its timer interrupt. This project contains only startup_LPC17xx.s, system_LPC17xx.c, C-main.c, and timer.c. ...