Hi team,
I help the customer ask a question:
we are developing an OBC DAB for electric car charging and I can't manage to optimize the data sending through the UART.
We are using the DPS TMS320F280049C, CCS v9.1 and C200Ware v3.01 all based on driverlib. I am currently using the DSP to communicate 184 Bytes in block to a virtual interface on the PC through the SCI port. I am using TX and RX interrupts to communicate with the interface every second (the communication works perfectly). For the DSP -- Interface link I use the MM232 via fibre optic cable (FTDI up to 1.5MB/s on RS232) so according to my calculations it should take 1.2ms to send the data (which I have checked with experimental measurements). As it is sending such a large block of data (184Bytes) the DSP is blocked every time I trigger the TX interrupt 1.2ms which is unacceptable to ensure the control loop for the DAB.
Is there any way to communicate large blocks of data over the UART without DSP intervention? Use of DMA, any way to load the data into the UART buffer without the need for an interrupt? Is the operation of the UART/SCI peripheral independent of the operation of the DSP, i.e. can they run in parallel? I am open to solutions. If you need more data to understand my problem or the setup and tests I do don't hesitate to ask.
The image shows up in green the TX line, in "blue" the current throught the converter during the 1.2 ms the DSP is busy transmitting data to the virtual interface.
I need to know if its posible to use UART without the DSP get stucked.
Thanks a lot.
Best regards,