1. Which embOS do you use?
embOS 5.10.1.0. with IAR workbench 8.50.
2. Which CPU and eval board do you use?
NXP RT1176 with MxRT1170-EVK.
NXP SDK2.9
Hello,
I post here because i have a problem with the SPI-DMA associated with embOS in my microcontroller.
I use the RT1176 on the MxRT1170-evk.
I explain :
i start with the example : edma_b2b_transfer in master mode without OS => it works fine on the microcontroller, i can see my SPI datas on my pins with a logic analyzer.
I copy all the file "lpspi_edma_b2b_transfer_master.c" in a function and call it in my project wih embOS.
I add "NVIC_SetPriority(DMA0_DMA16_IRQn, (1u << __NVIC_PRIO_BITS) - 3u); " and " NVIC_SetPriority(DMA1_DMA17_IRQn, (1u << __NVIC_PRIO_BITS) - 3u); " in order to set a priority to my DMA IT => i see nothing on my pins with a logic analyzer because i am block in while (!isTransferCompleted), line 125 i attach the file with my function
I hope that i have forgotten one thing when i integrate it with embOS, but i do not arrive to find what.
Thanks very much for your help.
Loic
embOS 5.10.1.0. with IAR workbench 8.50.
2. Which CPU and eval board do you use?
NXP RT1176 with MxRT1170-EVK.
NXP SDK2.9
Hello,
I post here because i have a problem with the SPI-DMA associated with embOS in my microcontroller.
I use the RT1176 on the MxRT1170-evk.
I explain :
i start with the example : edma_b2b_transfer in master mode without OS => it works fine on the microcontroller, i can see my SPI datas on my pins with a logic analyzer.
I copy all the file "lpspi_edma_b2b_transfer_master.c" in a function and call it in my project wih embOS.
I add "NVIC_SetPriority(DMA0_DMA16_IRQn, (1u << __NVIC_PRIO_BITS) - 3u); " and " NVIC_SetPriority(DMA1_DMA17_IRQn, (1u << __NVIC_PRIO_BITS) - 3u); " in order to set a priority to my DMA IT => i see nothing on my pins with a logic analyzer because i am block in while (!isTransferCompleted), line 125 i attach the file with my function
I hope that i have forgotten one thing when i integrate it with embOS, but i do not arrive to find what.
Thanks very much for your help.
Loic