• 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...
  • WARNING C500 (PORT IS BUSY)
    Dear all, When I type, C:/Keil/C51/BIN/C51 foo.c DB OE NOCOND CD SB WL(1) NOAM INCDIR(a long list of include dir;) Error Message: C51 COMPILER V7.20 - SN: C1S7P-60655E COPYRIGHT KEIL ELEKTRONIK...
  • sending busy (NAK) to host for usb
    I'm using the MDK Middleware library with stm32f2xx_hal and I need to NAK to host. I see a reference to usbdRequestNAK but unsure how this can be used. I need to decorate my NAK around my emulated eeprom...
  • Busy flag of AT89C51ED2 is not getting cleared!!!
    Hi Keil, I have written the follwing code for writing the byte in EEPROM in ED2. The Problem is BUSY flag is not being cleared. while(!(EECON & 0x01)) ; EA = 0; EECON |= 0x02; XBYTE[0X0055...
  • C version of timeout for "busy" adc
    8051 Does anyone have a way or a suggestion on how to approach this issue. I don't want my ADC line to lock the code if the busy line never returns, I'd like to add a timeout to ensure that if after...