Skip to content

MCP_CAN on ESP8266 NodeMCU - SPI not correct? #13

Description

@mega-hz

Hello,

on an Arduino Uno i succesfully realized a MCP2515 Shield running perfectly.
Now i am using a ESP8266 with the following SPI Devices:
1x IL9341 TFT, 1x 74HC595 Expander (4x74HC595) and an MCP2515 CAN BUS Shield.

TFT is working fine, also the 74HC595's , the MCP2515 works fine also,
BUT: There is a problem using the 74HC595 AND the MCP2515 together!
If i don't use the MCP, the 74HC595 are working fine, if the MCP2515 is also running, there are always flickering (on the output-LEDs) of the 74HC595!
I can fix it with using spi.begin and spi.end in the 74HC595 Part, but then the MCP is not working anymore!
Is there something missing initializing the SPI on the MCP_CAN Library?
It would be the right way for a spi-device to begin and end, but the mcp_can seems not to do so!

Please can you help me?

regards,
Wolfram.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions