VDSP++ 5.0, ADSP-BF506F, LED 0.5 Hz Hello World Problem

Objetive: Flash an LED on the eval board at 0.5 Hz

Current Issue:

line 80 cc1080: {D} Warning: Function does not have a full prototype

ClearSet_LED_inRAM(LED4, 0x1);

At this point I'm simply trying to follow this example:

http://ez.analog.com/docs/DOC-1274/diff

In addition to the code listed on that page I have the following include statements:

#include <ccblkfn>;

#include <cdefBF506.h>;

I could really use an example on control of the LEDs and an example on timing.

Parents
  • 0
    •  Analog Employees 
    on Jul 21, 2011 9:16 AM

    Hi,

    attached is a simple example that sets up the timer and an ISR, then uses two 'blink LED' functions - one in flash, one in internal memory - to blink the LEDs at a period defined by a timeout value #define.

    Hopefully that serves as a good starting point for you. It is largely based on cannibalized code from the Power On Self Test example for the BF506F, located at ...\Blackfin\Examples\ADSP-BF506F EZ-KIT Lite\Power_On_Self_Test

    Take a look at the pbled_test, and the timer_isr code in that example for more complex examples.

    Regards,

    Craig.

    506FLEDBlink.zip
Reply
  • 0
    •  Analog Employees 
    on Jul 21, 2011 9:16 AM

    Hi,

    attached is a simple example that sets up the timer and an ISR, then uses two 'blink LED' functions - one in flash, one in internal memory - to blink the LEDs at a period defined by a timeout value #define.

    Hopefully that serves as a good starting point for you. It is largely based on cannibalized code from the Power On Self Test example for the BF506F, located at ...\Blackfin\Examples\ADSP-BF506F EZ-KIT Lite\Power_On_Self_Test

    Take a look at the pbled_test, and the timer_isr code in that example for more complex examples.

    Regards,

    Craig.

    506FLEDBlink.zip
Children
No Data