Hi
I am currently researching into options to connect an analogue volume controller to one of the XMOS XU devices. The controller in mind is this one
http://www.njr.com/semicon/PDF/NJW1194_E.pdf
This device specifies 3-wire serial control (Data, Clock, Latch). I wonder if I could use any of existing libraries as a starting point for programming?
The idea is to have XU-series device to perform in a slave mode as a usb transciever, spdif controller and *ideally* to control volume controller as well.
Thanks
volume controller
-
- Active Member
- Posts: 39
- Joined: Mon Jan 05, 2015 12:58 am
-
- XCore Legend
- Posts: 1126
- Joined: Thu May 27, 2010 10:08 am
That looks just like SPI mode 2 (CPOL:1 , CPHA 0), with 16b data..
lib_spi is a good starting point - Here's the app note
https://www.xmos.com/download/private/A ... rc1%29.pdf
lib_spi is a good starting point - Here's the app note
https://www.xmos.com/download/private/A ... rc1%29.pdf
You do not have the required permissions to view the files attached to this post.
-
- Active Member
- Posts: 39
- Joined: Mon Jan 05, 2015 12:58 am
Excellent. Thank you very much :)