Quantcast
Channel: Forum - Recent Threads
Viewing all articles
Browse latest Browse all 5781

SSI output not happening

$
0
0

Using SSP 1.2 beta

I'm attempting a I2S output.  I've got a thread with this setup (drivers, not upper level audio player framework).  Write only (no RX), playing I2S master using WSL, CLK and DATA only.

 

I can open this just fine:

g_i2s0.p_api->open (g_i2s0.p_ctrl, g_i2s0.p_cfg);

Doing a write to this OTOH is odd:

g_i2s0.p_api->write(g_i2s0.p_ctrl, (uint8_t *)CurBuffPtr->Samples, (uint16) BytesToWrite);

goes through the motions of writing returning with SSP_SUCCESS but no I2S bus activity at all.  No ISR callback that says it's done.

Far as I can tell, this doesn't actually start up anything and put it out the door so it never completes.  If I then call the write again, it comes back with a busy indicator telling me that it thinks it's still busy doing the first write.

Any hints as to what majik incation I'm missing here to kick this thing off?

rjl


Viewing all articles
Browse latest Browse all 5781

Trending Articles