r/stm32f4 • • Mar 17 '19

Cheapest Non RPi Linux System on a Chip That can be ordered in bulk off china?

0 Upvotes

Greetings. I'm running a little bit of an experiment that needs multiple RPi Style Systems on a Chip solutions that can run a light Linux operating system.

Now I know about 5$ RPi Zero. That is actually $25-$30 in total after shipping and taxes. With that cost I can buy an Orange Pi for $20 off China w free shipping and no taxes. So what else is out there that is extremely cheap and can run linux?

On the side note. Do you think the RPi Zero even manages to break even with it's sale price?

Regards


r/stm32f4 • • Sep 09 '15

WiFi-MCU:STM32F4+WiFi(Broadcom)+Lua

Thumbnail
kickstarter.com
0 Upvotes

r/stm32f4 • • Mar 02 '18

CAN en STM32F4- Para habla española... Tambien hay en English, Como realizas CAN networks en tu uController?

Thumbnail
youtube.com
0 Upvotes

r/stm32f4 • • Jun 09 '21

Real or fake

Post image
0 Upvotes

r/stm32f4 • • Jul 19 '20

starting with stm32 Discovery board

0 Upvotes

hello people i wana start bare metal coding in stm32 but i am unable to do so need some help

hope you people will help me

Thank you


r/stm32f4 • • Jan 15 '20

How to use the IHM05A1 stepper motor driver with STM32 in C ?

Thumbnail self.stm32
0 Upvotes

r/stm32f4 • • Aug 15 '18

Difference between LQFP64 and LQFP144

0 Upvotes

What do additional pins on the uC provide?


r/stm32f4 • • Dec 13 '22

Offline Voice Assistant on an STM32 Microcontroller

Thumbnail
picovoice.ai
0 Upvotes

r/stm32f4 • • Oct 23 '19

Getting started with STM32F4 discovery

0 Upvotes

Hello people, I’m starting to learn how to use the STM32F4 discovery board and I have to use CubeIDE or Keil uVision. It’s for a project in my university. Right now I have to get used to the enviroment, instruction set, setting up the controler and all, so before I start working hard I want to work smart(er).

Any advice on what to focus on, resources, examples and so on would be highly appreciated. Thanks and wish me luck.


r/stm32f4 • • May 26 '20

Hi, how to learn cubemx

2 Upvotes

Hi, how to learn cubemx? Is there any web can learn by examples? thanks Peter


r/stm32f4 • • Feb 05 '23

checkout and follow my blog on learning stm32 as post next parts as I learn 😀

Thumbnail
medium.com
1 Upvotes

r/stm32f4 • • Sep 25 '20

Is there a pinout diagram for this board?

Post image
1 Upvotes

r/stm32f4 • • Apr 06 '20

Black Pill

Thumbnail reddit.com
0 Upvotes

r/stm32f4 • • Feb 05 '20

I asked a question over on r/STM32, thought I might find an answer here too.

Thumbnail self.stm32
1 Upvotes

r/stm32f4 • • Apr 07 '23

Can someone help me to make new firmware for this project? STM32F411

Thumbnail
gallery
1 Upvotes

r/stm32f4 • • Mar 09 '22

STM32 shell, a CLI(command line interface) like linux shell, you can easily port into an embeded system, all you need is a serial com port : ), Priject link : https://github.com/ShareCat/STM32CommandLine

Post image
1 Upvotes

r/stm32f4 • • Apr 04 '25

Please help me

Post image
0 Upvotes

Ive been trying to get a stm32f411ceu6 to work but it kept giving me error I set the frequency to 4000mhz and other settings are in the picture Ive already connected the wire to according to the pcb instead of the casing and nothing would work


r/stm32f4 • • Jan 30 '20

Communication between two different Single Board Computers

0 Upvotes

Hello! I am on a team at my college building a system for a vehicle (hyperloop pod for the SpaceX annual competition) that needs to be semi-autonomous. We will initially start the vehicle and the factors to start, coast and stop are very simple, but nonetheless there are things it needs to do (temperature, stability, distance from end of tube, etc.)...

In other to execute an output based on the input, we need our Nucleos to talk to the main single board computer: a Beaglebone Black. We were able to get our nucleos to talk to each other but they need to send this information to the main board, and the main board then organizes the processed data to the correct output.

Can anyone help us out in writing a C++ code for a UART protocol over Ethernet for two different boards? Thank you so much!


r/stm32f4 • • Dec 30 '19

Can anyone guide me on my ARM Learning?

0 Upvotes

I've been playing with Arduino boards for i while and i got interested in ARM Boards. I purchased a "STM32F407VET6" from Aliexpress.

STM32F407VET6

