ADZS-SC584-EZLITE available GPIO

Hello,

I would like to use two GPIO pins (one input and one output). I understand that for this purpose I should use Microchip GPIO expanders which are connected to the board's ICs, However, looking at the EVB schematic, it seems that there are only few unused pins on U47 and U48 and they are not connected to anywhere. 

Could you please suggest a solution or alternative?

Thanks.

Eli

Parents
  • 0
    •  Analog Employees 
    on Aug 2, 2019 11:48 AM

    Hello,

    The two Microchip MCP23017 GPIO expanders provide control for individual electronic switches. The SHARC+ processors feature up to 102 general-purpose I/O pins mapped across up to seven ports (PORT A through PORT G). Each pin can be configured individually to serve as a GPIO pin or as a peripheral-specific pin.

    When configured in the default GPIO mode, the PORT pins allow for the processor to interface to system components to provide handshaking functionality as either inputs or outputs. You can use these pins as either input or output.

    To configure GPIO pin as either input or output, please refer the chapter 'General-Purpose Ports'in the below HRM.
    www.analog.com/.../SC58x-2158x-hrm.pdf

    Also you can find the GPIO example code in the below path after installing ADSP-SC58x BSP.
    <installation_path>\Analog Devices\ADSP-SC5xx_EZ-KIT_Lite-Rel2.0.2\ADSP-SC5xx_EZ-KIT\Examples\services\gpio

    This example uses the GPIO service to configure the push buttons (GPIO input) and LEDs (GPIO output) on ADSP-SC584 EZ-Kit.

    You can download ADSP-SC58x BSP from the below link:
    download.analog.com/.../ADI_ADSP-SC5xx_EZ-KIT_Lite-Rel2.0.2.exe

    If you are still facing the issue, please explain the issue in detail.

    Best regards,
    Santha kumari

Reply
  • 0
    •  Analog Employees 
    on Aug 2, 2019 11:48 AM

    Hello,

    The two Microchip MCP23017 GPIO expanders provide control for individual electronic switches. The SHARC+ processors feature up to 102 general-purpose I/O pins mapped across up to seven ports (PORT A through PORT G). Each pin can be configured individually to serve as a GPIO pin or as a peripheral-specific pin.

    When configured in the default GPIO mode, the PORT pins allow for the processor to interface to system components to provide handshaking functionality as either inputs or outputs. You can use these pins as either input or output.

    To configure GPIO pin as either input or output, please refer the chapter 'General-Purpose Ports'in the below HRM.
    www.analog.com/.../SC58x-2158x-hrm.pdf

    Also you can find the GPIO example code in the below path after installing ADSP-SC58x BSP.
    <installation_path>\Analog Devices\ADSP-SC5xx_EZ-KIT_Lite-Rel2.0.2\ADSP-SC5xx_EZ-KIT\Examples\services\gpio

    This example uses the GPIO service to configure the push buttons (GPIO input) and LEDs (GPIO output) on ADSP-SC584 EZ-Kit.

    You can download ADSP-SC58x BSP from the below link:
    download.analog.com/.../ADI_ADSP-SC5xx_EZ-KIT_Lite-Rel2.0.2.exe

    If you are still facing the issue, please explain the issue in detail.

    Best regards,
    Santha kumari

Children