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.

SmartCanvas软件可以在没有问题的情况下连接到电路板,但是一旦执行了“Slave_Pll_srm_12mhz_48k_16bit_i2s_usb_audio.txt”脚本,我们注意到控制台错误,指示SDA线被拉低:

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.
减少速度通常修复了这个问题。这导致了我的第一个问题 - 这是284-02-D董事会的典型限制,也可能指示制造缺陷?有时,在尝试执行加载脚本之前,I2C在尝试执行加载脚本后,I2C的间歇性问题也一直在以下警告中断,以便最初配置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 [错误] GPIO GET状态失败[端口:B,LINENUM:8]
2019-02-27, 21:37:19 [CRITICAL] [Errno 9] Bad file descriptor

使用来自12.288MHz振荡器的较低I2C时钟和MCLK,我们是一种操作寄存器和监控附件检测事件。但是,我们无法做到,通过USB发起音频,或通过内置ToneGen来生成耳机插座。我尝试了许多PLL配置,但没有成功。

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.
我的本能是,问题与电路板上的SAM3U处理器相关,即它不正确地执行I2C操作,MCLK生成和/或I2S信号。你有评论吗?或者你会为这个芯片有一个新版本的固件我可以闪光到处理器?

插入耳机时,我们还可以头部大量噪声,而电荷泵处于活动状态,耳机输出已启用。这也是284-02-D性能板的典型吗?

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