Hi everyone, this is my first time on this forum. I'm an engineering student with some knowledge of programming, and Arduino related stuff.
I've been using my teensy 4.1 without any problem until I made an error in connecting it to a SPI sensor. I inadvertently shifted all the connections for the SPI0 one pin towards the usb connector :
teensy pin <===> sensor pin (it is an ism330dlc breakout board from Adafruit)
24 <===> I2
3.3V <===> I1
12 <===> VIN
11 <===> DO(miso)
10 <===> SDA(mosi)
9 <===> CS
SCK <===> GND
14 <===> SCK
now i don't know if the sensor works (i'm getting no readings, but i haven't tried it extensively), but i'm getting a weird behaviour from the teensy.
What happens is that I struggle to load any new program to it, sometimes i have to push down the button on the board and press upload on the Arduino IDE several times to make it work (before it worked flawlessly in auto mode) and Serial communication sometimes works and other times it doesn't . The "HelloSerialMonitor" example in examples/teensy/tutorial3 works, but when i load my program i get no output on the serial monitor and get an "Unable to open COM3 for reboot request. Windows Error Info: Accesso negato." error from the ide. The same exact program on my teensy 3.5 prints a list of zeros on the serial monitor ( the sensor reading doesn't work but a list the serial communication does).
I've already tried pressing the onboard button for 15 seconds and it restored the basic blink sketch, then it let me upload a program without needing the press of the button and then stopped working again.
Any ideas on how to solve this mess i made?
Thanks, Leonardo
Also please bear with my english, I'm not a native speaker
I've been using my teensy 4.1 without any problem until I made an error in connecting it to a SPI sensor. I inadvertently shifted all the connections for the SPI0 one pin towards the usb connector :
teensy pin <===> sensor pin (it is an ism330dlc breakout board from Adafruit)
24 <===> I2
3.3V <===> I1
12 <===> VIN
11 <===> DO(miso)
10 <===> SDA(mosi)
9 <===> CS
SCK <===> GND
14 <===> SCK
now i don't know if the sensor works (i'm getting no readings, but i haven't tried it extensively), but i'm getting a weird behaviour from the teensy.
What happens is that I struggle to load any new program to it, sometimes i have to push down the button on the board and press upload on the Arduino IDE several times to make it work (before it worked flawlessly in auto mode) and Serial communication sometimes works and other times it doesn't . The "HelloSerialMonitor" example in examples/teensy/tutorial3 works, but when i load my program i get no output on the serial monitor and get an "Unable to open COM3 for reboot request. Windows Error Info: Accesso negato." error from the ide. The same exact program on my teensy 3.5 prints a list of zeros on the serial monitor ( the sensor reading doesn't work but a list the serial communication does).
I've already tried pressing the onboard button for 15 seconds and it restored the basic blink sketch, then it let me upload a program without needing the press of the button and then stopped working again.
Any ideas on how to solve this mess i made?
Thanks, Leonardo
Also please bear with my english, I'm not a native speaker