[HELP] error: use of `p_i2c_4` violates parallel usage rules

If you have a simple question and just want an answer.
Luanvt4_fpt
Junior Member
Posts: 5
Joined: Wed Sep 12, 2018 9:13 am

[HELP] error: use of `p_i2c_4` violates parallel usage rules

Postby Luanvt4_fpt » 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!
User avatar
mon2
XCore Legend
Posts: 1298
Joined: Thu Jun 10, 2010 11:43 am
Contact:

Postby mon2 » Thu Oct 18, 2018 10:42 am

Luanvt4_fpt
Junior Member
Posts: 5
Joined: Wed Sep 12, 2018 9:13 am

Postby Luanvt4_fpt » Tue Oct 30, 2018 9:40 am

Done
I used tile 0 to call tile 1 use "chan".

Who is online

Users browsing this forum: kapriolyme and 30 guests