You have to install the serial driver from ST: https://www.st.com/en/development-tools/stsw-stm32102.html
This will allow you to use the USB as serial port.
To program the board you need either an STLink probe or you have to install a bootloader (for this you need anyway an STLink first...).
Please ...
Search found 505 matches
- Sun Apr 11, 2021 9:13 am
- Forum: General discussion
- Topic: How to start? Connection issue with Bluepill
- Replies: 10
- Views: 9716
- Tue Apr 06, 2021 2:23 pm
- Forum: Custom design boards
- Topic: Interruptions conflict stm32f103RB6T
- Replies: 7
- Views: 8609
Re: Interruptions conflict stm32f103RB6T
Please post an example sketch which shows the problem.
In general, there can be only 16 bits of any port associated with an interrupt.
For example: if you have an interrupt activated on PA8, this will share the same interrupt on PB8 or PC8 or PD8.
In general, there can be only 16 bits of any port associated with an interrupt.
For example: if you have an interrupt activated on PA8, this will share the same interrupt on PB8 or PC8 or PD8.
- Mon Apr 05, 2021 12:12 am
- Forum: General discussion
- Topic: Buttons problem
- Replies: 10
- Views: 8644
Re: Buttons problem
For your information,
I also needed in one project a button library and decided to use the button library you mentioned because it has callbacks for each event.
But it did not worked as I wanted to, in particular it had large time delay to detect a click event.
So I decided to make some changes to ...
I also needed in one project a button library and decided to use the button library you mentioned because it has callbacks for each event.
But it did not worked as I wanted to, in particular it had large time delay to detect a click event.
So I decided to make some changes to ...
- Fri Apr 02, 2021 3:50 pm
- Forum: General discussion
- Topic: Mux errors...
- Replies: 9
- Views: 7593
Re: Mux errors...
We just need to know which core do you use.
see this for your reference: viewtopic.php?f=2&t=301
see this for your reference: viewtopic.php?f=2&t=301
- Wed Mar 31, 2021 5:04 pm
- Forum: STM boards (Discovery, Eval, Nucleo, ...)
- Topic: w5500 Ethernet Nucleo STM32F303RE crash
- Replies: 5
- Views: 8513
Re: w5500 Ethernet Nucleo STM32F303RE crash
If it runs on bluepill correctly, then it must be related to the new board and/or STM derivate MCU, so you should check the supply voltages / pins / core settings...
- Tue Mar 30, 2021 9:03 pm
- Forum: Projects
- Topic: Reading SPI accelerometers
- Replies: 10
- Views: 11872
Re: Reading SPI accelerometers
Thanks! I eliminated the lines for beginTransaction and endTransaction, and I'm getting slightly better results (12.5kHz) but I didn't get your first point; are you suggesting to use something like dest=SPI.transfer(zeros, count) instead of
for (uint8_t ii = 0; ii < count; ii++)
{
dest[ii ...
- Tue Mar 30, 2021 2:21 pm
- Forum: Projects
- Topic: Reading SPI accelerometers
- Replies: 10
- Views: 11872
Re: Reading SPI accelerometers
I assume that you are using the official STM core.
Here are some suggestions:
i) You have to look whether there is another block transfer function to transfer array of bytes instead of doing several single byte transfers.
ii) you can use digitalWriteFast() to set CS.
iii) you can skip SPI ...
Here are some suggestions:
i) You have to look whether there is another block transfer function to transfer array of bytes instead of doing several single byte transfers.
ii) you can use digitalWriteFast() to set CS.
iii) you can skip SPI ...
- Mon Mar 29, 2021 3:55 pm
- Forum: STM boards (Discovery, Eval, Nucleo, ...)
- Topic: w5500 Ethernet Nucleo STM32F303RE crash
- Replies: 5
- Views: 8513
Re: w5500 Ethernet Nucleo STM32F303RE crash
Don't you have some SPI pins of the F303 board shared with other on-board chips?
Which SPI interface do you use? CS pin?
Which core?
Which SPI interface do you use? CS pin?
Which core?
- Mon Mar 29, 2021 3:51 pm
- Forum: General discussion
- Topic: Hang on udp.endPacket
- Replies: 5
- Views: 6722
Re: Hang on udp.endPacket
Insert some debug prints into socketSendUDP function so that you know where exactly is hanging
Also, you can add some debug prints in the yield() function.
Btw, which core do you use?
Also, you can add some debug prints in the yield() function.
Btw, which core do you use?
- Sun Mar 28, 2021 4:06 pm
- Forum: General discussion
- Topic: Hang on udp.endPacket
- Replies: 5
- Views: 6722
Re: Hang on udp.endPacket
If you are using the Ethernet library form Arduino, then it should not hang at all because the function socketSendUDP() - which is called in udp.endPacket() - has an integrated timeout condition, see here: https://github.com/arduino-libraries/Ethernet/blob/75a3c37b5e513305b82e926ca6a4f8190f536c9d ...