DA7219 Performance Board Issues

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.xmece.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
6 posts / 0 new
Last post
cameronokeeffe
Offline
Last seen:4 months 3 days ago
Joined:2018-11-01 00:48
DA7219 Performance Board Issues

Hi Team,

We are currently evaluating your DA7219 audio CODEC using your 284-02-D board. But we have having some issues that we need help with.
I am unsure where the problem is originating from, and so hoping you might have some comments on known issues and or limitations with the system.

首先,我们目前的设置是一个相对干净install of Windows 10 Pro (Version 1709) running on a Dell Laptop with an i7-8650 and 16GB of RAM (so a fairly capable machine).

I have version 1.1.0.12 of the DA7219 smartcanvas installed, along with version 1.2.6.0 of the libusb-win32 driver (provided with the smartcavas software). I believe this is the most up-to-date copy of the software available through your support forum (and was also provided on the USB that came with the performance board).

The local audio configuration has been setup to route to the USB device, as per the Readme and quick start document.

The smartcanvas software can connect to the board without issues, but once the "Slave_PLL_SRM_12MHz_48k_16bit_I2S_USB_AUDIO.txt" script was executed, we noticed console errors indicating the SDA line was pulled low:

2019-02-27, 21:07:02 [ERROR] Read Failure (bus=i2c, slave=0x96, address=0x0000)
2019-02-27, 21:07:02 [ERROR] read 0000 failed with exception: ('USB-Lab_IO ERROR: 15 SDA line is LOW (extra info: I2C slave 0x97)', 15)
2019-02-27, 21:07:02 [ERROR] Read Failure (bus=i2c, slave=0x96, address=0x0000)
2019-02-27, 21:07:02 [ERROR] read 0000 failed with exception: ('USB-Lab_IO ERROR: 12 Arbitration lost (extra info: I2C slave 0x97)', 12)

In this setup the polling configuration was for reading the entire register set, with an I2C speed of 400kHz, with a period of 100ms.
Reducing the speed usually fixes this issue. This leads to my first question - is this a typical limitation for the 284-02-D board, or might it be indicative of manufacturing flaws? Sometimes there are also intermittent issues where the I2C consistently fails with the following warning after trying to execute a load script to initially configure the PLL:

2019-02-27, 21:37:17 [ERROR] Write Failure (bus=i2c, slave=0x34, address=0x0013, data=0x80)
2019-02-27, 21:37:18 [ERROR] read 0025 failed with exception: [Errno 9] Bad file descriptor
2019-02-27, 21:37:18 [ERROR] Read Failure (bus=i2c, slave=0x34, address=0x0025)
2019-02-27, 21:37:18 [WARNING] PLL calculator addon failed to read PLL status bits
2019-02-27, 21:37:19 [ERROR] gpio get state failure [port: B, linenum: 8]
2019-02-27, 21:37:19 [CRITICAL] [Errno 9] Bad file descriptor

使用较低的I2C时钟和MCLK酸的ced from the 12.288MHz oscillator, we an manipulate registers and monitor Accessory Detection Events. What we could not do however, is generate audio out the Headset socket, be that via USB originated audio, or via the built-in Tonegen. I have tried a number of PLL configurations, but with no success.

Regardless of the MCLK and PLL setting, when performing playback or recording via USB audio, the bit clock is indeed driven at 1.536MHz (consistent with 16bit 48kHz stereo audio), however the word clock and DOUT are not clocking.
My instincts are that the issues are related the the SAM3U processor on the board, that it is incorrectly performing I2C operations, MCLK generation, and/or I2S signal generation. Do you have any comments here? Or would do you have a newer version of the firmware for this chip that I could flash to the processor?

When a headphone is plugged in, we can also head a significant amount of noise, while the charge pump is active and the headphone output is enabled. Is this also typical for the 284-02-D performance board?

If you are able to provide some guidance on these issues, it would be greatly appreciated.

Thank you for your continued support.

Kind Regards,
Cameron

Device:
bmcadam
Offline
Last seen:1 month 1 week ago
Staff
Joined:2015-09-16 16:25
Hello,

Hello,

Certainly not typical behaviour, thoughts are ensuing that the drivers have been installed correctly, which in the device manager should be showing "Dialog USB_Lab IO" under the libusb_win32 Usb devices.

Have attached the quick start guide, might be worth uninstalling everything and start again.

cameronokeeffe
Offline
Last seen:4 months 3 days ago
Joined:2018-11-01 00:48
Hi,

Hi,

Thanks for the prompt response,
I can confirm that the drivers are installed correctly via the method you have described above.
This is where I went to find the libusb_win32 driver version number mentioned previously. Windows 10 reports there is not issue with the driver, and cannot find an updated one on the web. Is there a newer version than 1.2.6.0 available?

We have tried reinstalling everything, but the problem still persists.

bmcadam
Offline
Last seen:1 month 1 week ago
Staff
Joined:2015-09-16 16:25
Assume you are getting the

Assume you are getting the following communication "Green" lights in Smartcanvas ?

Also double check that you are supply the USB cable direct from your computer and not through a hub USB device.

It does sound like something wrong with the Sam3u, could we provide another evaluation board ?

cameronokeeffe
Offline
Last seen:4 months 3 days ago
Joined:2018-11-01 00:48
Hi Adam,

Hi Adam,

Both the DA7219 connection and the USB connection are normally green.
The console often reports I2C bus errors, and reducing the I2C bus speed reduces the frequency of these errors occuring.
If we could return this board and get it replaced, that would be ideal - what would be the process of going about this?

Cheers,
Cameron

ED_Dialog
Offline
Last seen:1 month 3 weeks ago
Staff
Joined:2017-09-18 11:54
Hello Cameron,

Hello Cameron,

I will reach out directly about getting you an Eval board.

kind regards,

Elliott