#81361 - ProblemBaby - Fri Apr 28, 2006 6:30 pm
Hi
i have some problems with the ipc fifo.
I want to send a Command ID from the arm9 and handle that in the arm7.
my way of doing this is:
Ive a recieve interrupt function, that first Reads the command ID, handles it, and then make another read, to define as finished
in the arm 9, when I want to send a command I first wait until the FIFO is empty, Fill a global struct with the parameters, then Send first the Command ID and then a 0.
This works when the calls isnt to close, else only one command is processed. Can't understand why, cause it should not be able to send a new command before the recieve interrupt is finished. Is this probably a bug or is it something I don't know about the IPC that makes this don't work.
What I want to do is to control the sounds regs from arm9, maybe you have better ideas how to do that, I need to be able to update more then once in a frame.
i have some problems with the ipc fifo.
I want to send a Command ID from the arm9 and handle that in the arm7.
my way of doing this is:
Ive a recieve interrupt function, that first Reads the command ID, handles it, and then make another read, to define as finished
in the arm 9, when I want to send a command I first wait until the FIFO is empty, Fill a global struct with the parameters, then Send first the Command ID and then a 0.
This works when the calls isnt to close, else only one command is processed. Can't understand why, cause it should not be able to send a new command before the recieve interrupt is finished. Is this probably a bug or is it something I don't know about the IPC that makes this don't work.
What I want to do is to control the sounds regs from arm9, maybe you have better ideas how to do that, I need to be able to update more then once in a frame.