dear pablo
thank you for your response, i am really desperate now, i thought that the k60 cpu adc channel b is working but it is not actually working
it did read some voltages but the values all wrong
looking thru both k60 and k64 manuals page 854 of k64 rev 4 oct 2019
it did indicate that channel B cannot use the adc software trigger function, quoted below:
Writing any of the SC1n registers while that specific SC1n register is actively controlling
a conversion aborts the current conversion. None of the SC1B-SC1n registers are used for
software trigger operation and therefore writes to the SC1B–SC1n registers do not initiate
a new conversion.
so my only choice is to use the pdb0 to trigger it but no matter what i do, i am unable to trigger ch B ADC
to keep it as simple as possible
i set the pdb0 for software trigger, one shot, bypass all delays. i load the channel into SC1B, software trigger the pdb0
read back the SC1B to see if COCO is set, but it was never set, tried BB mode and also continuous mode, also dont work
all examples are mostly using DMA or interrupt, i dont want to make my test complex and more error prone. just a simple example about will do
also, the pdb0 do not explicitly indicate where or how to set up the adc0 and adc1 triggers, so where and how exactly does the pdb0 triggers the adcs
john