USBPD with TCPP Package
Hi,
I´m using the TCPP package (inside CubeMX). For my application I also need an ADC channel on the same ADC1 as used by TCPP to measure the Bus voltage. But it seems, that I don´t get any result in my application (configured as DMA). Investigating the problem I was wondering, that the channel configured is not used by USBPD, because only the ADCx->DR is read. The channel defined in usbpd_ADC_SNK.h (#define TCPP01_PORT0_VSENSE_ADC_CHANNEL ADC_CHANNEL_2) is nowhere used in the code... ?
Any idea?
Best regards,
Achim
