I ran that and got the same result. Changed the pins to 23, 22 and 21 and got the same result.
So now I am rather confused, however, can agree that the Arduino function seems to work OK.
With regards to why I used pins 23, 22 and 21 on the...
Thank you for having a look anyway.
The two dimensional arrays was my way of trying to make sense of the Teensy pin to GPIO bits mapping. The below concentrates on just 3 pins which I set 1) output high, 2) output low and 3) input_pullup to...
No worries. I am grateful for your reply. In answer to your question, yes I have searched with Google which I usually do before asking on a forum. I also found the list of registers and their descriptions in the 1062 manual which has provided...
Thank you. Tried it. Same result unfortunately.
You have a point about input and I may need to review the premise of what I am trying to do. On Arduino AVR a digitalRead() will return a '1' for an output that is set, a pull-up being set as well...
I have been doing some experiments reading Teensy registers on the Teensy 4.1 and I am a bit puzzled by the results. I a setting 8 pins simmultaneously as an 8-bit bus. If I set the pins outputs and set a value and then read back the DR register...
Yes, there could potentially be more than one device sitting on the bus. As it happens, I had been considering deploying a level shifter. At this stage everything is on a breadboard. I agree, whether its the ESP32, Pico and the Teensy, all these...
Ok, I am no longer sure that reversing the position of the MCU and bus was the correct thing to do.
Earlier when I Googled I came across a reference that appeared to confirm @jamrsh had said, but I have since found references that say the exact...
Its 3.2V when Teensy is driving it high which should be adequate. Further testing shows that the SN75160 is working fine. When TE is low then the external D pin states change in line with the state change of the Teensy pins. I also tried the...
Thank you. The aim is to have the Teensy isolated from direct connection to the GPIB bus. The GPIB I/O side is currently connected directly to the GPIB bus (with the instrument at the other end) and the Teensy is on the terminal side. I take your...
Can anyone confirm whether it is possible to drive SN7516x buffer ICs using a Teensy?
I seem to be having difficulty driving the TE (Transmit Enable) pin from a Teensy GPIO - tried pins 2 and 3. I see the GPIO going up and down for high and low...
Thank you.
So I can see from the iMX RT1060 manual that by setting all bits to 1 in each register, this selects the fast GPIO for each shared pair.
I actually discovered this through trial and error yesterday as I had my code written for GPIO1...
I needed time to get other priorities sorted but started looking at this again yesterday.
I have a read of the excellent post by @miciwan information here yesterday and slowly some things are beginning to make sense.
@Chris O, I also had a...