Code: Select all
CAN_device_t CAN_cfg = {
.speed=CAN_SPEED_500KBPS, // CAN Node baudrade
.tx_pin_id = GPIO_NUM_13, // CAN TX pin
.rx_pin_id = GPIO_NUM_14, // CAN RX pin
.rx_queue=NULL, // FreeRTOS queue for RX frames
};
Code: Select all
CAN_device_t CAN_cfg = {
.speed=CAN_SPEED_500KBPS, // CAN Node baudrade
.tx_pin_id = GPIO_NUM_13, // CAN TX pin
.rx_pin_id = GPIO_NUM_14, // CAN RX pin
.rx_queue=NULL, // FreeRTOS queue for RX frames
};
I don't think that's it. As I said, I set it up to use the esp-idf as Rudy described in his response to you on page 7. I am able to turn on the CAN module, set the pins and the speed all from the menuconfig. So that part seems to be working right. And I have the two includes:jcsbanks wrote:I think you are missing what I put in the post above yours?
Users browsing this forum: No registered users and 52 guests