Posted on May 17, 2011 at 15:15Hello;I'm trying to communicate to an external flash memory (M25PE80) using SPI. I´m using the STM8SPI librarie but I´m not having success to write/read from memory. My doubt is about the configuration of pins. Are t...
Posted on May 23, 2011 at 16:11Hello Nico, yes I've tried these commands too. I discover the problem: For some way the compiler wasn't creating the local variable used for reading the pin or port. So using a global variable it worked. In your case, ...
Posted on May 23, 2011 at 14:11Hello Nico;Yes, as an output pin you could use the GPIOE5 pin, but considering that in SPI communication you can select as many devices as many chip select pins you have, you could config any I/O pin for this function ...
Posted on May 23, 2011 at 04:56I'm testing the Input pins too. But when I tried to put the register value into a variable it shows me 0x00. In your example, setting the pin as input Pull Up and without anything connected at pin, I try to use the fol...