Skip to main content
benone
Visitor II
February 12, 2015
Solved

SPC560P40 PICTUS - CTU/NORMAL Trigger for ADC

  • February 12, 2015
  • 1 reply
  • 1045 views
Posted on February 12, 2015 at 15:09

I am currently working on a BLDC control application using SPC560P40 (Pictus) microcontroller and making use of the CTU (Cross-Triggering-Unit) to trigger ADC channels related to BEMF reading in closed loop control. The conversion for the ADC channel configured in CTU mode works fine, however  while CTU is active (CTUEN=1) I cannot start a normal conversion for any other channel which is configured in NORMAL mode.

Is this a limitation of the PICTUS? The user manual is not very clear here...

Thanks for advice,

Benone

#spc56 #adc #bldc #ctu
This topic has been closed for replies.
Best answer by Erwan YVIN
Posted on February 17, 2015 at 15:07

Hello Benone ,

in chapter 24.3.4 ,

in CTU in control mode

In CTU control mode, the CPU is able to write in the ADC registers but it cannot start any

conversion. Conversion requests can be generated only by the CTU trigger pulse. If a

normal or injected conversion is requested, it is automatically discarded.

 

it is not possible on Pictus

   Best regards

              Erwan

1 reply

Erwan YVIN
Erwan YVINBest answer
ST Employee
February 17, 2015
Posted on February 17, 2015 at 15:07

Hello Benone ,

in chapter 24.3.4 ,

in CTU in control mode

In CTU control mode, the CPU is able to write in the ADC registers but it cannot start any

conversion. Conversion requests can be generated only by the CTU trigger pulse. If a

normal or injected conversion is requested, it is automatically discarded.

 

it is not possible on Pictus

   Best regards

              Erwan