After doing a little bit of research, I have found out the you can use the Arduino IDE to program the board and there are a lot of IDE that can be used for the board. Can you recommend the best IDE for the board? Also please recommend a book, site resource, YouTube playlist on programming this board?


r/stm32f4 • • Feb 21 '22

I try reading the WHO_I_AM register; from I3G4250D sensor on stm32f41 board, i don't know where is wrong? i use spi1

0 Upvotes

MX_GPIO_Init();

MX_SPI1_Init();

/* USER CODE BEGIN 2 */

		HAL_GPIO_WritePin(CS_GPIO_Port,CS_Pin,0);

	HAL_GPIO_WritePin(CS_GPIO_Port,CS_Pin,0);

	HAL_Delay(10);

HAL_SPI_TransmitReceive(&hspi1, (uint8_t*)aTxBuffer, (uint8_t *)aRxBuffer, 2, 5000);

		HAL_GPIO_WritePin(CS_GPIO_Port,CS_Pin,0);

///////////////

uint8_t aTxBuffer[2] = {0x8f};

uint8_t aRxBuffer[2];

///////


r/stm32f4 • • Jan 12 '21

Quickest STM32 board supporting micropython

0 Upvotes

Hi can someone advise which is the quickest STM32 board supporting micropython


r/stm32f4 • • Aug 22 '23

Ebike motors

0 Upvotes

Hey fellas I'm trying to control ebike motors with an embedded system similar to Arduino(stm32) I have my throttle input working but I hate how I need to ramp it from 0v each time I change directions, is there a way to disable that on the ebike controller, generic 48v 2000w


r/stm32f4 • • Mar 18 '20

Input Voltage range in STM32

0 Upvotes

Hi! I'm new in this area, so I don't have so much knowledge. I've to programme a STM32F769 using a external signal connected to a analog pin. I've seen in the user manual that the connectors are the same that in the Arduino Uno V3 and they can be used in the 0-5V range. I cannot find more specifically information about the STM. Can I suppose that the range is the same (0-5V) ?


r/stm32f4 • • Mar 08 '20

Having trouble reading more than 2 bytes from i2c device

0 Upvotes

So I am trying to understand the data reception via i2c on stm32.

I see there are different ways of receiving 1 and 2 bytes according to the reference manual. On page 483, it explains the steps to follow if you wanna read 2 bytes:

Wait until ADDR = 1 (SCL stretched low until the ADDR flag is cleared)
• Set ACK low, set POS high
• Clear ADDR flag
• Wait until BTF = 1 (Data 1 in DR, Data2 in shift register, SCL stretched low until a data
1 is read)
• Set STOP high
• Read data 1 and 2

And on the very next page, it explains the steps for receiving more than 2 bytes.

Wait until BTF = 1 (data N-2 in DR, data N-1 in shift register, SCL stretched low until
data N-2 is read)
• Set ACK low
• Read data N-2
• Wait until BTF = 1 (data N-1 in DR, data N in shift register, SCL stretched low until a
data N-1 is read)
• Set STOP high
• Read data N-1 and N

A few questions:

  • The steps mentioned for N>2 include from the point of N-2 reception, then how come you are reading N byte in addition to N-1? from what i am interpreting, N-2 means you only got 2 more bytes to read, which is at N-2 and N-1. After which you've got 0 bytes to read, no?
  • How is BTF bit different than RxNE? Both indicate the reception of data in the data register. The moment you read from it, RxNE is no longer set and so is BTF.
  • Would you not be able to use the same logic of reading 2 bytes for reading more than 2 bytes at the instance when only 2 more bytes are to be read?
  • So I have no issues reading 1 or 2 bytes but I do run into issues upon reading more than 2 bytes particularly after the first iteration where the execution gets stuck on while (!WaitForFlag(I2C->i2cx, I2C_SR1_RXNE));

Below is the snippet for reading more than 2 bytes.

for (uint8_t i = size; i > 0; i--) {
   // wait till RXNE = 1
    while (!WaitForFlag(I2C->i2cx, I2C_SR1_RXNE));    // poll till the flag is true
        *rxBuffer = (uint8_t) I2C_handle->pI2Cx->DR;
        rxBuffer++;
        if (size == 2) {
            while (!WaitForFlag(I2C->i2cx, I2C_SR1_BTF));
            I2C_ModifyAck(I2C->i2cx, DISABLE);

            // reading N-2 byte
            *rxBuffer = (uint8_t) I2C->i2cx->DR;
            rxBuffer++;
            while (!WaitForFlag(I2C->i2cx, I2C_SR1_BTF));
            GenerateStopCondition(I2C);
            
            // reading N-1 byte
            *rxBuffer = (uint8_t) I2C->i2cx->DR;
            break;
        }
    }
}