1 Reply Latest reply on Jun 18, 2015 11:35 AM by eric_amirault

    UART pin mapping?

    eric_amirault

      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.

        • 1. Re: UART pin mapping?
          eric_amirault

          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 ),

            },

            },