Post Go back to editing

Analog Signal Pass-Through on EV-SC598-SOM

Category: Software
Product Number: SC-598
Software Version: CrossCode Embedded Studio (CCES) 3.0.1

Platform:

Processor: ADSP-SC598

Board: EV-SC598-SOM with EV-SOMCRR-EZKIT

Development Environment: CrossCore Embedded Studio (CCES)

Goal:

I am working on passing an analog signal from a waveform generator connected to AN1/AN2 and outputting this signal as an waveform through DAC1/DAC2 to an oscilloscope. The system should act as a real-time analog signal pass-through mechanism.

Problem:

While exploring example projects, I found the Audio Walkthrough I2S SC598 Share example project, which handles audio signal processing using the I2S protocol. I tried to use it since the description was best matching one with my goal among the others. Since it's my first ever experience with Board and CrossCode itself as part of my bachelor's degree I lack a lot of experience and still in process of reading some manuals. Hope that someone can help with this issue. 

Devices Involved:

1. EV-SC598-SOM with ADSP-SC598 processor.

2. Waveform generator connected to AN1/AN2 (analog input).

3. Oscilloscope connected to DAC1/DAC2 (analog output).

4. Development environment: CrossCore Embedded Studio (CCES).

Actions Taken:

I have identified the necessary HADC and DAC peripherals on the SC598, and I understand that these need to be initialized and configured.

I reviewed the Audio Walkthrough I2S SC598 Share example project, which is based on I2S. While the I2S setup works for digital audio, it doesn’t directly help with my analog pass-through goal.

Final Objective:

I want to modify the project (or develop a new one if needed) to:

1. Initialize reading the analog signals from AN1/AN2.

2. Initialize sending the analog signals through DAC1/DAC2 to the oscilloscope.

3. Pass the signal in real-time from AN1/AN2 through the board SC-598 and directly out through DAC1/DAC2.

Request:

Is it possible to modify the I2S-based project to achieve this?

Could you provide guidance or an example of how to properly configure peripherals for this type of real-time analog signal pass-through?

Any references to existing BSP examples or additional resources for configuring on the EV-SC598-SOM would also be helpful.

Additional Notes:

I am open to either modifying the I2S example project or starting fresh, whichever would be more straightforward.

I would appreciate any tips on the proper clock settings, channel configuration, and data transfer mechanisms to ensure real-time signal pass-through.

Thank you in advance for your support!