Page 1 of 1

SPI MOSI Voltage Level and No gap between bytes

Posted: Thu May 26, 2022 11:49 pm
by Cd4768gg
Hello,

I am sending out FF FF FF
but there is no gap between the 3 bytes
and the voltage level of MOSI is only about 1.5V compared to the chip select and clock ~3.3V
(ref attached ESP.png)
Chip Select Yellow, Clock Blue, MOSI Pink

How do I get the MOSI level to be around 3.3V
How did I insert a gap between the bytes, for example the aardvark SPI host adapter I have looks to put a byte of no clock and no MOSI between bytes (ref attached Aardvark.jpg)

Thank you
Chris

Re: SPI MOSI Voltage Level and No gap between bytes

Posted: Thu May 26, 2022 11:52 pm
by Cd4768gg
sorry, I attached the wrong ESP image, please disregard the ESP.png in the original post and reference the attached ESP2.png

Re: SPI MOSI Voltage Level and No gap between bytes

Posted: Thu May 26, 2022 11:53 pm
by Cd4768gg
also the aardvark is sending AA AA instead of FF FF FF

Re: SPI MOSI Voltage Level and No gap between bytes

Posted: Fri May 27, 2022 12:46 am
by ESP_Sprite
SPI doesn't have a concept of bytes; there's no reason why the ESP would not send it out as one continuous stream, and unless you have a very odd device on the other side of the bus, it should not require a delay between each 8 SPI clock cycles.

Wrt the 1.8V MOSI: What hardware are you using (in case of a module: what module specifically) and what GPIOs do you use for the SPI bus? Could be that you have a module that uses an 1.8V flash; that also affects some other GPIOs (if memory serves, at least GPIO16 and 17)