Park Namsu

  • Content Count

  • Joined

  • Last visited

Everything posted by Park Namsu

  1. Hi. I want to use uart on 500000 baudrate. Before i had used it with ARMBIAN 5.32. But i had some problems about board temperature. So, i updated it brand-new image. it was 5.38. and then some packet are crashing or missing frequently. I used same program for this test. I only counted received packets. It works fine with ARMBIAN 5.32 user-built Ubuntu 16.04.2 LTS 4.11.7-sun8i Received packets are 4500000. But, it doesn't with ARMBIAN 5.38 stable Ubuntu 16.04.4 LTS 4.14.18-sunxi Received packets are 4504376. I also che
  2. Hi. Kernel version : 4.11.7-sun8i My trouble is that clk is weird in using spidev. This is a oscilograph when i send a command with spi. First line is CLK and second line is CS0. My slave chip can not receive commands. and I think it due to this weird CLK. CS seems affect CLK. I just want to use spi with CS keeping active-low. But, following code setting mode of spi occured an error. "invalid argument exception" mode = SPI_MODE_1 | SPI_NO_CS; if (ioctl(file,SPI_IOC_WR_MODE32,&mode)<0){ perror("can't s