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 anybody confirm AT90 devices are working? #14

Open
erazor83 opened this issue May 15, 2018 · 7 comments
Open

Can anybody confirm AT90 devices are working? #14

erazor83 opened this issue May 15, 2018 · 7 comments

Comments

@erazor83
Copy link

I'm playing with this lib for some months now and I also did some projects in the past. Everything worked but I was using the MCP.
Today I tried it with an AT90CAN128 but somehow RX does not work.

I think the hardware is ok, and TX works too.

Any ideas?

@jh-elec
Copy link

jh-elec commented Jan 4, 2019

Konntest du das Problem schon in den Griff bekommen?
Bei mir war es genau so. Ich habe noch ein bisschen was an der Initalisierung geschraubt. Habe bei der alten nirgendes gesehen, dass ein MOB auf Empfangen konfiguriert wurde.

@dnrelectronica
Copy link

Hallo @jh-elec ,

I have the same issue here.. TX is working fine (after enabling global interrupts in main loop ;) ) . RX is not working at all. in my while(1) loop i call the function: can_check_message(), if it returns true, then i try to get the message with can_get_message(), but i don't receive anything! I know i am sending data from PC to atmel, since the led on my Lawicel CANUSB device is blinking every time i send a message. Do i need to change some of the library code? Configure some MOB's to receive? Actually i don't know what these MOB's do, but please can you help me out of this issue?

Kind Regards,
Corné

@erazor83
Copy link
Author

erazor83 commented Jul 1, 2019

Sorry for the late response.

Avr-can-lib took to much space for me and I decided to write my own lib for using it as CiA (CanOpen) node.

I'm pretty far already, everything works, CanOpen is fully implemented in my AVR now and I even implemented a bootloader.

I'll use it for my home automation. Light switches and so on. So sorry so far, I stopped using this library.

@dnrelectronica
Copy link

Hi Erazor83,

Thank you for the quick reply. Are you prepared to share the libary with me? Im also interested in the CAN bootloader, so i can do firmware upgrades over CAN. very nice!

Please let me know.

Corné

@flothi
Copy link

flothi commented Oct 10, 2019

@erazor83 den Wünschen schließe ich mich an

@erazor83
Copy link
Author

I'll setup some kind of project-page at the end of this year. I'm still extending the lib, wrote some code-generators and am currently developing some hardware-modules.

@erazor83
Copy link
Author

FYI: https://hackaday.io/project/167966-avrcia

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

4 participants