Search found 108 matches

by dmaxben
Wed Jan 31, 2018 1:07 am
Forum: General Discussion
Topic: ADC2 with WiFi workaround
Replies: 4
Views: 10517

Re: ADC2 with WiFi workaround

Yes, I realize it will work fine with wifi disabled... ;) Im trying to figure out if its possible for both to work together....maybe by turning wifi off temporarily, reading ADC2, then turning wifi back on, etc. I need both functions...wifi and ADC2. I dont need them to work at the same time, but I ...
by dmaxben
Tue Jan 30, 2018 11:32 pm
Forum: General Discussion
Topic: ADC2 with WiFi workaround
Replies: 4
Views: 10517

ADC2 with WiFi workaround

Hi, I have a custom PCB that has some DIP switches (via a resistor network) tied to some GPIO's on ADC2. I also need OTA flashing (WiFi) to work, so end users can easily update the firmware in their devices. I just now discovered the ADC2 and WiFi after my PCB design has been finished and in product...
by dmaxben
Mon Jan 22, 2018 9:40 pm
Forum: Hardware
Topic: About the CAN controller.
Replies: 175
Views: 311424

Re: About the CAN controller.

Ok finally figured out what I was doing wrong, im stupid... my_frame.FIR.B.FF = CAN_frame_ext; my_frame.MsgID = 271732576; my_frame.FIR.B.DLC = 8; my_frame.data = {4 , 7 , 33, 4, 255, 255, 255, 255}; ESP32Can.CANWriteFrame(&my_frame); That compiles and works. But for some reason it wont compile with...
by dmaxben
Mon Jan 22, 2018 6:35 pm
Forum: Hardware
Topic: About the CAN controller.
Replies: 175
Views: 311424

Re: About the CAN controller.

Lines of code != number of instructions. The code looks different but does the same. As u8 is an array you can use the same syntax like you did in your example. As Rudi says: i do the msg_frame example with a typedef struct it is one line :lol: Using a structure that holds all the information neces...
by dmaxben
Mon Jan 22, 2018 6:26 pm
Forum: Hardware
Topic: About the CAN controller.
Replies: 175
Views: 311424

Re: About the CAN controller.

honest i write more like 12 lines to show the user for understand and can following the thinking what's going on with your 2 lines of code - i can not follow your thinking in code - sry perhabs you can try to write the can driver code in 10 lines? :D I wish! :lol: joke - understand what you mean. y...
by dmaxben
Mon Jan 22, 2018 6:21 pm
Forum: General Discussion
Topic: What would you like to see in The Next Chip?
Replies: 426
Views: 841331

Re: What would you like to see in The Next Chip?

Couple things I would really love to see in the next chip.. second CAN controller native USB more GPIO's Everything else Im 100% happy with! Additional memory is always good too, but I dont think I'd ever have a project to use it...better to have extra and not use it, than not have enough and need i...
by dmaxben
Mon Jan 22, 2018 6:17 pm
Forum: Hardware
Topic: ESP32 GPIO state at power-on
Replies: 2
Views: 8216

Re: ESP32 GPIO state at power-on

Im curious about this too...

The ESP32 does take a "long" time to boot and set GPIO's...it would be nice if there was some way to "hard code" the boot state for a given GPIO...
by dmaxben
Tue Jan 16, 2018 8:21 pm
Forum: Hardware
Topic: About the CAN controller.
Replies: 175
Views: 311424

Re: About the CAN controller.

Just started messing around with CAN on the ESP32....I designed my own PCB using an Infineon 3.3v CAN transceiver chip, assembled a prototype, and got it working perfectly! Many thanks to the excellent work of everyone involved in bringing the ESP32's internal CAN controller to life. The one questio...
by dmaxben
Wed Jan 10, 2018 5:11 pm
Forum: Hardware
Topic: WROOM-32
Replies: 6
Views: 8879

Re: WROOM-32

Just wanted to bump this up to the top...

Are there any plans for making the WROOM-32 modules with 16mb flash?
by dmaxben
Mon Dec 11, 2017 11:40 pm
Forum: Hardware
Topic: Pullup/down not avail on some pins? are 'straps' permanent?
Replies: 6
Views: 37526

Re: Pullup/down not avail on some pins? are 'straps' permanent?

Has anyone had any luck getting the internal pullup working on GPIO 2?

In Arduino, if I use:

pinMode(2, INPUT_PULLUP);

and then print the ADC reading of GPIO 2, its obvious that the pullup isnt working.

Thoughts?