2024-12-26 04:44 AM
Hello,
2024-12-26 07:23 AM
What leads you to believe you are "unable to get the signals in the other side of the level translator" ? Specifically since setting the pins as GPIO works. Certainly that shows the level shifter is working. And if I2C signals are correct right out the STM32, it's certainly not an STM32 issue.
Show some more evidence. Probably it's a test setup issue, or due to bad assumptions. An analog trace of I2C before/after the shifter would be informative. Perhaps it's now powered.
2024-12-26 09:39 AM
Primary why level shifter with same Vcc values 3,3V ? Not required.
Secondary is GNDs board 1 connected to board 2 GND ?
2024-12-26 08:53 PM
Hi,
Yes, the Level Shifter is not required. Instead of Level shifter we have mounted the R101 and R102 resistors for the data and clock pins. But when testing the signals after mounting the above resistors we are not getting the signals both input and output side (2,3 pins as input & 6,7 as output in U6 of the attached file) as expected. It is continuously high when we are checking the clock and data pins in the oscilloscope. If the resistors were not mounted, then the input side we can monitor the clock and data signals correctly. What might be the Issue?
Please refer to the file that I have attached.
And the GNDs board 1 connected to board 2 GND.
Thank you...
2024-12-26 11:20 PM - edited 2024-12-26 11:21 PM
What? Many, but start point is when level shifter is removed, remove too R21 22 25 around it. Check soldering and orientation U4 on pcb. U4 is mirrored on your image is realy right wired? How value resistors above?