Forum : ST7/STM8
Post Information | Post |
---|---|
July 9, 2012 - 4:21pm
|
Support Forum - the last post was truncated for some reason - this is a repost In the code we are calling printf and have updated putchar to take each character and transfer it to an array. We have placed a port hi low transition in putchar to see how fast printf calls this code - the execution time A simple test was run Printf is calling putchar at a rate of 150us per character. Executing the above printf line requires over 2ms. This has nothing to do with the data transmit from the serial port - this is just a function of printf printing a string of 10 characters to an array should not require 2ms Any suggestions or thoughts as to why this is slow (Also) |
Hi,
Your understanding of the manual is correct.
We did not manage to reproduce your problem. To help you more we will need more information...
What is the version of your software? (Ride and RKit-STM8)
What is the complete name of your target CPU?
Can you send us (support@raisonance.com) an example project showing the problem?
Precompiled if possible.
Best Regards,
Vincent