Post Go back to editing

ADSP-SC58x/2158x Simple Led- Example code for Boot Testing

Attached folder comprises of a simple LED blink code for all the 3 cores in ADSP-SC58x processor. Apart from that it also has a loader stream generated for SPI master boot mode for various combination.

These loader streams can be programmed into the flash and SPI master boot can be tested.

Boot_Code.zip
Parents
  • Hi Hassan,

    These are configured in the PORT registers as shown below:

    *pREG_PORTE_FER = 0;  // Using this as GPIO pin

    *pREG_PORTE_DIR_SET  = 0xE0EE;  //Making PE13,14,15 as output pins

    *pREG_PORTE_DATA_TGL  = 0x2002; // toggling these pins which will be reflected as LED blink.

    In the attached zip folder, you can also see sample codes which you can run via emulator to see the LED toggling on single stepping these instructions in a code.

    Thanks,

    Harshit

Reply
  • Hi Hassan,

    These are configured in the PORT registers as shown below:

    *pREG_PORTE_FER = 0;  // Using this as GPIO pin

    *pREG_PORTE_DIR_SET  = 0xE0EE;  //Making PE13,14,15 as output pins

    *pREG_PORTE_DATA_TGL  = 0x2002; // toggling these pins which will be reflected as LED blink.

    In the attached zip folder, you can also see sample codes which you can run via emulator to see the LED toggling on single stepping these instructions in a code.

    Thanks,

    Harshit

Children
No Data