Other Parts Discussed in Thread: MSP430F5438A, MSP-TS430PN80B, MSP430FR5994, , , CC2564, TEST2
I'm currently working on a project where we decided to use an SPPLE profile to transfer data, which I intend to implement with MSP430FR5994 connected to the CC2564MODA using the Bluetopia stack. For now, I'm using the SPPLEDemo included in the Bluetopia samples for the MSP430 microcontrollers. I've migrated to the MSP430 bluetopia sample from the MSP430F5438A to the microcontroller I'm using. During the migration, I also did some simplifications in the port declarations. Hardware-wise I'm using a BOOST-CC2564MODA connected to an MSP-TS430PN80B with an MSP430FR5994, connecting P6.0 and P6. to rx and tx of the BOOST board, respectively; P5.7 to nSD; P4.2 and P4.1 to cts and rts of the BOOST board, respectively; and supply and ground references together.
However, right now, I'm having issues opening the stack. The OpenStack function at SPPLEDemo.c file always returns -4, which means there is an HCI initialization error, and it can't open the stack. Since we own an MSP-EXP432P401R LaunchPad, I loaded the SPPLEDemo or the MSP432 microcontrollers, which I could use with no issues at all. Then I connected a logic analyzer to understand the differences they might have in the initialization.
In the attached picture, you'll find what the logic analyzer shown, and in the attached excel file, you will find all the events from each microcontroller confronted. What I find interesting is that the first send and receive messages are equal, but all the other ones are quite different. Also, I don't understand how come if there is an HCI initialization error, the HCI does communicate.
I don't know if you could tell me how to interpret these messages, if there's any documentation about the opcodes, or why both stacks would fill the buffers differently for the initialization.
If you know where the mistake could be or how to solve the issue, it would be helpful.
Thanks in advance, and best regards,