Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't seem to get a teensy 4.x working. #3

Open
rdhVt59 opened this issue Dec 29, 2022 · 4 comments
Open

Can't seem to get a teensy 4.x working. #3

rdhVt59 opened this issue Dec 29, 2022 · 4 comments

Comments

@rdhVt59
Copy link

rdhVt59 commented Dec 29, 2022

I've tried both teensy 4.0 and 4.1. removed all nmea libs, and downloaded the latest nmea& nmea_teensyx libs. breadboard setup w/ teensy and 2562 (first tried w/ sn65hvd232). All I get after the claim is 'PGN nnnn send failed'.

I've read your common hardware problems, and reviewed your docs (many times). I feel like i'm forgetting something really basic like a #define or something. I'm using your temp monitor example. pins are:
teensy<..............>mcp2562
pin 22...................pin 1 (TXD)
GND.....................pin 2 (VSS)
vin (5v).................pin 3 (VDD)
pin 23...................pin 4 (RXD)
3.3v......................pin 5 (VIO)
GND......................pin 8

Are the 100nF cap & 4.7k resistor required? (I'll try this while waiting for a response). Edit: tried this no difference...

Bye the way. Thanks for the libs!

@ttlappalainen
Copy link
Owner

As pointed many times 'PGN nnnn send failed' means that device can not communicate with the bus. As additional to "common hardware problems" you get that error if there is no other device on the bus.

I have above connection on my Teensy 4.0 test board and it works fine.

@rdhVt59
Copy link
Author

rdhVt59 commented Dec 30, 2022

Thx for the feedback. I have a nmea backbone w/ garmin chart plotter on my bench. There is only the 3 T's. One for power, one for the chartplotter, and one for the device. I have the device plugged in via a actisense panel connector https://www.imarineusa.com/ActisenseA2K-PMW-M.aspx. I should have mentioned that above, sorry.

I guess I just wanted to confirm that I was setup correctly and not missing a config setting. I'm guessing I must have fried the 2562 when soldering to breakout board. I'll give another one a try and post my results.

Thanks again...

@rdhVt59
Copy link
Author

rdhVt59 commented Dec 30, 2022

So, I tried a new 2562. Not any different. Finally clued in on your comment that it might be 'no other device...'. Then I realized I'd had never had that chartplotter on a real network on the boat (was a standalone plotter on a tender).

So, I disconnected the chartplotter and hooked up another teensy+SN65HVD232D and hooked up to the backbone. I ran your MessageSender on one, and hacked up the N2KtoN183 gateway. The gateway was spewing heading data when I powered up the Msg sender. So, I guess all this it was the one thing I was sure was ok!

Do you have an equivalent to the MessageSender? Like MessageReceiver?

Thanks for the help!

@rdhVt59
Copy link
Author

rdhVt59 commented Dec 30, 2022

nvm, I see DisplayData is close... I'll modify that... thx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants