Pi 2 SPI MOSI outputting < 0.5v - Raspberry Pi Forums
i'm working on developing c# mono class library drive st7735r screen without using framebuffer kernel driver. working perfectly, stopped working broke out oscilloscope check going down spi interface. imagine amazement when see mosi outputting right data @ wrong voltage - below 0.5v rather 3.3v.
if drive mosi pin gpio, outputs 3.3v no problem @ all. mystifying me, since thought @ base level, pin bitbanged spi driver can't see why happen. i'm accessing gpio , spi subsystems using wrappers bcm2835 c library , have had gpio, spi , i2c working different devices , i've not changed hardware-related code.
there bizarre pull-down configuration pin being mismanaged somewhere causing problem? spi clock pin still reading solid 3.3v both in spi , gpio configurations. i'm not using 5v anywhere in hardware can't see have accidentally passed 5v down mosi pin in error, , if had caused damage of type, wouldn't see bad output in gpio mode?
[edit] way, on stock pi 2 running raspian (noobs current version) newest firmware. [/edit]
suggestions gratefully received!
thanks,
mike
if drive mosi pin gpio, outputs 3.3v no problem @ all. mystifying me, since thought @ base level, pin bitbanged spi driver can't see why happen. i'm accessing gpio , spi subsystems using wrappers bcm2835 c library , have had gpio, spi , i2c working different devices , i've not changed hardware-related code.
there bizarre pull-down configuration pin being mismanaged somewhere causing problem? spi clock pin still reading solid 3.3v both in spi , gpio configurations. i'm not using 5v anywhere in hardware can't see have accidentally passed 5v down mosi pin in error, , if had caused damage of type, wouldn't see bad output in gpio mode?
[edit] way, on stock pi 2 running raspian (noobs current version) newest firmware. [/edit]
suggestions gratefully received!
thanks,
mike
just know i'm not going crazy, here 2 screencaps oscilloscope...one mosi , spiclk pins driven high , low gpio pins, , other of spi data being sent using bcm2835 functions wrapped in c#.
raspberrypi
Comments
Post a Comment