Hello,
I am finding the pin mapping of the Due to be very confusing since many functions are multiplexed on to each line. For example, I want to see the output of TIOA2 on an oscilloscope. I look at Page 858 on the ATMEL Sam3x-Sam3a datasheet and see that it is the PA5 I/O Line. Now I don't see it on this pin mapping.. I would assume this means that for this output to be seen on the scope it has to be mapped to another digital I/O pin?
If someone could explain with an example how to read the datasheet's "I/O Line" column and correspond it with the Due's pins.
PA05 doesn't seem to be connected to anything on a Due, so the pin mapping you looked at is correct. So your general process for doing the mapping is correct, and would work if the pin was actually implemented.
I don't see any other pin mapping alternatives for TIOA2. It may not be usable on a Due.
Hi @westfw , so that implies that some registers, although can be used internally, cannot be viewed directly on an oscilloscope? If I needed to check the value it is storing or like wanted to check if something was implemented correctly, I'd have to make another event (analogous to a flag used to check if-else clauses, etc.)?
You make it sound like a property of the chip. In this case, it's the result of a design decision making the BOARD. You could view the pin on an oscilloscope just fine, provided you can figure out how to attach your probe to that itty-bitty highlighted SMT pad, 0.2mm from the pads on either side of it...
(There are Scope Accessories designed to allow you to do that sort of thing, but they tend to require a deep wallet and a significant amount of practice.)