u/FoundationOk3176

What is the point of ARM TrustZone in MCUs?

From what I understand, ARM TrustZone is a privilege level which allows us to hideaway sensitive operations, etc to a trusted environment and allows us to expose a very small API to systems of our choice.

But what is the point of it exactly? Why would one want to split environments into Secure & Normal world? If someone can modify Normal world's code, Can't they easily interface with the Secure world?

reddit.com
u/FoundationOk3176 — 3 days ago

How is the developer experience with STM32WB series?

I am thinking of considering STM32WB35CE for a project of mine. My use case requires USB Device & BLE >= 5.0, Readout protection & Enough memory to store a 4-bit 128x96 OLED framebuffer (~6 KB).

STM32WB35CE checks all these marks but I'm seriously worried about the developer experience (DX). My previous experience with STM has been their MPU lineup.

I also don't want to use STM's IDE or whatever they call it. Thus I was wondering if anyone who has used this particular lineup or any STM32 MCU could comment on it.

There's also nRF5340 but their abomination of a packaging aQFN looks like beyond my skill set to design a PCB around.

reddit.com
u/FoundationOk3176 — 3 days ago
▲ 6 r/esp32

Is it fine to disable most of these NimBLE services?

I'm porting my code from nRF to ESP32-S3 because I need the USB Host controller. I've been looking into stripping down as much as stuff I can and only keep what I want to use.

Which is also why I'm using NimBLE. I don't need BL Classic anyways but with NimBLE I found that these services are enabled.

Can I disable most of these services? Except for CONFIG_BT_NIMBLE_DIS_SERVICE, CONFIG_BT_NIMBLE_GAP_SERVICE which are of use to me.

I honestly don't know why most of them are even active.

u/FoundationOk3176 — 6 days ago

Is there any reliable "hobbyist friendly" place to source camera modules?

I've been trying to find camera modules like the one attached in the image above (OV7670) but apart from local hobbyist sites ($1.5 is insane cheap), I couldn't find anything.

Now for OV7670, etc I do understand that these were launched way back in 2005 and are chinese clones, but is there any site where I can source them for mass production but still be able to buy in small volumes for prototyping, etc?

Like for displays there's buydisplay.com, which is a really great site.

Btw for my use-case, right now I'm just looking for a cheap ($5-10 max) camera with SCCB interface for the purposes of scanning QR codes, etc.

u/FoundationOk3176 — 12 days ago

Can Someone Suggest Password-Protected Secure Element With Bruteforce Protection?

I am working on a hardware-based password manager. When the user first setups the device, A 512-bit key is created which is used to encrypt & decrypt the passwords. The user also specifies the password they want to use to unlock the device & view/edit/add/delete passwords.

Now I am looking for a Secure Element, Which allows me to store this key, perform encrypt & decrypt operations using AES so that the key never leaves the SE. BUT most importantly before these operations can be done, The SE has to be "unlocked" using the password user specified and after a certain amount of wrong attempts the SE should erase everything.

I couldn't find any relevant parts to achieve this.

reddit.com
u/FoundationOk3176 — 14 days ago

Vague title but I'm building an battery-powered handheld device using a 2.8" 240x320 ILI9341 touch IPS panel.

And I was wondering if the ESP32-S3-MINI-1-N4R2 module was enough to run LVGL on the aforementioned display at 60 FPS using the 16-bit 8080 parallel or 4-wire SPI interface?

If it helps, The primary function of the device will be to interact with the user via the display, So there won't be any "background tasks", etc which may hog down the CPUs.

Also the UI won't be super complicated either, There are 2 main states 1 is the pin entry state and the 2nd is the a scroll list where you click an item which will take you to the pin entry state.

reddit.com
u/FoundationOk3176 — 14 days ago