Search found 6 matches

by aster94
Fri Apr 24, 2020 8:32 am
Forum: General Discussion
Topic: IO_MUX and CS pin
Replies: 3
Views: 4593

Re: IO_MUX and CS pin

I think you are correct, i read again the docs (https://docs.espressif.com/projects/esp ... aster.html) and:
Only the first Device attached to the bus can use the CS0 pin
So looks like that other CS pin can be used without affecting the speed
by aster94
Wed Apr 22, 2020 4:33 pm
Forum: General Discussion
Topic: IO_MUX and CS pin
Replies: 3
Views: 4593

IO_MUX and CS pin

hello, I would like to use the fastest SPI interface possible, so I am using these pins to take advantage of the IO_MUX [Codebox]#define PIN_NUM_MISO 12 #define PIN_NUM_MOSI 13 #define PIN_NUM_CLK 14 #define PIN_NUM_CS 15[/Codebox] But am I really forced to use the CS pin or can I use everything? In...
by aster94
Mon Apr 20, 2020 8:16 pm
Forum: ESP32 Arduino
Topic: pins assignment for peripheral
Replies: 0
Views: 2596

pins assignment for peripheral

Hello, I am making a PCB for a esp32 project which would be full of peripheral. I know that esp32 has a gpio matrix so I can almost assing a peripheral to any pin, but I was wondering if there are some best practice for this? For example I know that the SPI pins if assigned to the IO_MUX would give ...
by aster94
Mon Aug 27, 2018 8:48 pm
Forum: ESP32 Arduino
Topic: Serial class behaviour
Replies: 2
Views: 3916

Re: Serial class behaviour

my fault, i was using a specific function of another core which i thought to be also from arduino, this could be closed/delated
by aster94
Sun Aug 26, 2018 5:52 pm
Forum: ESP32 Arduino
Topic: Serial class behaviour
Replies: 2
Views: 3916

Serial class behaviour

hello

in many cores (at least avr and arm) the serial class could be passed as constructor for functions, example:

Code: Select all

foo(&Serial1);
how could i achieve something similar on esp32?

i tried this but it didn't work:

Code: Select all

#include <HardwareSerial.h>
HardwareSerial MySerial(1);
foo(&MySerial);
by aster94
Wed Jan 10, 2018 3:59 pm
Forum: General Discussion
Topic: novice questions
Replies: 0
Views: 2190

novice questions

hello, I just joined the forum, I have knowledge of C/c++ and a very little bit of python currently i don't own any espressif device Right now i am working on a datalogger (ECU stuffs, gps, imu, and other) for suzuki/kawasaki motorbikes, all will be open source on github. I have it ALREADY working o...