This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SDK 1.1.0.1

Other Parts Discussed in Thread: AM3359

Hi ,

Pin SPI0_CS1 (GPIO 0 _ 6) can be used as GPIO in SDK 1.1.0.1 ?

Earlier in SDK 1.0.0.4 we used the pin line GPIO 0 _6 as GPIO and it worked fine

But,

In SDK 1.1.0.1 we are not able to configure the line and use it as GPIO, is this line used for other purpose?

Regards,

Bindu

  • Bindu,

    pin-mux configuration in the SDK examples is done using a header file (eg. ethercat_appl_cfg.h). In there it might be board dependent what pin muxing is done. If you want to use a pin you need to check and adapt that pin configuration accordingly in your code. Usually we do not use SPI0_CS1 as it is going to an extension header only (on the ICE board).

    Maybe the pin was configured as GPIO output but not used in an earlier SDK. Default reset state of any pin-mux config is GPIO INPUT however.

    The only exception to above would be that a protocol PRU firmware is using and configuring the pin (e.g. debug I/O). Then ARM doesn't see that. If you let us know what firmware you use, we can check.

    Regards,

  • Hi,

    We are working on ICE Board AM3359

    When we commented the function SpiFlashInit(0), the gpio 0_6 started to work as gpio line

    what is the use of this SpiFlashInit(0) function in SDK 1.1.0.1?

    Regards,

    Bindu

  • Bindu,

    yes, this is a new function to get the SPI FLASH corerctly initialized. If you follow that it calls SPIPinMuxConfig() which is part of the flashing tools folder. Now here it configures SPI0_CS1...

    I don't think this is required for ICE board but maybe for others. So right now you need to change that code or re-configure the pin-mux after the FLASH init is done.

    regards,