Other Parts Discussed in Thread: SYSBIOS
Tool/software: Code Composer Studio
Dear Sir/Madam
I use sys/bios in TMS320F28075. I creat a timer instance form Device-sepcific timer module, I also creat a spi receive HWI instance from Device-specific Hwi module.
I don't want to timer interrupt disturb some atom code in SPI receive ISR, so I use GateHwi_enter(gateHwi0) and GateHwi_leave(gateHwi0, hwiGateKey) to include these code, however, it doesn't work, it can't block timer preemptation.
my current method is setting the masking option to MaskingOption_all in SPI receive hwi instance. so It runs well.
I was wondering why HWI gate can't protect the code.
Thanks!
Have a good day!
Frank