Re: Looking for a suitable SPI slave example/tutorial
Posted: Tue Dec 15, 2020 6:14 pm
Some news...
As at this time I can't understand a word of the STM32 SPI slave, I test with a Nano and the library TVOut. I get images, it seems reactive, but the images are garbled. I just filled the TVOut buffer directly with the SPI bus data, without knowing how it is organized (for example is it interlaced or whatever). But at least it is a proof of concept. Also, this library uses ports that are on PORTB, where SPI ports are...
Reading the sources from the links and the sources from Roger's Core, I can't figure how to deal with STM32 SPI.
I think it is not possible on a Nano, because the image I get on the terminal at the same time is also garbled. The library does port and clock manipulation. Or the lib manipulates the buffer ; and there's not enough memory for double buffering.
I've to move on : will be tested with another lib on a Mega or a Due.
[EDIT] : VGA libs for Arduino use the SPI shift registers ; at least for the 328 and 2560 -> dead end.
As at this time I can't understand a word of the STM32 SPI slave, I test with a Nano and the library TVOut. I get images, it seems reactive, but the images are garbled. I just filled the TVOut buffer directly with the SPI bus data, without knowing how it is organized (for example is it interlaced or whatever). But at least it is a proof of concept. Also, this library uses ports that are on PORTB, where SPI ports are...
Reading the sources from the links and the sources from Roger's Core, I can't figure how to deal with STM32 SPI.
I think it is not possible on a Nano, because the image I get on the terminal at the same time is also garbled. The library does port and clock manipulation. Or the lib manipulates the buffer ; and there's not enough memory for double buffering.
I've to move on : will be tested with another lib on a Mega or a Due.
[EDIT] : VGA libs for Arduino use the SPI shift registers ; at least for the 328 and 2560 -> dead end.