Trying to get the UART working on some code I'm porting from SAM7 to SAM3, and I spotted something odd in the data sheet. In Section 11.1 of the data sheet, it says the PID of the UART is 8.
In Section 34.3.2 it says "... the programmer must first configure the PMC to enable the UART clock. Usually, the peripheral identifier used for this purpose is 1."
Can anyone tell me if this is just a typo, or do I really have to set bit 1 in REG_PMC_PCER? And what do they mean by usually?
(My code doesn't work yet either way, so something else must be wrong, but that's a different question. My question here is just about the clock.)
Discussion around product based on ARM Cortex M3 core.
3 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 3 guests