2024-09-05 05:22 AM
Hi,
Greetings!!
We have been using STM32F446RE MCU in the project. We have implemented the DAC in the application at pin PA4 and PA5. Both DACs are generating similar voltages for different application.
The PA4 DAC is connected to ADC of another MCU through a cable with 15 cm length. In few boards we have observed that this DAC at pin PA4 stops working and gives constant 2.4V. Whereas the DAC at pin PA5 works as expected. The DAC at pin PA5 is not connected anywhere at this moment.
What would be the reason for this situation. Kindly advise.
We have not used any protection circuit from PA4 of STM32 to ADC pin of other MCU. It is simply connected through a cable.
Thanks,
Purushottam
2024-09-05 05:39 AM
If PA4 is stuck at a value, it is probably due to a design error or a hardware issue or error.
Another thing you could do is measure the voltage on the chip while the chip is in reset (NRST low). If it's still 2.4 V, it's definitely not a software error but a hardware error instead.
2024-09-05 10:19 PM
Hi,
Thanks for the suggestion.
I do agree that the error is because of hardware. The things were working well for couple of months.. So I am curious why this might have happened and what will be the precautions that we should take to avoid this again
Thanks
2024-09-06 05:41 AM - edited 2024-09-06 05:42 AM
Most likely event is an overvoltage condition somewhere. Perhaps it got shorted to 5V or similar. Could also be ESD damage, but that's much less likely. Perhaps something metallic was dropped on the board which shorted random pins together. Hard to guess without knowing the setup.
2024-09-06 07:00 AM
Hello,
@Paddy611 wrote:
The PA4 DAC is connected to ADC of another MCU through a cable with 15 cm length. In few boards we have observed that this DAC at pin PA4 stops working and gives constant 2.4V.
What if you move this wire from PA4 to PA5? Do you have the same behavior? do you have the behavior when PA4 is disconnected?
2024-09-08 08:58 PM
We tried changing the wire from PA4 to PA5.
PA5 is working as expected. Changing the DAC voltage at PA5. Whereas the PA4 status is same, i.e. @2.4V even if the wire is disconnected from PA4 and measured the signal at the pin.