Because the PCB is tiny: I don't have enough space to put 4 ADC + 4 PWM connectors. This is a 6-pins connector that also includes pins for 5V, 3.3V, GND, and two other signal pins.May I ask why not get best flexibility by 4 ADC inputs and 4 PWM outputs?
Does it mean I have to add a capacitor to R2 to form RC, like I did with the ADC?With induvidual RC (I recommend max 10k) and ...
How can we know? We neither know the (hardware capabilities of your) microcontroller, nor do we know your software.To get even more flexibility, can the MCU use its ports as ADC or PWM interchangeably?
There are families of parts that have analog and digital muxes onboard as well as ADC, Vref, PWM,
see attached for a discussion of a shared digital/analog pin, section 7.1
https://www.cypress.com/file/127101/download section 7.1
https://edge.rit.edu/content/P14215/public/Datasheets/PinsTutorial.pdf page 11
Also attached is onchip resources for a 5LP familiy part.
Regards, Dana.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?