Search found 5 matches

by Sunghwan_Chung
Sat Aug 08, 2020 3:45 am
Forum: Other Boards
Topic: [NUCLEO-H743ZI] change SPI3 baud rate
Replies: 0
Views: 1383

[NUCLEO-H743ZI] change SPI3 baud rate

Initial value of SPI3 baud-rate is 100MHz. As I know, SPI baud-rate is changed when baud-rate value set when SPI initialization. But, Baud-rate is never changed and fixed with 100MHz. What am I missing? >>> import pyb >>> spi = pyb.SPI(3, pyb.SPI.MASTER, baudrate=2000000, polarity=1, phase=0) >>> sp...
by Sunghwan_Chung
Wed Jun 17, 2020 1:46 am
Forum: Other Boards
Topic: STM32L476 wakeup by PA0 from deepsleep
Replies: 2
Views: 2003

Re: STM32L476 wakeup by PA0 from deepsleep

Thanks it works.

shaoziyang wrote:
Wed Jun 17, 2020 1:41 am
You need set EWUP1 bit in registry PWR_CR3.

Code: Select all

import stm

A0 = Pin('A0', Pin.IN, pull=Pin.PULL_DOWN) 
stm.mem32[stm.PWR+0x08] |= 1
by Sunghwan_Chung
Wed Jun 17, 2020 1:27 am
Forum: Other Boards
Topic: STM32L476 wakeup by PA0 from deepsleep
Replies: 2
Views: 2003

STM32L476 wakeup by PA0 from deepsleep

How can I make STM32L476 wake-up from deepsleep by pull-up the PA0 port.

I think additional register setting need like a pyboard (https://github.com/micropython/micropython/issues/3834).
by Sunghwan_Chung
Tue Mar 12, 2019 1:48 pm
Forum: Other Boards
Topic: [nRF52840] UART service advertising error.
Replies: 1
Views: 1862

[nRF52840] UART service advertising error.

Hello! I tried to send and receive UART data communication with iPhone app. OS error found advertise function; OSError: Can not apply advertisment data. status: 0x09 I tried to advertise without params, advertise function did not return error. But, connect with iPhone was unstable(connected and disc...
by Sunghwan_Chung
Tue Mar 12, 2019 1:26 pm
Forum: Other Boards
Topic: [nRF52840] UART service advertising error.
Replies: 0
Views: 2091

[nRF52840] UART service advertising error.

Hello! I try to connect through UART(Serial) with nRFConnect App. Error found at the advertise function. ===================================== >>> >>> import spp >>> sc = spp.SPP() SoftDevice enabled 1. setName(name), default is nrf52_SPP . 2. start() : start service and advertise >>> sc.start() Tra...