I just installed Arduino 2.0 RC9, and I don't have issue.
I compiled blink example for both GENERIC_G0B1RBT and GENERIC_F103CBTX.
I would suggest to uninstall/reinstall stm32duino core, and if necessary reinstall Arduino 2.0RC9
Search found 60 matches
- Fri Aug 12, 2022 12:43 pm
- Forum: IDE's
- Topic: Arduino 2.0 RC9 not compiling generic F, G, H & L series
- Replies: 3
- Views: 9975
- Fri Aug 05, 2022 3:22 pm
- Forum: General discussion
- Topic: Problems with SPI (Nucleo L476RG)
- Replies: 13
- Views: 22566
Re: Problems with SPI (Nucleo L476RG)
Didi you noticed that PNI RM3100 has an I2CEN pin that should be set to GND in order to select SPI communication ?
Also you can try to play with SPI settings in the sketch: try other mode, or slow down the requested frequency.
Also you can try to play with SPI settings in the sketch: try other mode, or slow down the requested frequency.
- Fri Aug 05, 2022 3:04 pm
- Forum: General discussion
- Topic: would it be of use if I generated some missing "default linker script"'s
- Replies: 16
- Views: 17781
Re: would it be of use if I generated some missing "default linker script"'s
@Alextrical,
Thanks for your efforts :-)
It seems that effectively it fails to solve clock speed because it request an HSE when USB is enable, like @ag123 said.
So in that case don't enable USB.
@ag123,
Even if it is right that some MCU will need External HSE to run USB, I would not take that as a ...
Thanks for your efforts :-)
It seems that effectively it fails to solve clock speed because it request an HSE when USB is enable, like @ag123 said.
So in that case don't enable USB.
@ag123,
Even if it is right that some MCU will need External HSE to run USB, I would not take that as a ...
- Fri Aug 05, 2022 12:16 pm
- Forum: General discussion
- Topic: would it be of use if I generated some missing "default linker script"'s
- Replies: 16
- Views: 17781
Re: would it be of use if I generated some missing "default linker script"'s
Do we Only have to enable USB for all MCU families, or are there exceptions? If so how can we tell?
Yes all, Exceptions are, of course, those not supporting USB.
I can set the 'HCLK (MHz)' option, however I cannot see a option for 'CPU clock', not sure what I'm missing. Is it the same as ...
Yes all, Exceptions are, of course, those not supporting USB.
I can set the 'HCLK (MHz)' option, however I cannot see a option for 'CPU clock', not sure what I'm missing. Is it the same as ...
- Fri Aug 05, 2022 7:38 am
- Forum: General discussion
- Topic: Problems with SPI (Nucleo L476RG)
- Replies: 13
- Views: 22566
Re: Problems with SPI (Nucleo L476RG)
It is as close as possible to the frequency requested by the sketch:It looking interesting that the SPI clock is that slow
Code: Select all
SPI.beginTransaction(SPISettings(1000000, MSBFIRST, SPI_MODE0));
- Fri Aug 05, 2022 7:09 am
- Forum: General discussion
- Topic: would it be of use if I generated some missing "default linker script"'s
- Replies: 16
- Views: 17781
Re: would it be of use if I generated some missing "default linker script"'s
@fpistm,
Thanks for your reply,
Sorry I was not clear, I was more expecting feedback about having linker files without clock update, which is functional but far from performances.
Thanks for your reply,
Sorry I was not clear, I was more expecting feedback about having linker files without clock update, which is functional but far from performances.
- Thu Aug 04, 2022 4:14 pm
- Forum: General discussion
- Topic: Problems with SPI (Nucleo L476RG)
- Replies: 13
- Views: 22566
Re: Problems with SPI (Nucleo L476RG)
Hi @jh2399,
I don't have sensor you mentioned,
nevertheless, I tried your sketch on my nucleo_L476RG, and everything look fine:
I put an logical analyser on the 4 SPI pin and get the expected signal.
https://i.postimg.cc/9FgpT822/Arduino-Nucleo-L476-RG-SPI.png
On SCLK, I got 8 pulses, sending ...
I don't have sensor you mentioned,
nevertheless, I tried your sketch on my nucleo_L476RG, and everything look fine:
I put an logical analyser on the 4 SPI pin and get the expected signal.
https://i.postimg.cc/9FgpT822/Arduino-Nucleo-L476-RG-SPI.png
On SCLK, I got 8 pulses, sending ...
- Thu Aug 04, 2022 2:28 pm
- Forum: General discussion
- Topic: would it be of use if I generated some missing "default linker script"'s
- Replies: 16
- Views: 17781
Re: would it be of use if I generated some missing "default linker script"'s
HI @Alextrical ,
Thanks for your proposal, as I said in https://github.com/stm32duino/Arduino_Core_STM32/pull/1781
Generally when adding new generic variant, we also update SystemClock_Config() in generic_clock.c: https://github.com/stm32duino/wiki/wiki/Add-a-new-variant-%28board%29#3---generic ...
Thanks for your proposal, as I said in https://github.com/stm32duino/Arduino_Core_STM32/pull/1781
Generally when adding new generic variant, we also update SystemClock_Config() in generic_clock.c: https://github.com/stm32duino/wiki/wiki/Add-a-new-variant-%28board%29#3---generic ...
- Mon Aug 01, 2022 4:32 pm
- Forum: General discussion
- Topic: why i need SetRx/SetTx before use Serial?
- Replies: 2
- Views: 3396
Re: why i need SetRx/SetTx before use Serial?
Hi @ahsanu,
It is not normal, I mean you should be able to use Serial without setRx()/setTx()
But,
In variant_generic.h , you changed:
#ifndef PIN_SERIAL_RX
#define PIN_SERIAL_RX PA10
#endif
#ifndef PIN_SERIAL_TX
#define PIN_SERIAL_TX PA9
#endif
This implicitly change Uart instance from UART4 ...
It is not normal, I mean you should be able to use Serial without setRx()/setTx()
But,
In variant_generic.h , you changed:
#ifndef PIN_SERIAL_RX
#define PIN_SERIAL_RX PA10
#endif
#ifndef PIN_SERIAL_TX
#define PIN_SERIAL_TX PA9
#endif
This implicitly change Uart instance from UART4 ...
- Wed May 18, 2022 3:42 pm
- Forum: General discussion
- Topic: Unwanted ISR call from timer ??
- Replies: 7
- Views: 4824
Re: Unwanted ISR call from timer ??
@ozcar Right, I missed the PSC.
I pushed the Pull Request to take into account register update immediately when Timer is not running.
https://github.com/stm32duino/Arduino_C ... /pull/1721
I pushed the Pull Request to take into account register update immediately when Timer is not running.
https://github.com/stm32duino/Arduino_C ... /pull/1721