Post Go back to editing

To Enable UART in SHARC core's

Category: Software
Product Number: ADSP-SC598
Software Version: CrossCore Embedded Studio 2.11.0

Hi,

Is there a complete definition of adi_int_InstallHandler() in the UART sample code? Could you please suggest a reference link.

I have used add-ins from System.svc->Add->Device Drivers and System Services->On-chip peripherals->UART Driver for Cortex A, then compiled the UARTCoremode_SC598_SHARC_Core0 and flashed it. It is working. I also tried without the add-ins, and it is working as well. What is the difference between them?

Thread Notes

Parents
  • Hi,

    The key difference between using add-ins from System.svc and not using them is that, without including the driver file from System.svc, you won’t be able to navigate the driver APIs. This becomes evident when you create a new project from scratch. To access the driver APIs, you need to include the driver file from system.svc for the required peripheral.

    For additional details about Add-ins in System.svc, please refer to the attached Ezone thread:
    ez.analog.com/.../about-add-ins-in-system-svc

    For detailed information about adi_int_InstallHandler, please refer the source file from the below installation path

    C:\Analog Devices\CrossCore Embedded Studio 2.12.0\SHARC\lib\src\services\Source\int\adi_int_sec.c

    And also for more information about the adi_int_InstallHandler, please refer to the following CCES help path:

    CrossCore® Embedded Studio 2.12.0 > System Run-Time Documentation > Interrupt Support > Interrupt Handler Header File and Functions > adi_int_InstallHandler

    Hope this helps.

    Best Regards,
    Santhakumari.K

Reply
  • Hi,

    The key difference between using add-ins from System.svc and not using them is that, without including the driver file from System.svc, you won’t be able to navigate the driver APIs. This becomes evident when you create a new project from scratch. To access the driver APIs, you need to include the driver file from system.svc for the required peripheral.

    For additional details about Add-ins in System.svc, please refer to the attached Ezone thread:
    ez.analog.com/.../about-add-ins-in-system-svc

    For detailed information about adi_int_InstallHandler, please refer the source file from the below installation path

    C:\Analog Devices\CrossCore Embedded Studio 2.12.0\SHARC\lib\src\services\Source\int\adi_int_sec.c

    And also for more information about the adi_int_InstallHandler, please refer to the following CCES help path:

    CrossCore® Embedded Studio 2.12.0 > System Run-Time Documentation > Interrupt Support > Interrupt Handler Header File and Functions > adi_int_InstallHandler

    Hope this helps.

    Best Regards,
    Santhakumari.K

Children
No Data