teensy 4.0

Status
Not open for further replies.

jtorre

New member
Hi all.
I the FrequencyTimer2 library in one of my projects with Teensy3.6. I need to generate interrupts at a frequency of 1 or 2Mhz.

I'd like to try the new Teensy 4 in my project but the library doesn't compile. The problem seems to be that in teensy\avr\cores\ teensy4 there are many #defines of processor records that change.
For example, the variable F_BUS seems to have been replaced by F_BUS_ACTUAL and records such as CMT_CMD3, CMT_PPS, CMT_MSC specific to Kinetix etc. are missing.

I would like to port the library to Teensy 4, could someone guide me in equivalences between the Kinetix and arm registers?

Thanks in advance.
 
Status
Not open for further replies.
Back
Top