Sajjad Ahmed
02/14/2023, 1:34 PMTim Edwards
02/14/2023, 1:55 PMxclk
. If you want to drive that signal from the Nucleo board, then install another 2-pin header on J11; a shunt on that header will connect xclk
to the Nucleo board pin TIM3_CH2
Tim Edwards
02/14/2023, 1:58 PMmpremote
on the Nucleo board (at the Micropython prompt) with:
from io_config import *
Dio("TIM3_CH2").set_state(True)
Dio("TIM3_CH2").set_value(1)
Dio("TIM3_CH2").set_value(0)
set_state(True)
sets the pin to an output, and set_value(1|0)
sets the pin output high or low.Sajjad Ahmed
02/14/2023, 2:02 PMTim Edwards
02/14/2023, 2:09 PMvccd1
(a 1.8V domain), there is a header J3 that already has a wire across the pins. Only if you don't want vccd1
connected up to the rest of the 1.8V domain, cut through the trace with a knife. For the other domains vccd2
(1.8V), vdda1
(3.3V), and vdda2
(3.3V) (and also, redundantly, for vccd1
), the row of 10 pins along the bottom of the Caravel development board has each domain neighboring a pin with the most common supply voltage for that domain (3V3
and 1V8
pins). Those domains are not connected by default, so if you need them powered up you'll need to install a header on that row and put yet more shunts in.Sajjad Ahmed
02/14/2023, 3:06 PMTim Edwards
02/14/2023, 4:16 PMvccd1
is wired to the 1.8V supply 1V8
and you don't need to do anything.Sajjad Ahmed
02/14/2023, 4:20 PMStanley Lin
04/23/2023, 7:00 PMmpremote
on the Nucleo board (at the Micropython prompt)? How do I use the below code to drive the clock, for example, which file should I add these code to?
from io_config import *
Dio("TIM3_CH2").set_state(True)
Dio("TIM3_CH2").set_value(1)
Dio("TIM3_CH2").set_value(0)
Stanley Lin
04/24/2023, 4:25 AMStanley Lin
04/24/2023, 6:01 AMxclk
, GPIO 8
, and TIM3_CH2
, respectively. The second diagram shows the behavior of these three signals when I short J6, the xclk
is disabled and the GPIO 8
is not toggling since there is no clock, which is expected.Stanley Lin
04/24/2023, 6:04 AMxclk
matches TIM3_CH2
which is expected. However, GPIO 8
is still not toggling. Is this expected? Because what I expect to see is the GPIO 8
toggling at the frequency of TIM3_CH2
Stanley Lin
04/24/2023, 6:07 AMTim Edwards
04/26/2023, 3:26 PMStanley Lin
04/29/2023, 3:18 AMC_MGMT_OUT
. The attached file is gpio_config_io.py
for the gpio configuration.Stanley Lin
04/29/2023, 3:24 AMTim Edwards
04/30/2023, 3:45 PMgpio[8]
) after successful calibration; there isn't anything special about channel 8.