Skip to main content
pentti2
Visitor II
July 10, 2013
Question

Set up ADC triggered by CTU with Tresos on SPC56EL46

  • July 10, 2013
  • 1 reply
  • 1272 views
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
    This topic has been closed for replies.

    1 reply

    Luca RODESCHINI
    Associate
    November 19, 2013
    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