Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
Hello,
I am trying to write to the DACR register in a timed loop while the mbed is receiving heavy interrupting from another source. It seems the timing of the interrupt is affected by the writes to the DACR register. Are writes to the DACR register stretched if the settling time has not past ?
The interrupt response of the other routine must be within 1 us so I have written that part in full assembler.
If I simply comment out the write to the DACR register, the system is rock solid. Is it possible to use the double buffering feature of the DAC without interrupts or DMA ?