Search found 2 matches

by piratejon
Mon Aug 27, 2018 12:57 am
Forum: ESP-IDF
Topic: LEDC unable to attain 100% duty at 120Hz; no pulse at 60Hz?
Replies: 1
Views: 2621

LEDC unable to attain 100% duty at 120Hz; no pulse at 60Hz?

I have generated a LEDC PWM output at 120Hz and faded between 0 and 1 * (1 << LEDC_TIMER_19_BIT). During the fade period a separate task polled ledc_get_duty() and reported values that basically made sense. However on the oscilliscope it seemed the pulse grew from zero to around 2/3rds, instead of a...
by piratejon
Sun Jun 03, 2018 5:14 am
Forum: Hardware
Topic: About the CAN controller.
Replies: 175
Views: 311331

Re: About the CAN controller.

I find that the CAN data obtained from Thomas Barth + Rudi's ESP32 CAN driver (used with ESP32 and MCP2515) has reverse byte order as compared to those obtained by this library https://github.com/sparkfun/SparkFun_CAN-Bus_Arduino_Library/ (used with SparkFun CAN Shield based on MCP2515 and MCP2551)....