• Can't write into DWT Registers
    Hello, I want to measure microseconds with the Cycle Counter of the DWT-Unit on a STM32F7. After long long searching, I found a lot of examples to do this by setting the CoreDebug->DEMCR register...
  • Writing a Byte over I2C for Slaves without Register Addresses
    I have this function defined for writing a byte to either the LCD 1602 (using the PCF8574 I/O expander), or the SHT21 humidity sensor. In both cases, it seems like after I write the slave address, I should...
  • Writing Atmel IRQ handlers with GNU
    The BlinkyIRQ example is not compatible with the Atmel AT91 family. And none of Atmel's appnotes use GNU. Is it possible to use the same: void tc2_test (void) __attribute__ ((interrupt)); // Generate...
  • Cortex : Saving registers during interrupts
    Hi Want to know if there is a way to instruct the compiler to preserve more than the normal registers (R0-R3, R12, LR, PSR, and PC) during an interrupt. Regards Viktor Bucher
  • Can't use DAC1 registers
    Hello, I'm not able to use DAC1 and DAC2 registers separately, everytime I build my project I get a warning message saying that "cmsis_iar.h" is obsolete so I can't download and debug because DAC1 gives...