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.

AM572x ProfiBUS Slave question

Other Parts Discussed in Thread: PROFIBUS, AM5728

Hi,

I am debugging ProfiBUS slave using PRU-ICSS-PROFIBUS-SLAVE  01_00_00_01. The main chip I used is AM5728.

When I traced the program, I found that the program was run to the function 'profi_init_soc'. Do the interrupt and EDMA necessary for ProfiBUS slave? Thanks.

void profi_init_soc(void)
{
    /* Uncomment this function if hardware timer is used
     * for tickcounter in profi_timer.c file. Default is
     * Timer_task in main.c which gives 5ms tick using Task_sleep()
     * profi_timer_init();
     */

    /*The Profibus application waits for 15sec to get station address from
     * the UART console otherwise sets default address to 5.
     * This is done because on ICE the UART console can be connected only
     * after the board is powered on using mini USB port.
     */
    profi_put_message();
    arm_regitser_interrupts();
    profi_edma_init();
}