Search found 20 matches
- Tue Apr 05, 2022 5:45 am
- Forum: General discussion
- Topic: stm32f rtc memory space?
- Replies: 5
- Views: 3062
stm32f rtc memory space?
I am using STM32RTC arduino library, stm32f401, with battery powered backup registers (20x32bit). Do the rtc registers, (hour, min day etc.) affect or use any of the backup register space ?. I intend to use the internal rc clock as accuracy is fairly unimportant. Any help much appreciated. Best Rega...
- Thu Nov 18, 2021 4:40 pm
- Forum: General discussion
- Topic: Serial event not running
- Replies: 2
- Views: 3072
Re: Serial event not running
@fpiSTM Thanks for the link, much appreciated. It will take me more than a minute or two to get around that. From a quick scan this looks like the simplest option : Serial.setRx(PA10); // using pin name Serial.setTx(PA9); Serial.begin(9600); Just checked it out and it works a charm. Definitely worth...
- Thu Nov 18, 2021 2:52 pm
- Forum: General discussion
- Topic: Serial event not running
- Replies: 2
- Views: 3072
Serial event not running
I'm using ST Link V2 for programming and an ftdi serial adapter connected to PA9, PA10 on an stm32F401. This works fine for serial print of data to the Arduino serial monitor. However I cannot get it to input characters, as the serial event function is not called. Using the example serial event prog...
- Sat Nov 06, 2021 10:25 am
- Forum: General discussion
- Topic: eeprom in flash memory for STM32F401
- Replies: 10
- Views: 8618
Re: eeprom in flash memory for STM32F401
ag123 Thanks for the info. I had realised after further reading that I can only access the 80bytes (20 words) of the rtc area. 80 bytes is pushing it for my storage needs but I think its possible with a bit of careful programming (fudging ;) ), converting the 32 bit words to 8/16 bit integers and u...
- Sat Nov 06, 2021 6:35 am
- Forum: General discussion
- Topic: eeprom in flash memory for STM32F401
- Replies: 10
- Views: 8618
Re: eeprom in flash memory for STM32F401
@ag123 This solution resulted in an unrecognised F401, which I recovered using STLINK V2 and releasing the reset whilst pressing connect on the Cube programmer. Reading more info I have discovered that this chip has 2k of battery backed up RAM. This seems like a simpler approach and requires only a ...
- Thu Nov 04, 2021 12:32 pm
- Forum: General discussion
- Topic: eeprom in flash memory for STM32F401
- Replies: 10
- Views: 8618
- Thu Nov 04, 2021 8:01 am
- Forum: General discussion
- Topic: eeprom in flash memory for STM32F401
- Replies: 10
- Views: 8618
Re: eeprom in flash memory for STM32F401
@GonzoG
Thanks for the clarification, the datasheet was a bit ambiguous about that ( at least to me ).
I can live with a 16k block, and 10k erase write cycles is plenty for my purpose.
So any info on how to implement this much appreciated
Best Regards
picclock
Thanks for the clarification, the datasheet was a bit ambiguous about that ( at least to me ).
I can live with a 16k block, and 10k erase write cycles is plenty for my purpose.
So any info on how to implement this much appreciated
Best Regards
picclock
- Wed Nov 03, 2021 3:14 pm
- Forum: General discussion
- Topic: eeprom in flash memory for STM32F401
- Replies: 10
- Views: 8618
eeprom in flash memory for STM32F401
I'm trying to get this to work, but there does not seem to be a library which is compatible (FlashStorage_STM32F1 will not work with 32F401). I need about 100 bytes or so of EEProm memory, or flash memory which can be written to under program control. 401 has 256k which seems to be in a large chunk....
- Sun Aug 15, 2021 12:24 pm
- Forum: Libraries & Hardware
- Topic: SD Card Using SPI2
- Replies: 8
- Views: 10409
Re: SD Card Using SPI2
Thankyou for that post. It saved the day , and possibly my sanity.
for the first time I have a fully functioning SDFat on SPI2.
Definitely worth a virtual Beer !!!
Best Regards
picclock
for the first time I have a fully functioning SDFat on SPI2.
Definitely worth a virtual Beer !!!
Best Regards
picclock
- Sat Aug 14, 2021 8:30 am
- Forum: Libraries & Hardware
- Topic: SD Card Using SPI2
- Replies: 8
- Views: 10409
Re: SD Card Using SPI2
Problem below solved by using SDFat library rather than Adafruit SDFat fork, using stm core library. Have a problem with line 26 : #define SD2_CONFIG SdSpiConfig(PB11, DEDICATED_SPI, SD_SCK_MHZ(18), &mySPI2) as PB11 not recognised. I am not using chip select so setting it to zero gets it to com...