Search found 38 matches

by ThomasB
Thu Jul 19, 2018 9:35 pm
Forum: Hardware
Topic: measure 9v to 18v
Replies: 8
Views: 12893

Re: measure 9v to 18v

A few years ago I read about voltage spikes in car power lines.

As far as I remember, those spikes come from devices which have an inductance.
They can have peak voltages of more than 100V.

Make sure not only to protect the ADC input but also use a proper power supply for the chip.
by ThomasB
Sun Jul 01, 2018 11:16 am
Forum: Hardware
Topic: [Answered]: Distinction between a pad and a pin?
Replies: 4
Views: 6969

Re: [Answered]: Distinction between a pad and a pin?

Hmm. I knew that pin and pad mean the same thing but I thought that is because the gpio fabric has a pad for bonding on the chip. The fact that some packages have pads instead of pins makes much more sense though :lol:
by ThomasB
Tue Jun 19, 2018 3:02 pm
Forum: Hardware
Topic: About the CAN controller.
Replies: 175
Views: 303163

Re: About the CAN controller.

Nice. Yes, critical sections might make sense. You only need to temporarily deactivate the TX interrupt so no need to disable global interrupts.

PS : you might to want to compare tbs against a value or use TCS. Simply for clean code if people use your snippet.
by ThomasB
Mon Jun 18, 2018 8:50 pm
Forum: Hardware
Topic: About the CAN controller.
Replies: 175
Views: 303163

Re: About the CAN controller.

You also might want to try placing the application in the ISR. This is the fastest yet nastiest solution. You might mess up the complete timing behavior of the chip or experience stack overflows. But hey, it would be very fast 8-)
by ThomasB
Mon Jun 18, 2018 8:19 pm
Forum: Hardware
Topic: About the CAN controller.
Replies: 175
Views: 303163

Re: About the CAN controller.

Not waking an activated Task in the RX ISR is on purpose. Adding an entry to a queue will set the waiting tasks into READY state. However, there will be no task switch, the RUNNING task stays running. We need a rescheduling point (Yield) to switch tasks. You will find rescheduling points e.g. in the...
by ThomasB
Fri Feb 09, 2018 6:43 pm
Forum: Hardware
Topic: KiCAD ESP32 Component Libary
Replies: 3
Views: 20536

Re: KiCAD ESP32 Component Libary

Cool !
Thanks
by ThomasB
Sun Jan 21, 2018 8:52 pm
Forum: Hardware
Topic: About the CAN controller.
Replies: 175
Views: 303163

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 necess...
by ThomasB
Fri Nov 03, 2017 11:02 pm
Forum: Hardware
Topic: About the CAN controller.
Replies: 175
Views: 303163

Re: About the CAN controller.

Correct. There is some acknowledgement/error check story going on in the ACK slot of the frame. You should get CAN error IRQs if there is no recipent. Haven't tested it.
by ThomasB
Fri Jul 21, 2017 10:33 am
Forum: Report Bugs
Topic: Win 10 make error liblto_plugin-0.dll
Replies: 2
Views: 8092

Win 10 make error liblto_plugin-0.dll

Hi, I tried to install the toolchain and IDF on a Win10 machine. esp32_win32_msys2_environment_and_toolchain-20170330 ESP-IDF fresh download (21.07.2017) set ESP-IDF path in msys (Works fine on my Win 7 machine) downloaded the hello world example changed serial port in menuconfig make from msys AR l...
by ThomasB
Thu Jun 15, 2017 9:10 pm
Forum: Hardware
Topic: About the CAN controller.
Replies: 175
Views: 303163

Re: About the CAN controller.

cool 8-)