<mabez[m]>
Farooq[m]: STM doesn't support it officially, the only vendor supported MCUs for Rust are Espressif and Infineon. However the community supports the stm32's, nrf's and rp's quite well
<Farooq[m]>
RP?
<Farooq[m]>
so I need a radio module which is long range and a camera module?
<Farooq[m]>
note that i want to stream camera feed not just take photos every now and then
<Farooq[m]>
on my computer i will be able to control it myself or create an AI
<Farooq[m]>
what if i wanted to have the AI on chip? then which MCUs provide more computation power?
<Farooq[m]>
* ~~RP?~~
<K900>
MCU and AI in one sentence does not work
<K900>
You're going to need a computer
<K900>
And a pretty beefy one
<K900>
As in at least an SBC/phone-grade SoC probably
<mabez[m]>
<Farooq[m]> "on my computer i will be able to..." <- Although it's Xtensa (custom compiler) the esp32s3 has support for cameras and has ai CPU extensions, along with a 128bit data bus. It can do some basic image recognition through the camera
Farooq[m] has quit [Quit: Reconnecting]
Farooq[m] has joined #rust-embedded
Farooq[m] is now known as Farooq
Farooq has quit [Client Quit]
Farooq has joined #rust-embedded
<Farooq>
<K900> "MCU and AI in one sentence..." <- That's the challenge. I am concentrating my research and work on AI with low computation power requirements. Also I am not using NNs.
<K900>
Then you need to be a lot more specific about how much compute you need, and what kind
<Farooq>
mabez[m]: Lemme rephrase, which MCUs have good processor(I don't need special extensions) and can be connected to a camera and a long range radio module.
<Farooq>
K900: In theory, any CPU could work with whatever architecture. But in action, I want to try something which is not very weak, has diverse instructions and can be programmed in direct assembly
<K900>
Those are generic words
<K900>
That mean nothing
<K900>
Do you need integer? Floating point? Multiple cores or one big core? SIMD?
<K900>
Anything can be "programmed in direct assembly" though I'm basically positive your assembly code will be worse than LLVM's
<Farooq>
K900: Plenty of memory, 1-2 cores is enough more than that is unnecessary. No SIMD required.
<K900>
How many memories is plenty
<K900>
I can give you four
<Farooq>
4 MB? enough
<Farooq>
Well depending on the camera module 4MB might be too much.
<Farooq>
I might need the whole image in raw format in memory so let's first talk what inexpensive camera modules are out there.
<Farooq>
* SIMD required. No floating point calculation is required.
kenny has joined #rust-embedded
kenny has quit [Quit: WeeChat 4.0.4]
GenTooMan has quit [Ping timeout: 245 seconds]
<Farooq>
oh dang these STMs have got less than 0.5MB :/
JamesMunns[m] has joined #rust-embedded
<JamesMunns[m]>
yeah, > 512KiB or 1MiB is *pretty* rare for internal memory, some of the high end STM32s or imxrt boards will have interfaces for external SRAM, or boards like the ESP32s will support PSRAM over QSPI.
<Farooq>
hmm. Then I would simply start the project with the ESP32 I have(if it has got Rust support) and think about expanding when I see it's lacking.
cr1901_ is now known as cr1901
GenTooMan has joined #rust-embedded
<Farooq>
Thank you folks!
firefrommoonligh has joined #rust-embedded
<firefrommoonligh>
If you think you can do this on an MCU, Stm32H7 is what you're looking for.
<firefrommoonligh>
With Octospi flash if you need more space
Guest7221 has left #rust-embedded [Error from remote client]
GenTooMan has quit [Ping timeout: 248 seconds]
GenTooMan has joined #rust-embedded
Guest7221 has joined #rust-embedded
starblue has quit [Ping timeout: 240 seconds]
crabbedhaloablut has quit []
starblue has joined #rust-embedded
GenTooMan has quit [Ping timeout: 240 seconds]
GenTooMan has joined #rust-embedded
Foxyloxy has quit [Read error: Connection reset by peer]