November 24, 2024, 10:16:07 AM

Recent posts

#1
ESP32 / S3 and disabling CH340X
Last post by timokett81 - November 23, 2024, 04:43:07 PM
It is mentioned in in https://www.olimex.com/Products/IoT/ESP32-S3/ESP32-S3-DevKit-Lipo/open-source-hardware that the power consumption is about 200 uA where CH340X takes about 50-150 uA. 
In order to cut down ESP32-S3 power consumption, the CH340X could be unpowered by e.g. cutting some foil in PCB. Is there a clear point in PCB where this could be done or even jumper that could be unsoldered?
#2
FPGA / Re: SPI only, or NVCM also?
Last post by Hugh Aguilar - November 23, 2024, 08:42:41 AM
Quote from: LubOlimex on November 22, 2024, 08:12:27 AMAll HX series (like iCE40HX8K-CT256) have NVCM.
The LM versions don't have NVCM. I was just making sure that is not what you have on your board.

thanks for the info --- Hugh
#3
New Product Ideas / Re: ARM64 SOM for industrial a...
Last post by thom_nic - November 23, 2024, 04:10:02 AM
Ok thanks. 

The real dealbreaker is that an SBC won't fit inside our product - it's huge - and has a bunch of connectors that we don't need and are in fact all in the way.  We can only use a SOM that mounts on a mainboard with a fine pitch header, and we'll put the peripheral connectors on our mainboard. 

Edit: it seems the RK3328-SOM is the closest arm64 that meets our requirements based on what is offered today.  I hesitate because the data sheet doesn't advertise industrial temp operation range.  But it could still work.
#4
ESP32 / Re: ESP32-PRO with arduino: us...
Last post by LubOlimex - November 22, 2024, 04:49:15 PM
Umm, this connection is not SPI, it is called 4-bit SD mode. Refer to this article:

https://docs.espressif.com/projects/esp-idf/en/v5.3.1/esp32/api-reference/peripherals/sdio_slave.html
#5
FPGA / Re: SPI only, or NVCM also?
Last post by LubOlimex - November 22, 2024, 08:12:27 AM
I don't see why it shouldn't allow NVCM since the main chip has that feature. All HX series (like iCE40HX8K-CT256) have NVCM. It is internal memory in the chip. Refer to Chapter 4 of this document:

http://www.latticesemi.com/view_document?document_id=46502
#6
FPGA / SPI only, or NVCM also?
Last post by Hugh Aguilar - November 22, 2024, 06:28:27 AM
I haven't read though this section of the forum, so please pardon me if this question has already been answered.

Does your iCE40HX8K-EVB allow programming through NVCM, or only SPI?

SPI can be written to many times, so it is for development. NVCM is write-once so it is for the production version. The problem with SPI is that it can be read, and there is a tool available for decompiling this into Verilog, so the design can be reverse-engineered.

What I would like to do is get a processor running on the HX8K. This would be a superset of the 65c02 ISA (a few extras, such as multiplication and access to RAM beyond 64KB). Being 65c02, my compiler for the NEO6502 could also generate code for this. And of course I would have a heartbeat timer, that the NEO6502 sorely lacks!

I don't want to have my design in SPI though, because it would just get reverse-engineered. Red China is the primary problem, but there are bad actors in the Western world too. I don't want to put a lot of work into this, then find somebody selling an HX8K board that does something useful and uses my processor design and my compiler. I'm not an altruist --- I don't want to help people make money.
#7
ESP32 / Re: ESP32-EVB Relay rating
Last post by LubOlimex - November 21, 2024, 02:11:01 PM
#8
ESP32 / ESP32-EVB Relay rating
Last post by iredcraft@gmail.com - November 21, 2024, 12:17:02 PM
Hey there! I recently acquired a brand new Olimex ESP32-EVB-EA-IND board for a project, in which I want to switch a low-current 230v signal through one of the relays on the EVB.

The product description talks about a 15A@230V AC rating, but, having received the board, the installed RECOY LEG-5F relays only have a rating of 15A@120V AC written on them. The datasheet however suggests that 230v are possible.

I need some clarification on this so I can proceed with my project, so help is greatly appreciated. Sorry if this is a noob question!
#9
ESP32 / ESP32-PRO with arduino: using ...
Last post by valhalla - November 21, 2024, 09:48:27 AM
I'm trying to use the SD card slot on the ESP32-PRO; I'm using version 3.0.7 of the ESP package (but I've also had the same issues with previous versions).

This is the basic minimal code I'm using for these tests

#include <SPI.h>
#include <SD.h>

File logfile;

void setup() {
    Serial.begin(115200);
    Serial.println("Starting");
}

void loop() {
    Serial.println("Starting loop");
    // I'm starting the SD in the loop so that I can see the serial prints in the monitor
    if (!logfile) {
        if (!SD.begin()) {
            Serial.println("SD could not begin, do we have any error?");
        } else {
            logfile = SD.open("test.log", FILE_WRITE);
        }
    }
    if (logfile) {
        logfile.write('t');
        logfile.flush();
        Serial.println("Wrote to test.log");
    }
    delay(10000);
}

And, with Core Debug Level: Error they result in the following message:

08:21:29.645 -> Starting loop
08:21:29.942 -> [202764][E][sd_diskio.cpp:200] sdCommand(): Card Failed! cmd: 0x00
08:21:29.942 -> [202770][E][sd_diskio.cpp:761] sdcard_mount(): f_mount failed: (3) The physical drive cannot work
08:21:30.273 -> [203079][E][sd_diskio.cpp:200] sdCommand(): Card Failed! cmd: 0x00
08:21:30.273 -> SD could not begin, do we have any error?

From file:///home/valhalla/Downloads/ESP32-PRO_Rev_B1-3.pdf I believe that the SD CS pin is connected to pin 13, so I also tried to change the above code to SD.begin(13), but I had the same error, and the same happened by adding the following code to esplicitely select the pins:

SPI.begin(14, 2, 15, 13);
SPI.setDataMode(SPI_MODE0);

any hints on what I could be doing wrong?
#10
New Product Ideas / Re: ARM64 SOM for industrial a...
Last post by LubOlimex - November 21, 2024, 08:20:07 AM
You should evaluate A64-OLinuXino, it is a mature board we also release Olimage Linux image for it. The only downside of the board is that there is multiplexing between the Ethernet and the LCD, so if you want to use LCD and Ethernet at the same time it might be a deal breaker.

Additionally I believe that the A64 chip has no CAN (unlike the A20 chip which has built-in CAN support). So any CAN module should be external.

I don't think we are making A64 SOM board.