Jump to content

MastinZgZ

Members
  • Posts

    12
  • Joined

  • Last visited

Everything posted by MastinZgZ

  1. Hi @nagaudio im trying to do the same in a neo core. what changes you do in sun8i-h3-nanopi-neo-air.dts, sun8i-h3-nanopi-neo-air.dtbo? i have to replicate in the sun8i-h3-nanopi-neo-core.dts, sun8i-h3-nanopi-neo-core.dtbo Thanks!!
  2. Hello! How y can try to apply this patch? Thanks! Luis
  3. Good morning, I'm trying to activate PWM by hardware to use wiringpi. I activate the PWM option from Armbian config hardware, but it doesn't seem to have any effect, and UART0 doesn't seem to be deactivated. I'm not sure if there's any issue or if I'm doing something else wrong. The build is Armbian 22.11.1 Jammy with Linux 5.15.80-sunxi. Thanks for the help!
  4. Good afternoon, I'm sorry to reopen this topic, but I have problems with the can bus in a nanopi neo core. I manage to bring up the can0 interface, but using the cansend command, I only send 1 message, the following ones are not sent, I have to down-up the interface and again it lets me send one. I think it may be that this board does not have the PA7, but I don't know which one I can declare in dts... any help? thank you!
  5. Hi @rrp ! I have a similar problem I want to try your patch , but i dont know how to apply .¿ Any guide or help? Thanks!
  6. Hello, I am making a board coupled to a NanoPi Neo Core, and a RS485 converter to its UART2. The chip is a MAX1478 and I use the RTS (PA2). this is my armbianEnv verbosity=1 bootlogo=false disp_mode=1920x1080p60 overlay_prefix=sun8i-h3 overlays=cpu-clock-1.2GHz-1.3v i2c0 i2c1 uart1 uart2 usbhost0 usbhost1 usbhost2 rootdev=UUID=a37457d6-57d2-4f17-a684-157b1a309a73 rootfstype=ext4 user_overlays=neo-core-stable-mac double-spi ds1307 param_uart2_rtscts=1 param_uart3_rtscts=1 usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u if i run the command, cat /proc/tty/driver/serial |head -8 uart:16550A mmio:0x01C28800 irq:53 tx:120 rx:0 RTS|DTR command mbpoll -a139 -b9600 -t3 -c2 -m rtu -R /dev/ttyS2 -l 500 mbpoll 1.4-12 - FieldTalk(tm) Modbus(R) Master Simulator Copyright © 2015-2019 Pascal JEAN, https://github.com/epsilonrt/mbpoll This program comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions; type 'mbpoll -w' for details. Protocol configuration: Modbus RTU Slave configuration...: address = [139] start reference = 1, count = 2 Communication.........: /dev/ttyS2, 9600-8E1 t/o 1.00 s, poll rate 500 ms Data type.............: 16-bit register, input register table -- Polling slave 139... Ctrl-C to stop) Read input register failed: Connection timed out -- Polling slave 139... Ctrl-C to stop) Read input register failed: Connection timed out -- Polling slave 139... Ctrl-C to stop) Read input register failed: Connection timed out -- Polling slave 139... Ctrl-C to stop) Read input register failed: Connection timed out -- Polling slave 139... Ctrl-C to stop) Read input register failed: Connection timed out -- Polling slave 139... Ctrl-C to stop) Apparently it is in RTS mode, it sends but it seems that it cannot receive. I do not know if it could be a failure that it does not change the sending / receiving. I have to activate something else for the RS485 to work? How can I see if the RTS is working well? @martinayotte talk about a patch but i dont know if it can work in my kernel. Thanks in advance!
  7. Good morning, I have made a board where I have put an RTC DS1307 to a Neo core nanopi. From what I have been able to see, the system loads some kind of RTC module called sun6i-rtc. this module "occupies" the / dev / rtc0 so when loading the DS1307 it assigns it / dev / rtc1. Can the sun6i-rtc be disabled in some way? On the other hand, if I do this command. hwclock -w -f /dev/rtc1 --verbose hwclock from util-linux 2.37.154-c2ca2 System Time: 1625751906.401974 Using the rtc interface to the clock. Last drift adjustment done at 1625751901 seconds after 1969 Last calibration done at 1625751901 seconds after 1969 Hardware clock is on UTC time Assuming hardware clock is kept in UTC time. RTC type: 'rtc-ds1307' Using delay: 0.000000 seconds missed it - 1625751906.405792 is too far past 1625751906.000000 (0.405792 > 0.001000) 1625751907.000000 is close enough to 1625751907.000000 (0.000000 < 0.002000) Set RTC to 1625751907 (1625751906 + 1; refsystime = 1625751906.000000) Setting Hardware Clock to 13:45:07 = 1625751907 seconds since 1969 ioctl(RTC_SET_TIME) was successful. Not adjusting drift factor because the --update-drift option was not used. New /etc/adjtime data: 0.000000 1625751906 0.000000 1625751906 UTC it works correctly, but if I want to read, hwclock -r -f /dev/rtc1 --verbose it gives me this error. hwclock from util-linux 2.37.154-c2ca2 System Time: 1625751969.137899 Using the rtc interface to the clock. Last drift adjustment done at 1625751906 seconds after 1969 Last calibration done at 1625751906 seconds after 1969 Hardware clock is on UTC time Assuming hardware clock is kept in UTC time. Waiting for clock tick... ioctl(3, RTC_UIE_ON, 0): Invalid argument Waiting in loop for time from /dev/rtc1 to change hwclock: Timed out waiting for time change. ...synchronization failed the battery is charged, the i2c works well and detects it correctly. Any ideas? Thanks and best regards. Armbianmonitor http://ix.io/3siu
  8. Good morning, I have a NanoPi Neo core where I am trying to use the usb ports (USB1, USB2 and USB3), the first thing to say is that all usbhost is active in armbian-config. The system does not recognize me anything in any of the 3, not a pendrive, or Wi-Fi or anything. If I go to armbian-config, I see that the DTB system that has loaded is that of the NanoPi air, I do not know if it can influence. USB devices receive power when connected. Any idea if I have to activate something else or modify the DTB or something? I have tried adding to armbianEnv.txt this line at the end fdtfile = sun8i-h3-nanopi-neo.dtb but nothing. Thanks and best regards!
  9. Thank you very much, I look at it to see if I get to something. Thank you!
  10. Good morning, I am trying to get a UART to RS485 converter to work on the UART2. The RX Pin is PA1, TX is PA0 and the direction Pin is PA6. How can I activate it in the system, do I have to activate something in the armbianENV.txt? I have overlays = uart2 Some help? Thanks and best regards! Lewis
  11. Armbianmonitor http://ix.io/3q6H Hello! I Have this board, y want to use hcitool If i use hcitool dev it response Devices: If i try to use scan hcitool scan Device is not available: No such device Any idea? Thanks!
  12. Good morning, I am designing a board to use a NanoPi Neo Core. By default it comes without Wifi or BlueTooth. I had thought about putting the AP6212 chip on it. Can someone tell me if it is compatible with Armbian in its latest versions? Thank you and best regards!
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines