Interfacing nrf52840 with DA7212

⚠️
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.
7 posts / 0 new
Last post
brijesh@avantari.org
Offline
Last seen:1 year 1 month ago
加入:2020-03-03 06:14
Interfacing nrf52840 with DA7212

Hi i am using an nrf52840 development board and i have a DA7212 and a mini speaker.

I want to know how can i use these resources to play some audio.

Device:
JE_Dialog
Offline
Last seen:3周3天前
工作人员
加入:2013-12-05 14:02
Hi There, generally speaking,

Hi There, generally speaking, you'll need to use a driver on the nrf52840 to interface to set-up the DA7212 via the i2c (for configuraiton) and for data, you'll need a i2s driver to interface and send the audio data to the DA7212 from the nrf52840 (assuming you're streaming audio data from nrf device to the DA7212).

nrf52840 supports i2s according to the web site.

BR JE_Dialog

brijesh@avantari.org
Offline
Last seen:1 year 1 month ago
加入:2020-03-03 06:14
can you tell me which one of

can you tell me which one of these configurations i should select, please see the attachement

Attachment:
JE_Dialog
Offline
Last seen:3周3天前
工作人员
加入:2013-12-05 14:02
Hi There, it looks like the

Hi There, it looks like the pdf is corrupted "Failed to load PDF document." - can you hceck and update it again ? Thanks JE_DIalog

brijesh@avantari.org
Offline
Last seen:1 year 1 month ago
加入:2020-03-03 06:14
please see this

please see this

Attachment:
bmcadam
Offline
Last seen:2 weeks 3 days ago
工作人员
加入:2015-09-16 16:25
You want to use J2, which is

You want to use J2, which is I2S into the device, so you need to supply WLCK, BCLK, DIN, MCLK

brijesh@avantari.org
Offline
Last seen:1 year 1 month ago
加入:2020-03-03 06:14
how can i configure it to

how can i configure it to slave mode , the data sheet says its in master mode by defaukt

could you sheare any kindof library or driver file with me