avatar

shampoo

Member Since: September 16, 2009

Country: Canada

  • Hi

    I have been trying most of the day to do what you are doing (DK and Breakout using SWD). I am able to build/deploy/debug directly on the DK. I am pretty sure I have the wires correct between the DK and Breakout. I have code that runs on the Breakout (or I think) but I can’t seem to get just the pin 7 (blue led) to flash to prove that it is working.. Any tips ?

  • Yes it does.
    //Set the time
    void set_time(void)
    {
    //Turn on timer 1, 60MHz by default
    T1TCR=0x01;
    CCR=0x13; //Turn off RTC
    YEAR=0;
    MONTH=0;
    DOM=0; //Day of Month
    DOW=0; // Day of Week
    DOY=0; // Day of Year
    HOUR=0;
    MIN=0;
    SEC=0;
    CCR=0x11; //Turn RTC back on
    }

  • I’ll answer my own question:
    VICVectCntl0 = 0x20 | 6;
    //Set up the UART1 interrupt
    VICVectAddr0 = (unsigned int)ISR_RxData0;

  • Does anyone have any sample code that shows how to read/write to serial0 ?
    Thanks
    J

  • There is a project here: http://chomsky.shampoo.ca/goldenembed that uses this board to talk to various ANT+ hardware devices. All GPL’d.

No public wish lists :(