Other Parts Discussed in Thread: SYSBIOS
Tool/software: TI-RTOS
Hi Support,
my customer is using AM57xx and is having issues iwth serial communication with DMA under TI-RTOS. He wants using CSL without any TI-RTOS LLD and OSAL, etc. wrappers. They need just to submit data and read a flag of DMA transfer completed. They adapted the LLD EDMA3 driver, it seems it is hardcoded for SPI only, they tried to use that code for UART IO, and the whole software crashed. They really would like to use the lowest level of the TI SDK drivers, to have flexibility and full control what is happening inside our bare-metal software, besides utilizing the very basic features of the SPI and UART IOs (just fixed byte stream, no other advanced stuff) but unfortunately it is not well documented.
I have seen a C6000 EDMA3 TI training, it was mostly about setting of the PaRAM fields during preparing of the DMA transaction for several scenarios, it was very nice till I had to setup the EDMA3 transaction for UART, where is combination of the previously meant FIFO stuff, dummy linked PaRAM, etc. even I had had adopted the UART DMA example.
It would be nice to prepare some very basic demo, how to copy data from an SPI to UART, using DMA for both IOs, how to configure and submit DMA transaction using the CSL only, no interrupts, just flags polling only, can you help me providing such example to customer?
Thanks and regards,
Alberto