DAC and ADC synchronization

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

DAC and ADC synchronization

Jump to solution
1,099 Views
javier1
Contributor III


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......

Thanks,

Best Regards, Javier.

0 Kudos
1 Solution
672 Views
DavidS
NXP Employee
NXP Employee

Hi Javier,

Heading out on vacation but here is a quick link that might help you.

https://community.freescale.com/thread/308943

Regards,

David

View solution in original post

0 Kudos
2 Replies
673 Views
DavidS
NXP Employee
NXP Employee

Hi Javier,

Heading out on vacation but here is a quick link that might help you.

https://community.freescale.com/thread/308943

Regards,

David

0 Kudos
672 Views
javier1
Contributor III

Hi David,

Thanks for the attached link,

Regards,

Javier.

0 Kudos