You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/05/10 13:28:14 UTC

[GitHub] [incubator-nuttx] acassis commented on issue #3686: low baud rate serial port not supported

acassis commented on issue #3686:
URL: https://github.com/apache/incubator-nuttx/issues/3686#issuecomment-836699669


   Hi @davids5 that is exactly what I did.
   I noticed that configuring the STM32L496 to 110 bps was resulting a baud rate of 12547 bps, because the mask to 16-bit was removing the higher part. Then I changed the SYSCLK from 80MHz to 48MHz and divided it by 16 to get 3MHz: APB1 clock (PCLK1) is HCLK/16 (3MHz). Other modification was "#  define STM32L4_CLK48_SEL       RCC_CCIPR_CLK48SEL_PLLMAIN" to get USB and serial working at same time.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org