Currently, I’m trying to run EHIF commands from a host (EK-LM3S6965) to CC85XXDK-HEADSET.
1. Connections are made as described below:
SSI0CLK_PIN -> SCLK
SSI0FSS_PIN -> SCLK
SSI0RX_PIN -> MISO
SSI0TX_PIN -> MOSI
CS_GPIO_PIN -> CSN
RST_GPIO_PIN -> RESET_N
2. I flash CC85XXDK-HEADSET with the slave device configuration and select host-controlled operation and set GIO3 in IO mapping panel as "External host interface interrupt".
Hi Ovidiu,
Any chance you can attach a capture of the SPI traffic with a logic analyzer and attach to this post? It might be helpful discovering what is causing your issue.
Please verify that you SPI setup is according to the SPI INTERFACE CHARACTERISTICS in the datasheet. Best regards, Kjetil
--PS. Thank you for clicking Verify Answer if this answered your question!
Hi Kjetil,
Thank you for the reply. Apparently, there was a problem with the sys_reset() procedure and the battery voltage, also, since I was running on Headset battery only. As soon as I plugged in the USB cable, I assume that the voltage reached a valid level for a proper functioning.
There are other questions for handling the audio streaming.
Which are the steps for a correct setting a host controlled slave device in order to stream audio signal from an autonomous operation master that has connected an audio input signal?
Anyway, I attached the code to whom might be interest in controlling such devices with LM3Sxxxx.
6864.lm3s6965_ehif.txt
Hi Ovidiu !
When starting up and connecting to an autonomous master with an host controlled slave the correct steps are :