Part Number: TMS320C5517
Tool/software: Code Composer Studio
Hello everyone,
I discovered a strange behavior on my C5517 based hardware that runs beamforming example from the development kit :
http://www.ti.com/tool/TIDEP-0077
Everything works fine except that on my custom developed hardware (that is similar as EVM), ASNR algorithm doesn't return from asnr_process function (the program blocks here). On EVM that function never blocks for the same firmware. The interesting thing that this issue disappears if no any printf is executed previously. On my custom developed hardware, running only one printf makes ASNR block the code.
The other issue with printf is regarding DMA transfer on I2S and DSP firmware loaded through SPI FLASH. If firmware runs at least one printf, I2S DMA interrupts doesn't work at all. Same firmware works with printf if loaded through JTAG (DMA ISR works, but ASNR algorithm doesn't as described above).
How the printf on C5505/5517 compiler affects the code and how it is related to JTAG? Why prints cause DMA ISR not working and ASNR algorithm blocking?