uart2 unhandled interrupt 33

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hello,

I am trying to implement read/write for breakout header pins 9\10 for uart 2, so I updated the

platform_uart_peripherals in platform.c. I can write the bytes, but then I am breaking in

PLATFORM_DEFINE_ISR( UnhandledInterrupt ) with

active_interrupt_vector == 33. What am I missing?

Thank you

0 Likes
5 Replies
MichaelF_56
Moderator
Moderator
Moderator
250 sign-ins 25 comments on blog 10 comments on blog

mpogorelov

You posted this to the Murata forum.  Which Murata module are you using?

Adding the Technical Team at Murata so they can follow up and/or ask me to move this to the WICED Forum.

ghouse  xlin  randerson yfang@murata.com hhyogo dan

0 Likes
Anonymous
Not applicable

Its probably a wicked question. The platform we are using is BCM943341WCD1

0 Likes

Moved to the WICED Wi-Fi forum.

seyhan abirjepatil

0 Likes
Anonymous
Not applicable

More Info: Interrupt 33 serves

DMA1_Stream6 which is used for uart 2.

0 Likes
Anonymous
Not applicable

Solved. Need to add:

in platform.c

WWD_RTOS_DEFINE_ISR( usart2_irq )

{

  platform_uart_irq( &platform_uart_drivers[WICED_UART_2] );

}

WWD_RTOS_DEFINE_ISR( usart2_tx_dma_irq )

{

  platform_uart_tx_dma_irq( &platform_uart_drivers[WICED_UART_2] );

}

WWD_RTOS_DEFINE_ISR( usart2_rx_dma_irq )

{

  platform_uart_rx_dma_irq( &platform_uart_drivers[WICED_UART_2] );

}

WWD_RTOS_MAP_ISR( usart2_irq , USART2_irq )

WWD_RTOS_MAP_ISR( usart2_tx_dma_irq , DMA1_Stream6_irq )

WWD_RTOS_MAP_ISR( usart2_rx_dma_irq , DMA1_Stream5_irq )

0 Likes