__disable_irq cause fault

i am using SD S140.

i have a 300us period that must take 300us, no more, no less.

for this reason i must call __disable_irq().

when i do it i sometimes get app_error_fault_handler called.

i know i should not use __disable_irq(), but i cannot afford SD to interrupt me (i see that worst take can take 250us during BLE connection).

1. are you familiar with faults generated from this reason?

2. how can i guarantee exact 300us timing otherwise?

 thanks 

Parents Reply Children
No Data
Related