Search found 12 matches

by saden123
Mon Nov 06, 2023 12:52 am
Forum: ESP-MDF
Topic: Root node with Ethernet, routing bidirectional IP packets
Replies: 0
Views: 25205

Root node with Ethernet, routing bidirectional IP packets

Is it possible to run a mesh with a fixed root node that has an ethernet connection rather than a connection to a Wi-Fi router? Details: Ethernet has IP hosts on subnet X Mesh has IP nodes also on subnet X Fixed mesh root node has an Ethernet port (~WIZ5500) and enables IP communication between any ...
by saden123
Thu Nov 11, 2021 8:27 pm
Forum: ESP-IDF
Topic: xPortGetFreeHeapSize() - Unexplained low values
Replies: 0
Views: 1469

xPortGetFreeHeapSize() - Unexplained low values

(IDF: 3.2.2) I have a task running in a tight loop calling xPortGetFreeHeapSize() to monitor heap levels for my application. Most of my heap is statically allocated at start-up; cJSON and libesphttpd are the main dynamic users of heap memory, and they are working quite hard: My UI is in HTTP/JS, and...
by saden123
Fri Feb 15, 2019 10:58 am
Forum: Hardware
Topic: Pico: No CANBUS?
Replies: 3
Views: 5531

Re: Pico: No CANBUS?

Hi Igrr, I've taken another look; It's the CAN driver I'm using. I believe it is a VP230 (hard to read to confirm authenticity) and is supposed to run at 3.3v, but for whatever reason, it doesn't. I have switched to a TJA1051 which is working fine. I found a post elsewhere that indicated a lack of C...
by saden123
Fri Feb 15, 2019 12:23 am
Forum: Hardware
Topic: Pico: No CANBUS?
Replies: 3
Views: 5531

Re: Pico: No CANBUS?

Hi Igrr
Thanks for the reply. All details is first job for (my) tomorrow...
Good to know it should work and may just be me.
Si.
by saden123
Thu Feb 14, 2019 2:50 pm
Forum: Hardware
Topic: Pico: No CANBUS?
Replies: 3
Views: 5531

Pico: No CANBUS?

CAN IDF API calls work fine, but there is no subsequent CAN signalling on Pico. Can anyone confirm that the Pico chip is missing the bits required for CAN please? If so, this should probably be made clear in the Pico documentation, I certainly hadn't realised until way too late :shock: ! Anything el...
by saden123
Sun Oct 07, 2018 2:50 am
Forum: ESP-IDF
Topic: Need the equivalent of Arduino's SPI.transfer16
Replies: 5
Views: 8801

Re: Need the equivalent of Arduino's SPI.transfer16

Thanks, I stand corrected, it's been a while since I last worked with SPI.
Ok. I just looked up the Arduino function and it looks basically the same. Maybe a small delay between bytes. Sorry, not much help.
Cheers,
Si.
by saden123
Sun Oct 07, 2018 1:27 am
Forum: ESP-IDF
Topic: Need the equivalent of Arduino's SPI.transfer16
Replies: 5
Views: 8801

Re: Need the equivalent of Arduino's SPI.transfer16

Hi,
I don't think you have set the transaction buffers up properly.
transaction.rx_buffer
transaction.tx_buffer
Need to point at some pre-allocated memory of the required size.
At the moment transaction.tx_data etc will be pointing at memory address 0
Si
[EDIT] I'm wrong on this
by saden123
Sat Oct 06, 2018 10:33 pm
Forum: ESP-IDF
Topic: BLE GATT - Read/Change Char value from IDF side
Replies: 4
Views: 8304

Re: BLE GATT - Read/Change Char value from IDF side

Thanks chegewara and fly123, I'm getting there now.
Si.
by saden123
Sat Oct 06, 2018 10:24 pm
Forum: Hardware
Topic: GPIO invert settings
Replies: 3
Views: 10550

Re: GPIO invert settings

mmmm, it pays to browse: I must look into this. I am toggling gpio for steppers within an ISR, and motor controllers vary in signal polarity for en, step and direction. So I am using this all over the code: #define GPIO_ON(gpioreg, inverse) \ if (inverse) \ GPIO.out_w1tc = gpioreg; \ else \ GPIO.out...
by saden123
Sun Sep 02, 2018 9:13 am
Forum: ESP-IDF
Topic: Create a Web Server
Replies: 3
Views: 9898

Re: Create a Web Server

I'm using a libeshttpd fork for my projects https://github.com/chmorgan/libesphttpd

Also: the ESP-IDF has an http server component, example here https://github.com/espressif/esp-idf/tr ... ttp_server - I haven't used it yet but it looks pretty good.