Jump to content
    

Uart Raspberry CM3+

У меня Uart0, тот что PL011,  работает на 2Мбит/с. Для этого в config.txt прописал строки

#Uart0 and Uart1
force_turbo=0
core_freq=240
init_uart_clock=128000000

Но периодически при включении скорость работы порта отличается от требуемой. Есть подозрение что не верно устанавливается тактовая частота.
Сталкивался кто-нибудь с подобной проблемой? Куда смотреть?

Share this post


Link to post
Share on other sites

насколько я понимаю miniuart, как и spi работают от cpu clock, а cpu clock при простое может переключаться с 1200 на 600 мгц.

Надо застабилизировать cpu clock, например командой 

sudo cpufreq-set --min 1200MHz

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...