2024-06-13 02:52 AM - last edited on 2024-06-13 03:12 AM by SofLit
Hello,
Am working on STM32L412RBT6.
We made a custom PCB for our product and Am trying to PD2 as digital output as toggle function.
I can't able to find any high output at PD2. The pin PD2 is always remains low.
Please help me on this
Solved! Go to Solution.
2024-06-13 08:09 AM - edited 2024-06-13 08:09 AM
@VasuManiV wrote:
Yes @SofLit we have a nucleo board to evaluate our code. Even i have tested with that. Am getting low at that pin always. Even i have tried to make that pin high instead of toggling.
So here you confirm that even with NUCLEO-L412 board you're facing the same behavior? So I can test it from my side!
2024-06-13 08:11 AM
@SofLit Yes please do test and let me know
2024-06-13 08:34 AM - edited 2024-06-13 08:36 AM
Sorry, but NUCLEO-L412 has an LQFP32 package which doesn't have GPIOD port on it especially pin PD2, could you please clarify?
https://www.st.com/en/evaluation-tools/nucleo-l412kb.html
2024-06-13 08:37 AM
No its a LQFP64 package. Please check the snap which i took from the NUCLEO-412RB schematic
2024-06-13 08:42 AM - edited 2024-06-13 08:42 AM
Umm well unfortunately I don't have this board (NUCLEO-64) on hands but I can provide you a very simple project on which I toggle PD2 and you can test from your side and get back with the result.
But you didn't answer that question: do you confirm that even with NUCLEO-L412 board you're facing the same behavior?
2024-06-13 08:47 AM
But pin 54 is PB3 , not PD2 . Right ?
+
Which LED is there ?
2024-06-13 09:02 AM
Attached a simple project toggling PD2.
But also need to check the solder bridges SB16 and SB18:
SB16: needs to be soldered and SB18 needs to be disconnected.
2024-06-13 09:03 AM
There is not LED in NUCLEO board. We need a LED to blink to show fault status in our application.
2024-06-13 09:08 AM
Sorry i forgot. Yes we are facing the same behavior in NUCLEO-L412RB board. As you can see that in schematic, PD2 is not going anywhere and it is coming directly to the connector. I have probed at the connector as well as in controller pin (54th).
2024-06-13 09:09 AM - edited 2024-06-13 09:09 AM
According to the datasheet pin 54 is PD2:
But in CubeMx if you create a project based on the NUCLEO-L412 board you get pin 54 is PB3! It's based on the default solder bridge SB18 soldered/SB16 disconnected: