Hi,
First post here, hopefully it would be a simple answer.
I am using a teensy 3.2 for a digital dashboard in a car. I am using the Flexcan library to interface CANbus with the car.
I am also using freqmeasuremulti library to read a PWM signal from an ethanol sensor.
If I run a sketch with only freqmeasuremulti and output the result on the serial console, the frequency measured is working properly.
If I run a sketch with only Flexcan, I can read/write CAN message and operation is perfectly normal.
When I have a sketch with both libraries (and associated code) running together, the freqmeasuremulti is outputing garbage measurements. CANbus seems to continue to be operating normally.
I have stripped down the code to have the minimum code excecuting, I am also doing next to nothing in the interupt to avoid stalling the rest.
I suspect the both might be using the same timer. Do I am on the right track as a potential issue?
I am not posting code yet because it might be something obvious that I missed.
thanks for any clue
First post here, hopefully it would be a simple answer.
I am using a teensy 3.2 for a digital dashboard in a car. I am using the Flexcan library to interface CANbus with the car.
I am also using freqmeasuremulti library to read a PWM signal from an ethanol sensor.
If I run a sketch with only freqmeasuremulti and output the result on the serial console, the frequency measured is working properly.
If I run a sketch with only Flexcan, I can read/write CAN message and operation is perfectly normal.
When I have a sketch with both libraries (and associated code) running together, the freqmeasuremulti is outputing garbage measurements. CANbus seems to continue to be operating normally.
I have stripped down the code to have the minimum code excecuting, I am also doing next to nothing in the interupt to avoid stalling the rest.
I suspect the both might be using the same timer. Do I am on the right track as a potential issue?
I am not posting code yet because it might be something obvious that I missed.
thanks for any clue