- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Its probably a wicked question. The platform we are using is BCM943341WCD1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
More Info: Interrupt 33 serves
DMA1_Stream6 which is used for uart 2.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 )