AnsweredAssumed Answered

DAC and ADC synchronization

Question asked by Javier Artigas on Jun 19, 2013
Latest reply on Jul 1, 2013 by Javier Artigas

Hi to all,

I´m using kinetis K60N512, codewarrior 10.2 or 10.3 and MQX 3.7

I wanna do an analog ramp with kinetis K60N512 DAC, from 0xfff to 0x0, in 50 steps (0x50). This full ramp will be of 1.8-2.0 mseconds. The analog ramp is tied to single ended ADC input.

On the other hand, I wanna read from ADC, the analog value of each of 50 steps generated from DAC.


1- Is it possible to do this in this time with MQX (50 DAC-ADC readings)?

2- What´s the best way to do this synchronization?

3- Can anyone provide me the DAC code generated from Processor Expert? I have not ever used it.


I don´t know if this topic should be in MQX section......




Best Regards, Javier.