[HELP] error: use of `p_i2c_4` violates parallel usage rules
Posted: Thu Oct 18, 2018 8:29 am
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!
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!