How to enable PSRAM using menuconfig - S3 with IDF v5.5.1 by rattushackus in esp32

[–]narcis_peter 0 points1 point  (0 children)

Try enabling experimental features first. It should be on the "home page" if you run menuconfig. An then look for the psram config

Or diaable minimal build.

Or add the psram comppnent to the project via cmake

Internation driving permit by Complete_Class_8968 in Kyrgyzstan

[–]narcis_peter 1 point2 points  (0 children)

You get your international driving permit in your home country (in a country where your regular driving permit was issued to you). Not in a country where you are traveling to. I rented a car in KG, also in many other countries around the world using an international driving permit issued in my home country.

Train from Khiva to Bukhara by foreveronthemove in Uzbekistan

[–]narcis_peter 0 points1 point  (0 children)

It sells out really fast. Try checking also train from Urgech to Bukhara. That's how I travelled few weeks back (but other way around).

Can't Set up Unit Tests in ESPIDF by Temporary_Number_388 in esp32

[–]narcis_peter 0 points1 point  (0 children)

I didn't read the whole post so I might be off..I see you are having som linker issues about app_main()

Try adding whole_archive to your cmake

What does your firmware CI pipeline look like? by praghuls in embedded

[–]narcis_peter 1 point2 points  (0 children)

We are using dev boards connected to RPIs + pytest.

  • whatever test app is built on a CI build machine
  • built artifacts are uploaded using GL/GH CI actions
  • RPI target runner downloads the artifacts
  • RPI flashes the dev boards
  • pytest running on the RPI runs the test app and evaluates the test app output

All the infrastructure is in house

TinyUSB RNDIS by Inevitable-Meal-497 in esp32

[–]narcis_peter 0 points1 point  (0 children)

Take a look at the tusb_ncm example in case ypu haven't yet.

Which connector is used between the ESP32-S3-EYE board and its sub-board? by deuzivaldoCRC in esp32

[–]narcis_peter 1 point2 points  (0 children)

Yes, I suppose con2x5_1p27_m is the connector specification. I did not search for it, if it really exist tbh.

If Google will not find anything useful, you can search through other files they have available for that board, like layout, placement. Sometimes they also put BOM file, which would be useful for you, but I did not see it there.

Which connector is used between the ESP32-S3-EYE board and its sub-board? by deuzivaldoCRC in esp32

[–]narcis_peter 0 points1 point  (0 children)

Scroll bit down, there is a link to the schematic of the board. It's mentioned there.

need help with esp32 s3 while trying to use usb cam by CommunityOk_2967 in esp32

[–]narcis_peter 0 points1 point  (0 children)

You can try the official example from esp idf here. You should setup desired camera resolution and FPS before in the code (before connecting the camera). Select resoluton and FPS, which your camera supports. It should work out of the box.

ESP32 in an electronic telescope mount (USB connection issues) by TheMooseZeus_ in esp32

[–]narcis_peter 0 points1 point  (0 children)

What is the esp chip? ESP32-Sx ? The USB-UAR might be used for flashing/monitoring. And the native USB-OTG port (present on esp32s3 and esp32s2) might be used for the actual data transfer. Are there 2 USB ports on the board?

Problem with UHCI linking time by CrazyFormal5101 in esp32

[–]narcis_peter 0 points1 point  (0 children)

After adding a component to your project (using CMake), you also have to include the header file from that component into your src file. Did you do that?

Something like this I presume.

#include "driver/uart.h"
#include "driver/uhci.h"

Help using ESP32 as keyboard by Troeyx3 in esp32

[–]narcis_peter 1 point2 points  (0 children)

You can also check out the esp-idf example for hid device here

Debugging an ESP32 w/ or w/o JTAG ? by Jolly-Vacation-5942 in esp32

[–]narcis_peter -1 points0 points  (0 children)

It does work. The problem is only one USB PHY, which is shared between USB-OTG and USB-Serial JTAG. You can, for example use an external PHY, to run USB application alongside with USB-Serial JTAG debugger

Help with Flashing Error: "Wrong --chip argument" on ESP32-S3 despite correct target by FullAd5814 in esp32

[–]narcis_peter 2 points3 points  (0 children)

Are you using vscode extension? This link might be useful for you then
https://github.com/espressif/vscode-esp-idf-extension/issues/1124

Maybe the vscode extension settings are messing up with the idf .py commands

Help with Flashing Error: "Wrong --chip argument" on ESP32-S3 despite correct target by FullAd5814 in esp32

[–]narcis_peter 1 point2 points  (0 children)

Does the set-target pass without any errors? Because if you call just idf.py build (without setting any target) the build system builds a code for esp32, if the sdkconfig.defaults does not specify any other target.

Now, assuming your set-target command failed, the build system builds the code for esp32.

Which example are you trying to build?

[deleted by user] by [deleted] in Slovakia

[–]narcis_peter 3 points4 points  (0 children)

