Skip to main content
sangamesh
Associate II
November 6, 2014
Question

Firmwar for UART using HAL_UART files

  • November 6, 2014
  • 1 reply
  • 430 views
Posted on November 06, 2014 at 20:08

Hi 

 

we are using STM3220EVAL-G evaluation board.

 

In our project we want to establish two UARTs communication with two different external devices in Interrupt mode

UART related function are defined in 

STSW-STM32062 (standard peripheral library)

 How to relate STSW-STM32062 (standard peripheral library) with STM32CubeF2. because we need USB Host application also in our project. or shall we get UART examples implemented using HAL_UART functions available in 

STM32CubeF2 

(without DMA) in interrupt mode

 

Waiting for response Thanks 

This topic has been closed for replies.

1 reply

Montassar BEN ROMDHANE_O
Visitor II
November 13, 2014
Posted on November 13, 2014 at 10:28

Hi,

Since you're using the STM32CubeF2 embedded software solution for USB Host application, it should be better that you use also the HAL UART driver to establish the communication between your STM32 and the external devices.

The STM32CubeF2 package doesn't inclue any UART example in interrupt mode, you can refer to the

http://www.st.com/web/catalog/tools/FM147/CL1794/SC961/SS1743/LN1897/PF259243

package under Projects\STM32F4-Discovery\ExamplesUART_TwoBoards_ComIT

Note that the STM32Cube HAL hardware abstraction layer, is enabling portability between different STM32 devices via standardized API calls.

Regards,

Heisenberg.