- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If I want to use WICED_UART_2, which pins on the ST micro would this map to?
I'm using the ISM43362_M3G_L44 module.
Solved! Go to Solution.
- Tags:
- pins
- uart
- wiced_uart_2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Never mind I found it in the platform.c fie:
[WICED_UART_2] =
{
.port = USART3,
.tx_pin = &platform_gpio_pins[WICED_GPIO_19],
.rx_pin = &platform_gpio_pins[WICED_GPIO_20],
.cts_pin = &platform_gpio_pins[WICED_GPIO_21],
.rts_pin = &platform_gpio_pins[WICED_GPIO_22],
.tx_dma_config =
{
.controller = DMA1,
.stream = DMA1_Stream4,
.channel = DMA_Channel_7,
.irq_vector = DMA1_Stream4_IRQn,
.complete_flags = DMA_HISR_TCIF4,
.error_flags = ( DMA_HISR_TEIF4 | DMA_HISR_FEIF4 | DMA_HISR_DMEIF4 ),
},
.rx_dma_config =
{
.controller = DMA1,
.stream = DMA1_Stream1,
.channel = DMA_Channel_4,
.irq_vector = DMA1_Stream1_IRQn,
.complete_flags = DMA_LISR_TCIF1,
.error_flags = ( DMA_LISR_TEIF1 | DMA_LISR_FEIF1 | DMA_LISR_DMEIF1 ),
},
},
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Never mind I found it in the platform.c fie:
[WICED_UART_2] =
{
.port = USART3,
.tx_pin = &platform_gpio_pins[WICED_GPIO_19],
.rx_pin = &platform_gpio_pins[WICED_GPIO_20],
.cts_pin = &platform_gpio_pins[WICED_GPIO_21],
.rts_pin = &platform_gpio_pins[WICED_GPIO_22],
.tx_dma_config =
{
.controller = DMA1,
.stream = DMA1_Stream4,
.channel = DMA_Channel_7,
.irq_vector = DMA1_Stream4_IRQn,
.complete_flags = DMA_HISR_TCIF4,
.error_flags = ( DMA_HISR_TEIF4 | DMA_HISR_FEIF4 | DMA_HISR_DMEIF4 ),
},
.rx_dma_config =
{
.controller = DMA1,
.stream = DMA1_Stream1,
.channel = DMA_Channel_4,
.irq_vector = DMA1_Stream1_IRQn,
.complete_flags = DMA_LISR_TCIF1,
.error_flags = ( DMA_LISR_TEIF1 | DMA_LISR_FEIF1 | DMA_LISR_DMEIF1 ),
},
},