Tool/software:
I need to feed watch dog of pmic by MBISPI interface (MIBSPI_transfer) in a user task.
According to the user manual of pmic LP8774x-Q1, I need to read pmic register to get question value, and send the answer in a specific timing sequence.
So, I call MIBSPI_transfer to read quesetion value, and write answer valuie in my task.
However, after running for a while, I found that all the user tasks I created had stopped running, only the idle task was running.
And I just discovered that even if MIBSPI_transfer is only periodically called to write the PMIC register in the task (without reading the register), the problem described earlier will occur
This problem occurs frequently and can be reproduced within a few minutes of operation.
May I ask if there are any restrictions on using the MBISPI interface (MIBSPI_transfer) in freertos tasks?
Or does MIBSPI_transfer require a specific interval between multiple calls?
How should I achieve my goal?
Note:I use MIBSPI_transfer in block mode
(because I must call interface in a specific timing sequence)
sdk version: mmwave_mcuplus_sdk_04_04_01_02
Look forward to your reply.
Thanks a lot.