??? 08/04/10 18:32 Read: times |
#177667 - sequence Responding to: ???'s previous message |
Richard Erlacher said:
However, I would expect them to be able to tell me about the sequence in which they'd recommend a particular setup should occur The sequence for setting up the particular peripherals is actually documented in the data sheets. It's not given in any language. They just say, "Set register FOO to BAR." In cases where order of operation matters, like when you update a DAC output, the data sheet is explicit. It really isn't very hard. (What's hard is the non-obvious stuff, like on the parts with two UARTS: enabling UART0 also automatically sets the TX output to push-pull and the RX input to open-drain, but to use UART1, you must explicitly set the magic bits that set TX to output and RX to input.) and I'd expect it to be in 805x code, as they claim their parts are 805x compatible, and not in 'C', Pascal, or Basic. By "805x code," you must mean the only thing that really qualifies: a list of opcodes and data bytes, in hexadecimal or binary. Because, as the others have said (over and over again), different assemblers have different syntaxes. Just specifying: "Write these registers in this order" should be enough for a professional microcontroller engineer to sort things out in short order. -a |