STM32 I2C - both lines continuously held LOW
Hi, for my diploma project I made a DSP guitar effects pedal - designed a custom PCB and everything. On it I have an STM32F405RGT7 and a TLV320AIC33IRGZT audio codec. The codec is set up using I2C. The problem occurs when I try to communicate with it - I used a logic analyser and both lines (SDA and SCL) are continuously held LOW. I tried a new project and did the setup again with a simple I2C scanner - still nothing. I then tried to set the pins as GPIO pins and held them HIGH and then they both remained HIGH as they should - I think that hardware is not an issue since I have triple checked every connection, and given that the GPIO can hold the lines HIGH nothing appears to be shorted. I now believe the problem lies in the code but I just can see what could go wrong - does anyone have any idea?
