Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Many thanks Pommie. I already use a global variable to keep the code inside the while clause running unless the switch is pressed, and by checking the flag again I realised that part was correctly done, but a few lines later I could see that my error was that I entered the while clause without...
Hi all,
I have a project in Code Compose Studio coded in C language that, among other things, triggers an interrupt when a switch is released. The interrupts are configured and work properly except in one case, when the code is inside a while loop that would end when a button is released after...
Hi again,
Thank you Pommie and Ian for the links provided. In this case the one provided by Pommie had the key to my answer, so many thanks for it. For what I could see, my problem was that I wasn't reading correctly the information in offset 12 (here it says if either the basename or the...
Hi Ian,
I am developing my own library for the Tiva C (TM4C123GH6PM to be more concrete) in Code Composer Studio to be used in future projects and I could find very useful information at https://www.pjrc.com/tech/8051/ide/fat32.html about how FAT32 works and how to read the short filename, but...
Hi all,
I am reading an SD card formatted with FAT32 and I am able to read the short name (the 8 bytes + the 3 bytes for the extension, all characters in capital letters) of the file or even the long name when there are at least two sequences. Nevertheless, I am not able to read the filename...
Yes, I can use an Arduino Uno. Anyway, I just found the error and it is kind of funny. I have the I2C device connected through prototype cables and a very small PCB with a ZIF to SMD connector and by chance I pressed a cable end and it just started to work.
Here is the code with the comments...
Hi Mike,
Thanks for asking, that reminds me I forgot to add that information to my first post. About your question, I can tell that the lines for both I2C connections have pullup resistors with the correct values as they came integrated with the touch display I bought.
Regards,
Javier
Hi all,
I am asking for your help because I am trying to send several bytes using the I2C protocol in a program wich makes use of 2 I2C modules, and looks that it gets stuck after sending the first byte when checking the BUSY bit in I2CMCS. The board I am programming is the TM4C123GH6PM.
Here...
Hi again DrG,
You were right. After some further research I realised that I was confusing the optional touch interface with another one, which code example appears in the RA8875 datasheet.
Thanks,
Javier
Hi DrG,
I read the code examples and the datasheet part but for what you show here looks like I missed that address (I found the ones to read and write commands or data, but not for the touch interface).
I will try with that address and see if it works.
Thanks,
Javier
Hi all,
I am programming a 5 inch display bought in buydisplay (https://www.buydisplay.com/5-inch-tft-lcd-module-800x480-display-controller-i2c-serial-spi) which has a RA8875 chip and a capacitive touch panel (both use the I2C protocol), and even though I have been able to write text for...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.