IO port HIGH, LOW control not working
IO port HIGH, LOW control not working
Hi,
I tried to control IO pins P60 and P61 of R5F10268 20-pin MCU using the functions
P6_bit.no0 = 1;
P6_bit.no1 = 0;
I they are in actual not working. Both the pins are configured as Output in code generator.
Using 4.9.2.201801-GNURL78 to build on e2 studio 6.2.0
Hello,
Our technical support is limited to the toolchains that we develop and their integration in the e2 Studio environment, as well as specific e2 Studio functionality tied to these toolchains. The code generator, part of e2 Studio, is developed and maintained by Renesas, and you may find more information about this on the Renesas Rulz forum at https://renesasrulz.com.
We may however check if this is a compiler issue, assuming we receive some more information from you please. We would need the *.lst file of the source file in which you try to set the mentioned pin. Once we have the LST file (which you may find in the path <project_folder>/HardwareDebug), we can check if the correct assembly opcodes are generated to control the pin, and confirm whether this is a toolchain-related issue or not.
Please, therefore, copy/paste the relevant part from the LST file, where this bit is being toggled.
–
Thank you,
The GNU Tools Team