Hi All,
I want to using Raspberry Pi control DAC.
PI (i2c master) --(1)--> (i2c slave) XVF3000 (i2c_master) --(2)--> (i2c_slave) DAC
I configured at step (1), but got stuck at step (2).
I found the audiohw.xc file using to control DAC when the XMOS is power on.
I have written same function in audiohw.xc and call it by Pi. But the compiler was error(subject).
I want to using more thread to control the DAC.
1. From usb_audio_io (default)
2. From PI
Do you have any idea to do this?
Thank in advance!
[HELP] error: use of `p_i2c_4` violates parallel usage rules
-
- Junior Member
- Posts: 7
- Joined: Wed Sep 12, 2018 9:13 am
-
- XCore Legend
- Posts: 1913
- Joined: Thu Jun 10, 2010 11:43 am
-
- Junior Member
- Posts: 7
- Joined: Wed Sep 12, 2018 9:13 am
Done
I used tile 0 to call tile 1 use "chan".
I used tile 0 to call tile 1 use "chan".
-
- Member
- Posts: 8
- Joined: Mon Sep 10, 2018 4:23 pm
Given that piece of info, can you answer: without using lib_i2c, how are you supposed to share the i2c bus between multiple clients?mon2 wrote:http://www.xcore.com/viewtopic.php?t=3702
Regards.