I finally answer to myself :
https://www.st.com/resource/en/applicat ... ronics.pdf
page 2/24
STM32F1 : "Swap of MOSI/MISO, reversed SS logic " : NO
Search found 57 matches
- Sat May 14, 2022 4:45 pm
- Forum: General discussion
- Topic: STM32F103 SPI slave having to deal with a master that has SS active HIGH
- Replies: 1
- Views: 4594
- Sat May 14, 2022 4:27 pm
- Forum: General discussion
- Topic: STM32F103 SPI slave having to deal with a master that has SS active HIGH
- Replies: 1
- Views: 4594
STM32F103 SPI slave having to deal with a master that has SS active HIGH
Hi, I have a problem with a /SS being a SS. The slave is a bluepill, the master sends data, formatted for a ST7920. As is, I'm unable to read SPI data. I inserted a CD40106 on the /SS line : success ! (CD40106 = inverter + Schmitt trigger, basically NOT-gates) But I can't use it IRL ! My problem is ...
- Wed May 11, 2022 4:08 pm
- Forum: Off topic
- Topic: Need advice about decoding ST7920 commands
- Replies: 3
- Views: 4384
Re: Need advice about decoding ST7920 commands
Hello ! Some necro posting here... For some reasons the project has been in standby for 1+ year. A couple months ago, I went back on it, and it's now half completed : https://github.com/yet-another-average-joe/MarlinOctoHat/blob/main/_pictures/DSC_8487.JPG - a BluePill based hat for the RasPi, that ...
- Thu Feb 10, 2022 4:32 pm
- Forum: General discussion
- Topic: Writing to inputs...
- Replies: 4
- Views: 4153
Re: Writing to inputs...
"office/lab" in 90% completed, back to business ! You are right. I tested some very simple code. Can internally read an output pin : it blinks : void setup() { pinMode(LED_BUILTIN, OUTPUT); pinMode(PB12, OUTPUT); } void loop() { digitalWrite(PB12, HIGH); digitalWrite(LED_BUILTIN, digitalRe...
- Sat Jan 29, 2022 3:48 pm
- Forum: General discussion
- Topic: Writing to inputs...
- Replies: 4
- Views: 4153
Re: Writing to inputs...
The STM32 is the slave, and any MCU can be the master ; MISO is not in use. Low frequency clock : 1MHz. clock PB13 MOSI : PB15 I'd like to select one from two 3.3V or 5V SPI buses, at runtime, with no additional components (currently, it's done externally using pin headers and jumpers). I was thinki...
- Thu Jan 27, 2022 6:50 pm
- Forum: General discussion
- Topic: Writing to inputs...
- Replies: 4
- Views: 4153
Writing to inputs...
Hi, this is a ususual question on Arduino forums. AFAIR, the answer is : no ! But what about the STM32 (BluePill). Is writing from output pins to input pins allowed ? Not sure it is understandable ! Some explanations about the context... The STM32F103 has two SPI ports. In my application, they are i...
- Fri Aug 27, 2021 2:17 am
- Forum: IDE's
- Topic: Roger's Core, Arduino IDE 1.8.15 and package_stm_index.json
- Replies: 15
- Views: 8924
Re: Roger's Core, Arduino IDE 1.8.15 and package_stm_index.json
I'm really old school when it comes to backups ! My workstation has 10 SATA ports (onboard). 2 are for the OS SSD and a DVD, 4 for the data (4x 4TB HDDs, RAID10), and 4 slots for hot swappable backup disks. There's far too much data for USB or clouding ! I use 11 HDDs for backups and always maintain...
- Fri Aug 27, 2021 1:21 am
- Forum: Black Magic Probe & other
- Topic: Turning a BluePill into a BMP
- Replies: 1
- Views: 23247
Turning a BluePill into a BMP
Hello, I am experimenting with a BluePill as a BMP. I'm not really used to Linux, I didn't want to bother with the toolchain. I didn't find anything about Windows, all tutorials being for Linux, including building from sources. I attempted to flash precompiled files with the Windows STM32 ST-Link Ut...
- Thu Aug 26, 2021 3:54 pm
- Forum: IDE's
- Topic: Roger's Core, Arduino IDE 1.8.15 and package_stm_index.json
- Replies: 15
- Views: 8924
Re: Roger's Core, Arduino IDE 1.8.15 and package_stm_index.json
I simply keep a folder titled "...\Arduino\NofCurrent" and move entire sub-folders between that folder and "\Arduino\hardware" to make it easy to test and achieve. Cores are not terribly disk-hungry, so Zipping and such really has a minimal impact on a 1T SSD. It is not about di...
- Thu Aug 26, 2021 1:25 pm
- Forum: IDE's
- Topic: Roger's Core, Arduino IDE 1.8.15 and package_stm_index.json
- Replies: 15
- Views: 8924
Re: Roger's Core, Arduino IDE 1.8.15 and package_stm_index.json
Oops ! I understand what happened : I accidentaly zip'd the Roger's Core folder (Documents/Arduino/Hardware/Arduino_STM32) and everything below (STM32F1, STM32F4) while doing some clean up and archiving. And later thought some auto update occured while updating libraries. Everything is back ! Thank ...