Stef and all,
Thanks for this. I've found it very useful.
One thing, in 'Why the Propeller works", in response to the comment that there was no data sheet, there are 2 links to the data sheet. However, they both lead to '404-Not Found'. I'd recommend that the links be updated to the new location of the data sheet.
Ok I'm trying to get minimum current draw for battery operation this gives me a new question.
CLKSET on page 183 sample matches table 4-4 on page 181, so I used 001 for RCSLOW.
Constants (pre-defined) on page 202 gives RCSLOW as $...002. Which one is correct?
CLKSET on page 183 sample matches table 4-4 on page 181, so I used 001 for RCSLOW.
Constants (pre-defined) on page 202 gives RCSLOW as $...002. Which one is correct?
The constant itself is 2, the %001 you're seeing in the table is the clock selector value used when RCSLOW is chosen. Think about it, PLL16X is defined as $400 which wouldn't fit into the clkmode byte. IOW there is no 1:1 relationship.
Comments
Thanks for this. I've found it very useful.
One thing, in 'Why the Propeller works", in response to the comment that there was no data sheet, there are 2 links to the data sheet. However, they both lead to '404-Not Found'. I'd recommend that the links be updated to the new location of the data sheet.
Thanks again,
Tom
CLKSET on page 183 sample matches table 4-4 on page 181, so I used 001 for RCSLOW.
Constants (pre-defined) on page 202 gives RCSLOW as $...002. Which one is correct?