In one of my CCS projects, I am able to successfully use sciSend to send data over USB back to my development computer. In another CCS project, the development computer is not receiving data sent by sciSend. Both projects are configured identically in HalCoGen, and in this example I have set both to send the same data.
I have traced the potential source of the problem, but I am uncertain of its cause. I step through to this line in sciSend (I have not modified the sci.c file generated by HalCoGen):
sci->TD = (uint32)(txdata);
In the project that works, I observe in the debugger that sci->TD is successfully assigned the value from txdata. In the project that doesn't work, I observe that the value of sci->TD remains 0 rather than taking on the value of txdata.
Any ideas on what could be causing the different behavior in these two projects? Thanks!