Hi,
I am working with the CC2564C Bluetooth module and a STM32F4 microcontroller.
My main goal is play music of the mobile phone and I am using the "A3DPDemo_SNK" example to this. Everything is working fine except for one point. The stream stops after a while. This time (from start until the interruption) is variable. Some times this occur after 30 minutes of stream and in other times this occur with 5 minutes. I tested with a Iphone and with an Android and the errors was the same.
In the description below are the main points that I noted:
1) After mobile phone connection and stream start, the CC2564C operates alone without HCI commands unless necessary. I think that this is the expected behavior, because I using the assisted A2DP.
2) When the music stop, I observed in a logic analizer that the CC2564C don't answer the command "VS_A3DP_Sink_Stop_Stream". In the normal situation the microcontroller send the command "0x01, 0x9E, 0xFD, 0x04, 0x00, 0x00, 0x00, 0x00" and the module answer with "0x04, 0x0E, 0x04, 0x01, 0x9E, 0xFD, 0x00" followed by others TX and RX commands. But, when this interruption occurs, just the first command is sent by microcontroller and without any answer a timeout occurs.
3) I thought that this problem could be related with the stack corruption described here (e2e.ti.com/.../805393, but after see that any HCI command are running when the interruption occur, I have sure that is not a stack corruption.
4) I have already updated the "CC256XC.h" file to the last version (V1.2) and the result was the same.
5) I used the Logger tool to catch the error and I am attaching the log. In the first log, I notted that when the error occured was at the same time that "AVPR DMA: ERROR!! Transaction didn't complete" message was logged (at 11:43:17). In the second log, the same error occurred at 13:35:56 and again was when the music stopped. In this second log the message "Cortex Hard Fault" was logged too.
I will apreciate some help here.
Best regards,
José Vinícius Melo.