1. lucky930

    Need help for the definition of these function

    Hello Guyz, I've found below code that belongs to the timer declaration function but the definition is hidden by the author. Can anyone help me to provide a definition for the same? I want this to be utilized in a project related to ATMEGA8 using Atmel studio. #ifndef TIMERS_H_ #define...
  2. john137

    stm8s003 timer1 channel2 capture doesn't work

    this doesn't work: TIM1_CCMR2 = 0b01; //its default input channel TIM1_IER = 0b100; //channel 2 capture interrupt TIM1_CCER2 = 0b1; //channel 2 capture TIM1_CR1 = 0b1; //start counter and yet this works with no problem (on channel 1) TIM1_CCMR1 = 0b10; //remap channel 1 on input 2 where ch2...
  3. delini

    GPIO Interrupt in ESP32-C3 controller baremetal

    Hi, I'm new to microcontrollers and try learning ESP32-C3 which has RV32I core by myself. I wanna to code baremetal ESP32-C3 instead of using ESP-IDF library and face some error with GPIO interrupt part I read the instruction in technical manual then try to do this lab to practice: mapping...
  4. S

    Conflicting timers and/or interrupts in Arduino Servo Library and USBHostShield Library

    Hello, I am using the Arduino Servo library to actuate two BLDC motors and ADK USB Host Shield to control them using a USB dongle controller (XBOX). But I am facing issues particularly in calibrating the BLDCs and lose the host shield. The most probable problem I could think of is there are some...
  5. ponas.jonas

    Calculating the prescaler and counter period for an external timer on STM32

    I am trying to get an external timer (TIM5) to toggle an LED at a certain time period. I am designing it to interrupt every 2 micro seconds. I use an oscilloscope to check whether it works as intended, but unfortunately it does not. The clock speed is 45Mhz And I calculate the period APBtimer...
  6. dabo

    Not able to read Interrupt Status Register and reset Interrupts on MAX30102

    I am currently trying to develop a pulse oximeter. For this I use the MAX30102 sensor and the NXP LPC1768 microcontroller. The communication is done via I2C. I have configured the MAX30102 sensor to generate an interrupt as soon as the FIFO is full. As soon as I start the program in debug...
  7. Levent Bekçi

    MC3635 Accelerometer SPI Interrupt Pin Question

    Hi Guys, I am using MC3635 Evaluation Board(EV3635B). There is no problem about SPI connection and i can read X,Y,Z movement via SPI. But i can not use interrupt pin as output. I want that let interrupt pin of the accelerometer give me HIGH when there is a tapping or movement and let me turn...
  8. A

    HOW TO FIX THE CODE I MADE

    Hail to thee; I'm utterly beginner in C programming, and i made two codes using MikroC PRO, and i'm seeking out your help to make the two of them working in the main time. the first code is just an A/D conversion and display the result on an LCD. with some conditions on account of commanding a...
  9. Y

    interrupt condition in the example code

    Hello, for my EFR32FG14 controller An interupt is when we stop the main code to run a sub code. In the example bellow our interrupt code is a function called USART1_TX_IRQHandler. We have these two lines where NVIC_enable says that USART1_TX_IRQn is our interrupt function. but i cant see in...
  10. F

    External Interrupt on PIC16F887 not working // MPLABX XC8 C

    I would need some help with the external interrupt on pin 33 on the PIC16F887(PDIP). Basically I have tried everything, went by the datasheet, and the interrupt ended up not working. I'm 99% sure, that I have the hardware working because it worked with an Arduino. I am using an encoder, and both...
  11. Danielsuri

    Brown-out detection with an external clock ATmega1280

    I'm using ATmega1280 with an external clock and I have some questions about the "safe operating area" for preventing EEPROM corruption with BOD. The external clock is: Crystals 14.7456MHz 18pF HC49S SMD by CITIZEN, without clock division. LINK to ATmega1280 datasheet In the datasheet of...
  12. S

    ESP8266-01 Interrupts

    I'm trying to setup interrupt in arduino based environment using board ESP8266-01, based on help i found on different sites i wrote following code, but when i program my device it continuously shows interrupt message "Interrupt Ocurred: 1" on serial monitor, while same program running if i pull...
Top