Search found 22 matches
- Mon Sep 16, 2024 6:55 pm
- Forum: General discussion
- Topic: Errors compiling SPI.setSSEL()
- Replies: 9
- Views: 3624
Re: Errors compiling SPI.setSSEL()
So everyone who reads this has the answer, it is pin D24, position 17 in the left column of the 20 pin connector CN7, where it is covered if you use the arduino adapter shield for uno.
- Fri Sep 13, 2024 9:26 pm
- Forum: General discussion
- Topic: Errors compiling SPI.setSSEL()
- Replies: 9
- Views: 3624
Re: Errors compiling SPI.setSSEL()
Where is the control for that?
And how would it compile if the symbol does not exist?
And how would it compile if the symbol does not exist?
- Fri Sep 13, 2024 3:07 pm
- Forum: General discussion
- Topic: Errors compiling SPI.setSSEL()
- Replies: 9
- Views: 3624
Re: Errors compiling SPI.setSSEL()
Okay, it is moved inside the setup routine. I tried that originally. It doesn't work.
In this excerpt, with managed ssel not enabled, setup() completes and the message in loop() "waiting for command" is received and displayed in the serial monitor. But if setSSEL() is called, no messages appear in ...
In this excerpt, with managed ssel not enabled, setup() completes and the message in loop() "waiting for command" is received and displayed in the serial monitor. But if setSSEL() is called, no messages appear in ...
- Thu Sep 12, 2024 7:55 pm
- Forum: General discussion
- Topic: Errors compiling SPI.setSSEL()
- Replies: 9
- Views: 3624
Errors compiling SPI.setSSEL()
Hi,
I am using a NUCLEO-144 F722ZE. I am trying to enable CS pin management by the SPI engine.
Here is a sample code
#define SPI_SPEED 50000000
SPISettings spi_settings( SPI_SPEED, MSBFIRST, SPI_MODE0);
const int CNVSTPin = 10;
const int SDIPin = 11;
const int SDOPin = 12;
const int CLKPin ...
I am using a NUCLEO-144 F722ZE. I am trying to enable CS pin management by the SPI engine.
Here is a sample code
#define SPI_SPEED 50000000
SPISettings spi_settings( SPI_SPEED, MSBFIRST, SPI_MODE0);
const int CNVSTPin = 10;
const int SDIPin = 11;
const int SDOPin = 12;
const int CLKPin ...
- Thu Aug 22, 2024 3:57 pm
- Forum: General discussion
- Topic: Nucleo 144, Arduino IDE 2.3.2 not working blink, digitalWrite(), Seria;println()
- Replies: 15
- Views: 6620
Re: Nucleo 144, Arduino IDE 2.3.2 not working blink, digitalWrite(), Seria;println()
Hmmm... there are four options; mass storage, STM32CubeProgrammer SWD, STM32CubeProgrammer Serial, and STM32CubeProgrammer DFU,
The first two, mass storage and SWD, succeed in loading the bin. The latter two, Serial and DFU do not. Thank you, now, I think, I can turn to programming the device ...
The first two, mass storage and SWD, succeed in loading the bin. The latter two, Serial and DFU do not. Thank you, now, I think, I can turn to programming the device ...
- Thu Aug 22, 2024 2:29 pm
- Forum: General discussion
- Topic: Nucleo 144, Arduino IDE 2.3.2 not working blink, digitalWrite(), Seria;println()
- Replies: 15
- Views: 6620
Re: Nucleo 144, Arduino IDE 2.3.2 not working blink, digitalWrite(), Seria;println()
Always remember to check MCU datasheet.
Yes, I am a big fan of datasheets. Getting the environment working is something I try to do early, after a quick perusal, then learn about the API and the part, then think about design and then launch into the details and then one more pass over design and ...
Yes, I am a big fan of datasheets. Getting the environment working is something I try to do early, after a quick perusal, then learn about the API and the part, then think about design and then launch into the details and then one more pass over design and ...
- Thu Aug 22, 2024 2:19 pm
- Forum: General discussion
- Topic: Nucleo 144, Arduino IDE 2.3.2 not working blink, digitalWrite(), Seria;println()
- Replies: 15
- Views: 6620
Re: Nucleo 144, Arduino IDE 2.3.2 not working blink, digitalWrite(), Seria;println()
Where are the instructions for using the STM32CubeProgrammer? Can it be integrated into the Arduino IDE?I see no error in the upload log. Anyway if it does not work update the STLink firmware using the STM32CubeProgrammer.
Thank you
- Thu Aug 22, 2024 12:56 pm
- Forum: General discussion
- Topic: Nucleo 144, Arduino IDE 2.3.2 not working blink, digitalWrite(), Seria;println()
- Replies: 15
- Views: 6620
Re: Nucleo 144, Arduino IDE 2.3.2 not working blink, digitalWrite(), Seria;println()
One further question, to save a bit of time:
I need to use interrupts, clocks, and SPI.
Usually I use the attachInterrupt() and detachInterrupt(), the intervalTimer or TimerOne library, and whatever SPI library is provided for the board.
Are those the right API's for those capabilities in this ...
I need to use interrupts, clocks, and SPI.
Usually I use the attachInterrupt() and detachInterrupt(), the intervalTimer or TimerOne library, and whatever SPI library is provided for the board.
Are those the right API's for those capabilities in this ...
- Thu Aug 22, 2024 12:35 pm
- Forum: General discussion
- Topic: Nucleo 144, Arduino IDE 2.3.2 not working blink, digitalWrite(), Seria;println()
- Replies: 15
- Views: 6620
Re: Nucleo 144, Arduino IDE 2.3.2 not working blink, digitalWrite(), Seria;println()
Found it. It is another menu item further down
It gets stuck uploading, as shown here. The file navigator opens too. When closed, it reopens.
Sketch uses 17416 bytes (3%) of program storage space. Maximum is 524288 bytes.
Global variables use 1316 bytes (0%) of dynamic memory, leaving 260828 ...
It gets stuck uploading, as shown here. The file navigator opens too. When closed, it reopens.
Sketch uses 17416 bytes (3%) of program storage space. Maximum is 524288 bytes.
Global variables use 1316 bytes (0%) of dynamic memory, leaving 260828 ...
- Thu Aug 22, 2024 12:28 pm
- Forum: General discussion
- Topic: Nucleo 144, Arduino IDE 2.3.2 not working blink, digitalWrite(), Seria;println()
- Replies: 15
- Views: 6620
Re: Nucleo 144, Arduino IDE 2.3.2 not working blink, digitalWrite(), Seria;println()
Where do I select the part number?
Have not seen any option for that.
Have not seen any option for that.