Posted on July 20, 2010 at 07:08Here is a FORTH interpreter-compiler for Discovery Board. It is in the form of an assembly file stm8ef.asm. You can assemble it on STVD and download it to Discovery. You need a UART connection to Hyperterminal on P...
Posted on July 19, 2010 at 07:10Hello, I was wondering about the UART2 baudrate divider of $70 in my prior experiment. It should be $682 for the 16 MHz clock. It turns out that STM6S boots up with the internal 2 MHz clock. The external clock has ...
Posted on July 18, 2010 at 01:23Icarus, I tried these init code on Discovery. They worked. However, I past only assembly code. You can write them in C. MOV PD_DDR,#$1 ; LED, SWIM MOV PD_CR1,#$3 ; pullups MOV ...
Posted on July 16, 2010 at 07:13Grom, May I have a copy of your UART2-temperature sensing code? I got HyperTerminal project working, but could not bring up UART2 on my own. I configured UART2 exactly as in HyperTerminal project, but UART2 would no...