-
Hello, I found a core (sduino) that works with the basic parts, but I2C for example I can't implement the reading, even following the example code to pull the registers provided by ST in the AN3281: I found some boards with STM8 for sale, it might be interesting to have support for this uC. The I2C part is not completely autonomous and needs the CPU to handle the operations, even the example code adds a "dead time" to wait for the register to be updated. (AN3281/Project/STM8S/STM8S_I2C_Master_poll/src/i2c_master_poll.c). There is also example code with interrupt, but it is not implemented in this core sduino apart from I2C, others such as External Interrupt and some Timers already are, but the project seems abandoned, 2 years without updates. I found this example code, that makes use of interrupt, for Netduino: |
Beta Was this translation helpful? Give feedback.
I'm going to try the Wire library available in the sduino repository, a person informed me of the existence of this library that I had not found:
https://github.com/tenbaht/sduino/tree/development/sduino/stm8/libraries/Wire