mjs513
Senior Member+
@defragster - incorporated the the PR this morning over coffee Very cool that it seems to all be working.
@KurtE - made a change to the stopReadDMA - saw on stop it had GPR27 for TMM and GPR26 for T4's but in the startReadDMA didn't have the #ifdef so I added this:
Not sure its right.
@KurtE - made a change to the stopReadDMA - saw on stop it had GPR27 for TMM and GPR26 for T4's but in the startReadDMA didn't have the #ifdef so I added this:
Code:
#if defined (ARDUINO_TEENSY_MICROMOD)
// Need to switch the IO pins back to GPI1 from GPIO6
_save_IOMUXC_GPR_GPR27 = IOMUXC_GPR_GPR27; // save away the configuration before we change...
IOMUXC_GPR_GPR27 &= ~(0x0ff0u);
// lets also un map the _hrefPin to GPIO1
IOMUXC_GPR_GPR27 &= ~_hrefMask; //
#else
// Need to switch the IO pins back to GPI1 from GPIO6
_save_IOMUXC_GPR_GPR26 = IOMUXC_GPR_GPR26; // save away the configuration before we change...
IOMUXC_GPR_GPR26 &= ~(0x0ff0u);
// lets also un map the _hrefPin to GPIO1
IOMUXC_GPR_GPR26 &= ~_hrefMask; //
#endif
// Need to switch the IO pins back to GPI1 from GPIO6
//_save_IOMUXC_GPR_GPR27 = IOMUXC_GPR_GPR27; // save away the configuration before we change...
//IOMUXC_GPR_GPR27 &= ~(0x0ff0u);
// lets also un map the _hrefPin to GPIO1
//IOMUXC_GPR_GPR27 &= ~_hrefMask; //
Last edited: