cancel
Showing results for 
Search instead for 
Did you mean: 

SPC560P40 PICTUS - CTU/NORMAL Trigger for ADC

benone
Associate
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
1 ACCEPTED SOLUTION

Accepted Solutions
Erwan YVIN
ST Employee
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

View solution in original post

1 REPLY 1
Erwan YVIN
ST Employee
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