Part Number: TMS320F280039C
Other Parts Discussed in Thread: C2000WARE
C2000 ware version: 4.03.0.0
Hi gurus,
I'm working on PMBus communication for power management.
I had read PMBUS_COMMS_STACK_UG guide, also know the example code is under C2000Ware_4_03_00_00\libraries\communications\PMBus\c28 folder.
I referenced f28003x_pmbus_target_example and want to know how to implement PMBus ISR to my own user code.
For my understanding, the PMBus ISR can be triggered by 10 different kind source, DATA_READY, DATA_REQUEST, EOM... etc.
But in example project, the PMBus interrupt handler just call PMBusStack_targetStateHandler and then nothing else is doing.
I can't find what PMBusStack_targetStateHandler really do because it seems encapsulate inside the .lib package.
The question is:
1. Is this function do other thing then change the state of PMBus_StackObject?
2. How to saperate different interrupt source and do the different thing inside PMBA ISR?
3. If the ISR didn't add PMBusStack_targetStateHandler inside ISR, will it cause error?
Thanks