on RM57L843 target, the following bold should be swapped.
void mibspi4LowLevelInterrupt(void)
{
uint32 vec = mibspiREG4->INTVECT1;
void mibspi4HighLevelInterrupt(void)
{
uint32 vec = mibspiREG4->INTVECT0;
I am not sure if that should be a bug.
When I set 0 level interrupt through mibspiEnableGroupNotification, I need to enable mibspi4HighLevelInterrupt(VIM 49).
and 1 level interrupt through mibspiEnableGroupNotification, I need to enable mibspi4LowLevelInterrupt(VIM 54).
mibspi4HighLevelInterrupt reads INTVECT0, which should be from INT1 based on the technical reference
mibspi4LowLevelInterrupt reads INTVECT01 which should be from INT0 based on the technical reference
Just let it go, if you want to be serious about RM57x, then you lose.....