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.

TMS570LC4357: Can I get an FSM_DONE interrupt?

Part Number: TMS570LC4357

Tool/software:

Hi, 

I'm trying to write a flash driver that uses interrupts to signal when an operation is complete rather than polling with FAPI_CHECK_FSM_READY_BUSY.  According to the technical reference manual (spnu563a) there should be a bit called FSM_EVT_EN in a register called FSM_ST_MACHINE that I need to enable but I can't find any reference to that register anywhere else. What am I missing?

Thanks in advance,

Andy

  • Hi Andrew,

    You are correct, this register is not disclosed in the datasheet.

    I don't know the exact reason and i am suspecting it is because they are keeping it i as internal register and not giving access to the customer. Maybe they are thinking like changing this register values might cause more issues and might be not required for all the customers.

    Even in the "Registers_FMC_BE.h" also not found this register.

    But i found this register in the F021 source code:

    But i can't share this code because it requires valid NDA with TI, all i can provide is that bit number and offset of this register. I highlighted offset in above picture.

    --
    Thanks & regards,
    Jagadish.

  • Thank you Jagadish, I checked that out on hardware and it works. Interrupts are now generated but, since this is an 'undocumented feature', I'll probably stick with my polled version that uses the official macros.