Hi there,
My development environment consists of a AT90CAN128 and the driver MCP2551 with 16MHz.
In Flowcode V6 (6.0.10) Professionally, I have the CAN bus is set to Internal 1 and 125kbit. The port for CANTx and CANRx are set correctly.
My program is as follows:
- begin
- CAN Initialize
- Loop start
- SetTxData (0, 8, 11, 22, 33, 44, 55, 66, 77, 88)
- SendBuffer(0)
- Wait 1s
- End of loop
- end
However, no data are available on my terminal on the PC.
If I program the whole thing with Atmel Studio 6.1 or Bascom, I receive the data sent on my PC.
What am I doing wrong? How can I bring my board to be placed under Flowcode 6 to send data via the CAN bus?
Thanks for the help.
------
Hallo,
meine Entwicklungsumgebung besteht aus einem AT90CAN128 und dem Treiber MCP2551 mit 16MHz.
In Flowcode V6 (6.0.10) Professionell, habe ich den CAN-Bus auf Internal 1 und 125KBIT eingestellt. Der Port für CANTx und CANRx sind richtig festgelegt.
Mein Programm besteht folgendermaßen:
- Start
- CAN Initialize
- Schleife Anfang
- SetTxData (0, 8, 11, 22, 33, 44, 55, 66, 77, 88)
- SendBuffer(0)
- Wait 1s
- Schleife Ende
Auf meinem Terminal am PC kommen jedoch keine Daten an.
Wenn ich das ganze mit Atmel Studio 6.1 oder Bascom programmiere, empfange ich die gesendeten Daten auf meinem PC.
Was mache ich falsch? Wie kann ich mein Board dazu bringen, unter Flowcode 6, Daten über den CAN bus zu senden?
Vielen Dank für die Hilfe.
AVR AT90CAN128 with MCP2551 and Internal CAN
For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 6.
Moderator: Benj
Jump to
- Announcements
- ↳ Announcements
- The Knowledge Exchange
- ↳ Programming Tips & Tricks
- ↳ Freelance Embedded Engineers
- ↳ Article Discussion
- Microcontroller Programming
- ↳ General Programming
- ↳ Flowcode V9
- ↳ Flowcode V8
- ↳ Feature Requests
- ↳ Bug Reports
- ↳ User Components
- ↳ Flowcode V7
- ↳ User Components
- ↳ Feature requests
- ↳ Bug reports
- ↳ Fixed bugs
- ↳ 8-Bit PIC
- ↳ 16-Bit PIC
- ↳ 32-Bit PIC
- ↳ AVR & Arduino
- ↳ 32-Bit ARM
- ↳ Poll Discussion
- ↳ Flowcode V6
- ↳ Flowcode v6 Beta
- ↳ Bug reports
- ↳ Getting Started
- ↳ User Components
- ↳ Feature requests
- ↳ Bug reports
- ↳ Flowcode V5
- ↳ Flowcode V5 Issues
- ↳ Flowcode V5 Suggestions
- ↳ Flowcode V5 Free Edition
- ↳ Flowcode V4
- ↳ Flowcode 4 Bugs
- ↳ Flowcode 4 Suggestions
- ↳ Flowcode V2 & V3
- ↳ General / Misc
- ↳ Components (Comms)
- ↳ Components (Other)
- ↳ Bugs / Application Errors
- ↳ Suggestions
- ↳ BTEC Unit 6
- ↳ C and ASM Programming
- ↳ E-blocks
- ↳ Formula AllCode
- ↳ Formula Flowcode
- ↳ MIAC
- Language Support Forums
- ↳ Deutsch Support-Forum
- ↳ Forums d'aide en français
- ↳ Foro de soporte español
- Other Matrix products
- ↳ Electronics products
- ↳ Matrix Online Courses
- ↳ Other products
- ↳ CoCo
- Hidden