Other Parts Discussed in Thread: TMDX654IDKEVM
Hi TI,
I am writing a CPSW driver for TMDX654IDKEVM for Nucleus RTOS. In the TRM, I am unable to find step-by-step procedure to setup a DMA transfer using NAVSS.
I have done the following to setup the CPSW and UDMA:
- Allocated a ring and configured it using the TI SCI.
- Paired source and destination PSI-L threads using the TI SCI.
- Allocated a UDMA channel and configured it using TI SCI.
- Started UDMA channel using the channel RT registers.
- Setup CPSW with ALE in bypass mode.
Now, immediately after I start a UDMA transfer (CPPI host descriptor) by writing to the ring's virtual memory and writing to the ring's doorbell register, I have the following ring accelerator RT register dump. Note that the hardware occupancy register (0x2B000020) changes to 0 and I consider it as an indication that the ring UDMA successfully triggered a transfer:
0x2B800010 = 0
0x2B000018 = 0
0x2B00001C = 1
0x2B000020 = 0
0x2B000024 = 1
But I don't see any data on the output lines of the CPSW. Can you provide me some tips on how can I debug the problem step by step and find what may be going wrong? Any help in this regard will be appreciated.
Thanks,
Umair Khan