Right now, it looks like Pin 31 of P1 can be configured as "Programmable Clock Channel 0 Output (PCK0)". However anything past this, such as setting its write-enable or accessing its functionality in any high-level documentation or example programs, is unavailable as far as I can tell. I would LIKE to access the programmable clock module or the power management controller (PMC) referenced in Chapter 31 of the SAM E70/S70/V70/V71 datasheet, so that I can assign the master clock (PMC_MCKR, chapter 31.20.11) to this pin (PA6 Peripheral B).
Currently, though, I've tracked down a macro:
Code: Select all
#define PIO_PA6B_PCK0
Code: Select all
arch\cortex-m7\cpu\same70\include\component\pmc.h
Does anyone have any insight on this? Is this even possible? The MODM7AE70 doesn't seem to have documentation or good examples on using the sim library like Coldfire had, so direct access to these low level CPU registers has been mildly frustrating. Besides that, I remember digging into the ARM Cortex system library a few years ago when the RTC module and periodic interrupts were not yet implemented, and it was a huge pita, and something which I eventually gave up on.
Thanks!