DMA Configuration for FileX to access MX25LM51245G on the B-U585I-IOT02A Development Kit
Created an Azure RTOS project to have FileX access the MX25LM51245G NOR flash memory in the B-U585I-IOT02A discovery kit. Configured LevelX for OCTOSPI2 and MX25LM51245G as the OSPI component. Enabled DMA Channel 12 with a linear linked list. Linked OCTOSPI2 to the DMA channel with the following call in main.c: hospi2.hdma = &handle_GPDMA1_Channel12;
The code runs until the call into the HAL_OSPI_Receive_DMA() function (stm32u5xx_hal_ospi.c). It fails on the if for p_queue which appears to be null. It there something else that needs to be configured or created in code?
