Board: FRDM-K66F. SDK: 2.11.0 (541 2022-01-14)
SDK components selected:
project_template.frdmk66f.MK66F18
device.MK66F18_startup.MK66F18
platform.drivers.clock.MK66F18
component.uart_adapter.MK66F18
device.MK66F18_system.MK66F18
platform.drivers.rtc.MK66F18
platform.drivers.port.MK66F18
platform.drivers.smc.MK66F18
CMSIS_Include_core_cm.MK66F18
component.serial_manager_uart.MK66F18
component.lists.MK66F18
utility.debug_console.MK66F18
platform.drivers.gpio.MK66F18
device.MK66F18_CMSIS.MK66F18
platform.drivers.uart.MK66F18
platform.drivers.i2c.MK66F18
component.serial_manager.MK66F18
platform.drivers.common.MK66F18
middleware.fatfs.sd.MK66F18
middleware.sdmmc.osa.bm.MK66F18
middleware.sdmmc.common.MK66F18
middleware.sdmmc.host.sdhc.MK66F18
middleware.sdmmc.sd.MK66F18
middleware.sdmmc.sdhc.template.MK66F18
middleware.sdmmc.host.sdhc.interrupt.MK66F18
platform.drivers.sdhc.MK66F18
component.osa_bm.MK66F18
middleware.fatfs.MK66F18
platform.drivers.flash.MK66F18
middleware.fatfs.template_sd.MK66F18
platform.drivers.pit.MK66F18
I have the pins selected as indicated in the attached image. GPIO pin PTD10 is used as "card detect," and I have a port interrupt handler, as well as a breakpoint on the interrupt handler, to trigger when the pin B3 / PTD10 pin goes up or down; in theory. The SW2 and SW3 buttons are configured similarly with interrupts, and they trigger when pushed; they work as expected. However, when I insert or remove the micro SD card, I don't get an interrupt on pin B3 / PTD10. This could be handled by the SDK somewhere else, though BOARD_SDMMC_SD_CD_PORT_IRQ_HANDLER is configured to point to my PORTD_IRQHandler.
Shouldn't I expect a hardware interrupt on pin B3 / PTD10 when a micro SD card is inserted or removed?
