Comments (11)
hi sehraf,
there was a wrong input source set for the rx pin. I fixed it within #53.
BR
Moritz
from xmc-for-arduino.
There is something else wrong as I have just copied your code and tried it and works using setup
XMC1100 Boot Kit
Arduino IDE V1.85
XMC-for-Arduino V1.1.0
WinXP host (32 bit)
Standard serial Debug setup (menu item "Tools -> Serial Output Selection : PC")
I see continual 'b' written to serial output until a character is sent to the board then continual 'a'
Also using one of my standard test functions testdefines in
.. ..../Arduino15\packages\Infineon\hardware\arm\1.1.0\tests
What board are you using for Arduino pin of 14 or 15 ?
from xmc-for-arduino.
Also your code OK on XMC1300 Boot Kit
That is the extent of current boards I have here
from xmc-for-arduino.
Sorry forgot to mentioned that:
I'm using
- XMC2GO board (with XMC1100)
- Host is Linux x64 (Archlinux)
- Arduino IDE 1.8.5
Pin 14 and 15 are the two LEDs on the board.
from xmc-for-arduino.
At the moment I cannot see what is wrong as works fine on two boards I have here.
Hopefully someone with one of those boards can help you with confirming the error first then we can chase it down..
You might want to use built-in defines for LED pins on XMC2Go they are LED1 and LED2 to make code easier to read. For other info that might help see my wiki as well as one here
https://github.com/techpaul/XMC-for-Arduino/wiki
Normally when checking Serial.available I use
if( Serial.available( ) > 0 )
To avoid issues on some other manufacturers boards where their implementation returns a signed integer.
Other suggestion is to save Serial.available result to a variable and print it out as well
from xmc-for-arduino.
Thanks for the link. I wasn't aware of the defines 😉
I'll stick to XMC-for-Arduino V1.0.6 for the moment. Thanks for your help!
from xmc-for-arduino.
Dear sehraf,
Thank you very much for this report.
As my colleague Moritz could fix it, I will merge it and include it in the next release.
The next release will come shortly to fix the other issues as well.
If you need more help, please let us know.
@techpaul: Thank you very much for supporting here proactively
Have a nice weekend and best regards,
Manuel
from xmc-for-arduino.
You're welcome!
Thanks for the quick response and fix 👍
from xmc-for-arduino.
You're welcome, no problem!
Fixed in current branch 'master', please just copy pins_arduino.h for XMC 2Go and overwrite it locally to get the changes right now.
Let us know if you need more help.
I will close this issue, feel free to reopen it again if you face issues.
Thank you very much,
Manuel
from xmc-for-arduino.
It's working again!
from xmc-for-arduino.
Glad to hear that, puts hands up to say sorry it was one of my patches that caused that to fail on looking at changes.
Sorry for causing you hassles
from xmc-for-arduino.
Related Issues (20)
- a bug for chinese user HOT 10
- RS485 Modbus library throwing errors HOT 6
- Chose board to flash by port HOT 1
- Multiple definition of CCU40_0_IRQHandler HOT 1
- Poor voltage amplitude on RX pin HOT 4
- J-Link Debug HOT 1
- XMC Flasher not working HOT 4
- XMC2Go: Wire.begin() sends I2C start condition HOT 18
- XMC1100 ICSP Programmer HOT 1
- Can not connect xmc2go to arduino ide HOT 2
- Only SPI or I2C? HOT 1
- Defining SERIAL_ONBOARD raises error HOT 4
- onboard serial not working HOT 1
- Update xmc2go Wiki with onboard serial information HOT 4
- XMC1100 2GO I2C unresponsive
- map() definition conflicts with STL version
- Flashing failed: Failed to initialize BridJ error on MacOS HOT 2
- incorrect way to open application with python HOT 2
- Winreg required, not available on Linux HOT 2
- XMC1300 Boot Kit: Missing link for Arduino pinout HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xmc-for-arduino.