Jump to content

skyrock123

Members
  • Content Count

    4
  • Joined

  • Last visited

Community Reputation

0 Neutral
  1. hello tinker experts, I'm having issues trying to use rtc in my tinker board, I want it to function so that i get the correct time & date even when I power on my device without any internet connection, now the issues I'm facing are when i connect the rtc module to the tinker board by connecting pin3 and pin5 to the corresponding pins and a cmos battery already connected to rtc module, im getting linaro@linaro-alip:/$ sudo i2cdetect -y 1 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: 50 51 52 53 -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- -- what does this mean and the thing i dont understand is even when i disconnect the rtc module and make sure there are no i2c connections are connected on board im getting linaro@linaro-alip:/$ sudo hwclock -r -f /dev/rtc0 2024-05-28 13:26:15.099234+05:30 my hardware config is ##### Hardware Interface Config ##### ## Note: fiq_debugger and uart3 use the same pin. Set fiq_debugger first while $ ## Note: uart4 and spi0 are the same pins. Set the latter one while both on. ## ## Note: uart2 is the same pins to pwm2 and pwm3. Set the latter one while both$ intf:fiq_debugger=on intf:i2c1=on intf:i2c4=on #intf:spi0=off #intf:spi2=off #intf:pwm2=off #intf:pwm3=off intf:pcm_i2s=on intf:uart1=on intf:uart2=on intf:uart3=on intf:uart4=on i dont understand why, i just want to get correct date and time between power on and offs even when there is no internet connection.. can some one guide me through the steps required to achieve this functionality
  2. Hello @tooz thank you for the reply, I already figured out the issue. It was in the hardware connection cable I have corrected it and now I'm able to do data transmission.
  3. Hello Tinker experts, I want your help regarding tinker board r2.0 about GPIO pins, let me explain what I'm trying to do I want to send and receive data through two tinker boards from the port ttyS1 with hardware flow control enabled both boards have same configuration of serial port ttyS1 and hardware flow is enabled but when I send data through a board using python import serial ser = serial.Serial('/dev/ttyS1', baudrate=9600, rtscts=True) # Print initial RTS and CTS status print("RTS:", ser.rts) print("CTS:", ser.cts) # Transmit data ser.write(b'Hello') # Print RTS and CTS status after transmission print("RTS:", ser.rts) print("CTS:", ser.cts) I'm getting the output showing CTS = False before and after data transmission, and in the other board I can't see any data incoming in minicom this is same for the other boards also I have connected GP5B1(TX) , GP5B0(RX) , VCC, GND, GP5B2(CTS) and GP5B3(RTS) in both boards through RS232 connection in both boards but when I connect the ttyS1 to USB of my windows laptop and send data through dock light with hardware flow control enabled I'm able to send and receive data I can't read the data even if the hardware flow control is disabled between two tinker boards.. the issue occurs when I connect two tinker boards with rs232 please help me with this problem..
  4. I want your help regarding tinker board r2.0 about GPIO pins, let me explain what I'm trying to do I want to send and receive data through two tinker boards from the port ttyS1 with hardware flow control enabled both boards have same configuration of serial port ttyS1 and hardware flow is enabled but when I send data through a board using python-- import serial ser = serial.Serial('/dev/ttyS1', baudrate=9600, rtscts=True) # Print initial RTS and CTS status print("RTS:", ser.rts) print("CTS:", ser.cts) # Transmit data ser.write(b'Hello') # Print RTS and CTS status after transmission print("RTS:", ser.rts) print("CTS:", ser.cts) I'm getting the output showing O/P = (CTS = False) before and after data transmission each and every time I execute it, and in the other board I can't see any data incoming in minicom and this is vice versa for the other board. I have connected GP5B1(TX) , GP5B0(RX) , VCC, GND, GP5B2(CTS) and GP5B3(RTS) in both boards through RS232 cable . But when I connect the ttyS1 to USB of my windows laptop and send data through dock light with hardware flow control enabled I'm able to send and receive data The issue occurs when I connect two tinker boards with rs232 Please help me with this problem..
×
×
  • Create New...