Post Go back to editing

Example code is not working on ADSP21835W-EV-SOM+EV-SOMCRR-EZKIT

Category: Software
Product Number: ADSP-21835W, ADSP-21835
Software Version: CCES3.1.0

Hello,

I had problem which is "ez.analog.com/.../swtriggertimer_21835-example-code-is-not-working-on-adsp21835w-ev-som-ev-somcrr-ezkit". And It's related with souce code problem.

Now, I have a simillar problem with "xSPI_HyperFshAcc_21835" example.

I can't finished compiling due to errors.

So, I replaced the "adi_xspi_config_SC8xx.h" in project into new one which is from CCES isntalled folder.

The comile error was disappeared but it didn't work properly.

Could you give me proper solution for this example which works well??

Thanks,

MS.

Thread Notes

  • Hi,

    Thank you for your inquiry and apologies for the inconvenience caused.

    After replacing the file "adi_xspi_config_SC8xx.h" with the one from the CCES installation directory (C:\analog\cces\3.1.0\Xtensa\SHARC-FX\include\drivers\xspi), the code is working properly. Please refer the below image.

    Could you please clarify what you mean by “didn't work properly”? It would be helpful if you could describe the specific issue you're experiencing and share any error messages, if applicable?

    Also, could you please share the revision details of your board?

    Waiting for your reply.

    Best Regards,

    Santhakumari.V

  • Hello Santhakumari,

    Thanks for your fast response.

    According to your capture image, especially the printf output on your console, It seems all working is working correcty without any problelm.

    But, when I tried it in debug mode after replacing same "adi_xspi_config_SC8xx.h" as you mentioned, my printf output has a problem like below.

    According to this log, It seems that Flash writing side has a problem.

    Here are my information related test environments.

    1. EV-SOM revision

    2. I'm testing this example with only EV-SOM(w/o EV-SOMCRR-EZKIT)

    3. I'm testing it after setting boot mode switch like below(Set "0" position)

    4. I'm using ICE-1000

    For your information, I attached my example code including "adi_xspi_config_SC8xx.h".

    If you need more information, Pleaes let me know.

    Thanks,

    David.

    22_xSPI_HyperFshAcc_21835_Test.zip

  • Hi David,

    We suspect that the issue may be related to the difference in the SOM board revisions. We are using a Rev A SOM, and the code you shared is running as expected on our board.

    Since you are using a Rev C SOM, we will check internally whether any hardware revision-related changes could be causing this issue. We will get back to you with an update once we have more information.

    Thank you for your patience.

    Best Regards,
    Santhakumari.V

  • Hello Santhakumari,

    Thanks for your kind update.

    I'll wait for your solution.

    Thanks,

    David.

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.