Other Parts Discussed in Thread: OMAP-L138,
Tool/software: Linux
Hello,
I am using Processor SDK 4.2.0.9 with CCSv7.3.0. The various component versions are those that came with that release.
I have modified the MCASP example project to use the hardware configuration on my custom K2G board. I merged this project with an IPC example so that I could get the DSP running at the same time as Linux, and it does do that. The catch is that I must manually enable the LPSC in charge of the McASP. My procedure goes something like this:
- Power up system, let Linux boot.
- Get audio clocks running and IIS routed around the board
- Launch target config and connect DSP
- Load DSP GEL, enable all PSC
- resume processor
- use mpmcl to reset, load, and run the DSP.
This works some of the time. Sometimes the McASP gets stuck transmitting a single buffer (as though the processor has been halted), or I get an Event Combiner error saying that the event I have connected to the DSP through the CIC (DSP Event 64) is "unplugged". Sometimes CCS just crashes when I try to connect the processor. The event combiner error happens whenever I try to restart the program using mpmcl, i.e. if the program was running and I reset and reloaded it.
I encountered similar behavior when I was developing this project using the OMAP-L138. That post is located here: https://e2e.ti.com/support/dsp/omap_applications_processors/f/42/t/612298?tisearch=e2e-sitesearch&keymatch=%20user:301823
How would I go about setting up the LPSC in Linux for the DSP to use? I would like for Linux to do all of the chip level configuration. I have:
- Enabled McASP0 in the device tree
- Added reserved slot ranges in the device tree ( ti,edma-reserved-slot-ranges = <24 2>, <128 48>; )
Any ideas of where to look/what to do to make these two coexist on this platform?
Jeff