cancel
Showing results for 
Search instead for 
Did you mean: 

WICED Studio Wi-Fi Combo

MiRo_263836
Contributor II

In creating a new platform for an STM32F429 with a Murrata 1DX  target board, I have questions on how to find the right label to add for new ISRs  handler mapping that aren't defined in the example.

This is the example that I started with

/******************************************************

*            Interrupt Handlers Mapping

******************************************************/

/* These DMA assignments can be found STM32F4xx datasheet DMA section */

WWD_RTOS_MAP_ISR( usart1_irq                , USART1_irq       )

WWD_RTOS_MAP_ISR( usart2_irq                , USART2_irq       )

WWD_RTOS_MAP_ISR( usart3_irq                , USART3_irq       )

WWD_RTOS_MAP_ISR( uart7_irq                 , UART7_irq        )

WWD_RTOS_MAP_ISR( usart3_rx_uart7_tx_dma_irq, DMA1_Stream1_irq )

WWD_RTOS_MAP_ISR( uart7_rx_dma_irq          , DMA1_Stream3_irq )

WWD_RTOS_MAP_ISR( usart3_tx_uart4_tx_dma_irq, DMA1_Stream4_irq )

WWD_RTOS_MAP_ISR( usart1_rx_dma_irq         , DMA2_Stream2_irq )

WWD_RTOS_MAP_ISR( usart2_rx_dma_irq         , DMA1_Stream5_irq )

WWD_RTOS_MAP_ISR( usart2_tx_dma_irq         , DMA1_Stream6_irq )

WWD_RTOS_MAP_ISR( usart1_tx_dma_irq         , DMA2_Stream7_irq )

I would like to add I2C, SPI and 5 GPIO interrupts .  This is what I think they might be, but how do it checkj.  Where is the values in the example come from. 

/* These DMA assignments can be found STM32F4xx datasheet DMA section */

WWD_RTOS_MAP_ISR( usart1_irq                , USART1_irq       )

WWD_RTOS_MAP_ISR( usart3_irq                , USART3_irq       )

WWD_RTOS_MAP_ISR( uart7_irq                 , UART7_irq        )

WWD_RTOS_MAP_ISR( uart7_rx_dma_irq          , DMA1_Stream3_irq )

WWD_RTOS_MAP_ISR( usart3_rx_uart7_tx_dma_irq, DMA1_Stream1_irq )

WWD_RTOS_MAP_ISR( usart1_rx_dma_irq         , DMA2_Stream2_irq )

WWD_RTOS_MAP_ISR( usart1_tx_dma_irq         , DMA2_Stream7_irq )

/*

WWD_RTOS_MAP_ISR( i2c1_irq                          , I2C1_ER_irq      )

WWD_RTOS_MAP_ISR( i2c1_tx_dma_irq           , DMA1_Stream7_irq )

WWD_RTOS_MAP_ISR( i2c1_rx_dma_irq           , DMA1_Stream0_irq )

WWD_RTOS_MAP_ISR( spi2_irq                        , SPI2_irq         )

WWD_RTOS_MAP_ISR( spi2_tx_dma_irq           , DMA1_Stream4_irq )

WWD_RTOS_MAP_ISR( spi4_tx_dma_irq           , DMA2_Stream1_irq )

WWD_RTOS_MAP_ISR( spi4_rx_dma_irq           , DMA2_Stream0_irq )

WWD_RTOS_MAP_ISR( spi5_tx_dma_irq           , DMA2_Stream4_irq )

WWD_RTOS_MAP_ISR( spi5_rx_dma_irq           , DMA2_Stream5_irq )

WWD_RTOS_MAP_ISR( gpio_irq                         , EXTI0_irq        )

WWD_RTOS_MAP_ISR( gpio_irq                         , EXTI1_irq        )

WWD_RTOS_MAP_ISR( gpio_irq                         , EXTI3_irq        )

WWD_RTOS_MAP_ISR( gpio_irq                         , EXTI4_irq        )

WWD_RTOS_MAP_ISR( gpio_irq                         , EXTI9_5_irq      )

0 Likes
Reply
1 Solution
RaktimR_11
Moderator
Moderator

The values in the example for STM32F4xx can be found at 43xxx_Wi-Fi/WICED/platform/MCU/STM32F4xx/platform_isr_interface.h. Let me know if you were looking for something else

View solution in original post

2 Replies
RaktimR_11
Moderator
Moderator

The values in the example for STM32F4xx can be found at 43xxx_Wi-Fi/WICED/platform/MCU/STM32F4xx/platform_isr_interface.h. Let me know if you were looking for something else

View solution in original post

MiRo_263836
Contributor II

Thank you.  That is what I was looking for.