cancel
Showing results for 
Search instead for 
Did you mean: 

Set up ADC triggered by CTU with Tresos on SPC56EL46

pentti2
Associate
Posted on July 10, 2013 at 10:56

Hello,

I am trying to configure the ADC to be triggered by the CTU.

But using a debugger I can see, that many of my configurations made in Tresos are not taken over to the �C registers.

As far as I can see the ''init'' code parts are executed as long as  ADC_ResultsBufferPtr[] inside the genrated file Adc_Cfg.c contains NULL_PTR.

Sadly I am not able to find the correct setting to get some values in ADC_ResultsBufferPtr[].

How do I get rid of the NULL_PTR entries.

Thanks

#spc56
1 REPLY 1
Luca RODESCHINI
Associate III
Posted on November 19, 2013 at 18:52

Thanks for your post.

can you please:

 1) share what is the exact part number you are using (SPC56EL46 is not an ST valid part number - you can read on component marking)

2) send us MCU and ADC configuration files you are currently using.

thanks

Luca