2019-01-24 07:23 AM
Hi,
I use the b-l072z-lrwan1 to make lora advertisment and it's work.
I use the project AT_slave or END_Node.
But i want to use the second uart USART1 and nothing work in the environment.
If i just change the file B-L072Z-LRWAN1\Applications\LoRa\End_Node\Core\inc\mlm32l0xx_hw_conf
The program launch but nothing appear on the UART.
I make a project with 2 UART with STM32CubeMX and both work great (it's not a hardware problem)
Someone could help me?
Solved! Go to Solution.
2019-01-24 08:48 AM
USART1 is REQUEST 3, Channel 2 or 4, check also hard references in VCOM.C
/* Definition for USARTx's DMA */
#define USARTx_TX_DMA_CHANNEL DMA1_Channel7
/* Definition for USARTx's DMA Request */
#define USARTx_TX_DMA_REQUEST DMA_REQUEST_4
2019-01-24 08:48 AM
USART1 is REQUEST 3, Channel 2 or 4, check also hard references in VCOM.C
/* Definition for USARTx's DMA */
#define USARTx_TX_DMA_CHANNEL DMA1_Channel7
/* Definition for USARTx's DMA Request */
#define USARTx_TX_DMA_REQUEST DMA_REQUEST_4
2019-01-24 11:37 PM
Thanks for your reply.
Do you have a link to a doc wich explain these configuration?
What i want is USART1 in standard output
In a second time i want USART2 in TXRX mode without DMA.
USART1 work with channel 4 but not with channel 2
"
/* Definition for USARTx's DMA */
#define USARTx_TX_DMA_CHANNEL DMA1_Channel4
"
2019-01-25 12:30 AM
2019-01-27 11:23 PM
Up for this question
@Community member
Do you prefer that I open a new subject?
2019-01-27 11:33 PM
Try pulling the Reference Manual for the L072 part.
2019-01-27 11:37 PM
One person with interrelated topics, best kept in single thread.
Many hours behind you, will check later.
2019-01-28 12:00 AM
I read these document :
DocID027100 rev 4 STM32L072x8 STM32L072xBSTM32L072xZ
DocID029205 rev 1 UM2052 User manual
And the big one DocID025942 Rev 8 RM0377 Reference manual
But i don't find a lot of documentation about L072 USART...
I donwload eveything on murata about the chip.
But they don't talk about USART.
https://my.murata.com/en/web/lrwan_abz/moduleinfo
I read a lot here :
But i think 2 USART is more a basic problem and i found no detail here.
Any idea?
2019-01-28 02:19 AM
@Community member I have open a ST support case 00071475.
Regards.
2019-01-28 05:15 AM
RM0376 would be the appropriate one