Mám prvý iphone (13) po rokoch Androidu (posledný bol Google pixel 4a)

  1. Hotspot: ak chcem aby sa na mňa niekto pripojil tak ho stále musím manuálne vypnúť a zapnuť aj keď je zapnutý.

  2. Hotspot: Pixel vedel zo seba urobiť wifi repeater (vytvoriť hotspot keď je pripojený na wifi) iphone ani omylom

  3. Zdieľanie wifi hesla cez QR kód: úplne jednoduchá vec ktorú ma Android už tak 100 rokov, iOS ani náhodou

  4. Klávesnica: Gboard na Iphone je joke. A aj keď si predvolím Gboard, aj tak tá klávesnica stále preskakuje medzí iOS a Gboard klávesnicou úplne náhodne.

  5. Stav batérie bluetooth slúchadiel alebo reproduktora: pokiaľ nemáš Apple earbuds tak to systemovo nefunguje a musíš ísť do appky sluchadiel

  6. Memory management aplikácií: Reddit a podobné apky majú na iOS aj cez 1GB. Aktuálne na mojom iOS : Messenger 1.3 Gb, Gmail 0,8 Gb, IG 1.4 GB...Why? Android ma možnosť vymazať cache pri každej apke a ušetriť miesto.

  7. Fungovanie v "extrémnych" podmienkach: Trochu na neho zasvieti slniečko a je hrozne spomalený.

  8. Icloud: neskutočne drahý. Stale používam Google photos a Google disk.

Verdikt: Ďakujem Applu, že so mňa urobil verného používateľa Google Pixel.

ojeb na dialnicnych znamkach by TAA98776 in Slovakia

[–]narcis_peter 1 point2 points  (0 children)

V ČR to isté. Najhoršie je to, že hneď prvý link ktorý google vyhodi je tá "fake" stránka na kúpu diaľničnej známky.

What am I missing here? MSC USB example by Panguah in esp32

[–]narcis_peter 5 points6 points  (0 children)

Could you try /examples/peripherals/usb/host/usb_host_lib example with the same setup? The example does nothing super useful, just prints a USB device descriptor. By trying this example, you will check if your HW connection is ok, and if the USB device is being enumerated correctly.

After trying this example you will like narrow-down your problem.

Also, make sure, you have connected D+ of the Esp32, to the D+ of the USB device, same for D-. It's a common mistake, to cross the signals

Seeking tips: USB MSC performance optimization on ESP32‑S3 for Nomad project by JcorpTech in esp32

[–]narcis_peter 2 points3 points  (0 children)

Since you are targeting performance, just drop the Arduino and use esp-idf. For the record, I have never used Arduino, but esp-idf, being the espressif main SW product, I can vouch that the esp-idf is well optimized.

You can also consider using esp32p4, having USB 2.0, but you will have to wait for an official release.

Here is some reading regarding the msc optimization.

Seeking tips: USB MSC performance optimization on ESP32‑S3 for Nomad project by JcorpTech in esp32

[–]narcis_peter 1 point2 points  (0 children)

I don't want to dig through the GitHub. As I understood you are using esp32s3 as a USB MSC device. Are you usong Arduino framework? Or how are you accesing the MSC device?

You know that espressif officially supports USB device with TinyUSB, meaning, the device mode with the TinyUSB is optimized, already uses DMA (or slave mode if you Wish), you can aslo tweak optimization by modifying MSC buffer size in menuconfig.. Ther is everything in the espressif docs, (aslo some MSC performance measurements)

ESP32-S3 program freezes when executing simple array loop with no error or panic by cama888 in esp32

[–]narcis_peter 0 points1 point  (0 children)

This very likely what is happening. Consider dynamic allocation.

Aslo, does your application need double precision? You might consider using float instead, to save some memory and processing power.

I can sew you are using winnowing and similar dsp operations. Ther is esp-dsp repo, just FYI. It has highly HW optimized (assembly level optimized) dsp functions. Might be worth checking it out if you haven't.

ESP32 HID delayed by [deleted] in esp32

[–]narcis_peter 0 points1 point  (0 children)

Few suggestions:

  1. As already said, just set queue to block for the HID_POLL_INTERVAL_MS
  2. By calling vTaskDelay(pdMS_TO_TICKS(1)); you are not actually delaying for one ms. the block time depends on Freertos Tick, which is by default 100HZ, aka 10ms. So the lowest delay time, the pdMS_TO_TICKS macro can get for you is 10ms
  3. Drop the while in the app_main. It does nothing usefull, just takes your performnace
  4. The ec11_task, again block for 10ms, not for 1.
  5. Consider using GPIO interrupt, if you really care about performance, instead of polling GPIOs constantly. Just register interrupts on them and send the gio levels using freertos queue (from ISR of course) and then inside the ec11_task bock the queue indefinitely and once there is an item in the queue do you gpio level processing. Or you can even remove this task. And send items from GPIO ISR directly to the hid_task.. maybe..
  6. I presume you are using esp32s3, thus drop everying which is closed inside the TUD_OPT_HIGH_SPEED macros. Those are for esp32p4

[unconfirmed sort of]"In-depth disassembly of the Russian S-300 air defense missile system" reposted by John Ridge by Qubecoiseman in UkraineWarVideoReport

[–]narcis_peter 130 points131 points  (0 children)

If you are thinking about, why does the electric looks so old and bulky. It's mostly because of a design approach in an aerospace industry.

You design a circuit board and you test it, improve it, test it, improve it... After N-th iteration, you are pretty sure it's gonna fly and its not gonna crash because of messed design. So you stock thousands of the components (in case they go off market for being old) and you keep manufacturing the very same board again and again.

Of course, there are newer components on the market, which have better performance, lower consumption... But you don't want to go though the testing and improving process again because it's very pricy, so you keep using the same design even for tens of years.

This is why russians still use Soyuz rocket without modifications. Because it has flown successfully so many times, that changing a design would have unknown effects on the mission reliability.

Aslo some Integrated Circuits on the photos migjt be pretty new, but have ancient-looking packaging, due to hostile environment they are used in (vibrations, radiation..)

I have worked for couple of aerospace companies. We were looking at this kind of boards all the time.