Any general discussion around the firmware, what is does, how it does it etc.
By zed656
#58269
Hi, I'm tinkering with a Teensy 4.1 on a breadbord.
I've loaded the firmware with Speedyloader, no problem.
The problem I have is that I don't seem to get the PWM on either IDLE, VVT, BOOST to work.
I'm looking on my oscilloscope but the output seems to go from low straight up to high when I adjust the PWM cranking IDLE.
Maybe that isn't implemented yet on the 4.1 board?
By zed656
#58290
I've found this in board_teensy41.ino.
Could it be that the PIT timers aren't configured yet?
I'm no programmer so bare with me :D

* Timers
*/
//Uses the PIT timer channel 4 on Teensy 4.1.
//lowResTimer.begin(oneMSInterval, 1000);
PIT_TCTRL3 = 0;
PIT_TCTRL3 |= PIT_TCTRL_TIE; // enable Timer 2 interrupts
PIT_TCTRL3 |= PIT_TCTRL_TEN; // start Timer 2
PIT_LDVAL3 = 500; //500 * 2uS = 1ms

//TODO: Configure timers here

/*
By NickZ
#58621
the firmware isn't completed for teensy 4.1.
There has been talk and i thing some progress on the Slack channel in regards to what your asking.

Will this have an updated version about this featu[…]

See my earlier post . The Base Tune sets t[…]

Vr Conditioner Noise when cranking

I did the fix, but it's not work. I put my setti[…]

Perhaps some different points and pictures. Instr[…]

Still can't find what you're looking for?