Re: lpc54xx: Debugging I2C and wm8904

2020-04-26 Thread Andrei Stefanescu
Hi Dave, Thank you for your answer. Sorry for the very late reply. I couldn't find a patch for the mimxrt I2C that seemed to solve a similar issue. Moreover, I think that the lpc54_i2c driver is based on the lpc43 driver. However, a weird thing happens. If I change the code inside the wm8904 driv

Re: lpc54xx: Debugging I2C and wm8904

2020-02-23 Thread Dave Marples
Andrei, Might be a red herring but take a look at the i2c module for mimxrtthere were changes applied there recently for similar issues. It could well be that the modules have common heritage and so have the same bugs...not at my desk otherwise I'd have a look myself. Regards Dave On Sun, 2

lpc54xx: Debugging I2C and wm8904

2020-02-23 Thread Andrei Stefanescu
Hi, I am planning to use the wm8904 codec(found on the lpcxpresso54628 board) with Nuttx. I have the following problem: during the initial I2C setup of the wm8904, when trying to write to the 0x21 register, there is an indefinite stretch for the slave ACK. I attached the screenshots from the osci