embeded/Cortex-M3 STM2022. 8. 29. 10:37

STM32F는 이렇게 단순한데

 

검색한 내용중에 H와 G 시리즈가 걸려 나와서

STM32G로 검색해서 가장 위에 있던 STM32G030C6Tx로

프로젝트 구성해보니 내용이 많이 나온다. 눈에 띄는건.. MSB First 라는 항목

 

main.c는 아래와 같이 생성되었고

  /* USER CODE END USART1_Init 1 */
  huart1.Instance = USART1;
  huart1.Init.BaudRate = 115200;
  huart1.Init.WordLength = UART_WORDLENGTH_8B;
  huart1.Init.StopBits = UART_STOPBITS_1;
  huart1.Init.Parity = UART_PARITY_NONE;
  huart1.Init.Mode = UART_MODE_TX_RX;
  huart1.Init.HwFlowCtl = UART_HWCONTROL_NONE;
  huart1.Init.OverSampling = UART_OVERSAMPLING_16;
  huart1.Init.OneBitSampling = UART_ONE_BIT_SAMPLE_DISABLE;
  huart1.Init.ClockPrescaler = UART_PRESCALER_DIV1;
  huart1.AdvancedInit.AdvFeatureInit = UART_ADVFEATURE_DMADISABLEONERROR_INIT|UART_ADVFEATURE_MSBFIRST_INIT;
  huart1.AdvancedInit.DMADisableonRxError = UART_ADVFEATURE_DMA_DISABLEONRXERROR;
  huart1.AdvancedInit.MSBFirst = UART_ADVFEATURE_MSBFIRST_ENABLE;

 

Stm32g0xx_hal_uart.h를 따라가면 아래와 같이 먼가 있긴 하다.(귀찮아..)

#define UART_ADVFEATURE_NO_INIT                 0x00000000U          /*!< No advanced feature initialization       */
#define UART_ADVFEATURE_TXINVERT_INIT           0x00000001U          /*!< TX pin active level inversion            */
#define UART_ADVFEATURE_RXINVERT_INIT           0x00000002U          /*!< RX pin active level inversion            */
#define UART_ADVFEATURE_DATAINVERT_INIT         0x00000004U          /*!< Binary data inversion                    */
#define UART_ADVFEATURE_SWAP_INIT               0x00000008U          /*!< TX/RX pins swap                          */
#define UART_ADVFEATURE_RXOVERRUNDISABLE_INIT   0x00000010U          /*!< RX overrun disable                       */
#define UART_ADVFEATURE_DMADISABLEONERROR_INIT  0x00000020U          /*!< DMA disable on Reception Error           */
#define UART_ADVFEATURE_AUTOBAUDRATE_INIT       0x00000040U          /*!< Auto Baud rate detection initialization  */
#define UART_ADVFEATURE_MSBFIRST_INIT           0x00000080U          /*!< Most significant bit sent/received first */


#define USART_CR2_MSBFIRST_Pos       (19U)
#define USART_CR2_MSBFIRST_Msk       (0x1UL << USART_CR2_MSBFIRST_Pos)         /*!< 0x00080000 */
#define USART_CR2_MSBFIRST           USART_CR2_MSBFIRST_Msk                    /*!< Most Significant Bit First */


#define UART_ADVFEATURE_MSBFIRST_DISABLE    0x00000000U             /*!< Most significant bit sent/received
                                                                         first disable                      */
#define UART_ADVFEATURE_MSBFIRST_ENABLE     USART_CR2_MSBFIRST      /*!< Most significant bit sent/received
                                                                         first enable                       */

 

The USART can also communicate synchronously. It can operate as a SPI in Master or Slave mode with programmable clock polarity (CPOL) and phase (CPHA) and programmable data order with MSB or LSB first. The clock is output (in case of Master mode) or input (in case of Slave mode) on the CK pin. No clock pulses are provided during the start and stop bits. When the USART is configured in SPI slave mode, it supports the Transmit underrun error and the NSS hardware or software management.

[링크 : https://www.st.com/.../en.STM32G0-Peripheral-USART-interface-USART.pdf]

[링크 : https://www.st.com/.../en.STM32H7-Peripheral-USART_interface_USART.pdf]

'embeded > Cortex-M3 STM' 카테고리의 다른 글

stm32 tim output compare(OC) mode  (0) 2024.07.12
stm32 reset 없이 JTAG 붙이기  (0) 2023.07.19
stm32 wdg 최대 설정시간  (0) 2021.08.09
stm32 RST pull-up reset fail  (0) 2021.08.02
STM32 RDP(ReaD Protection)  (0) 2021.07.02
Posted by 구차니
embeded/ARM2022. 8. 26. 18:25

왜 찾게 되었냐면.. 알고 싶지 않았습니다.. -_-

[링크 : https://stackoverflow.com/questions/20436466/lsb-to-msb-bit-reversal-on-arm]

 

RBIT
Reverse the bit order in a 32-bit word.

Syntax
RBIT{cond} Rd, Rn

[링크 : https://developer.arm.com/documentation/dui0473/m/arm-and-thumb-instructions/rbit]

 

REV
Reverse the byte order in a word.

Syntax
REV{cond} Rd, Rnn

[링크 : https://developer.arm.com/documentation/dui0473/m/arm-and-thumb-instructions/rev]

'embeded > ARM' 카테고리의 다른 글

i.mx8m plus arm trust zone  (0) 2023.02.24
ampere altra / 기가바이트 R272-P30 / 우분투  (0) 2023.02.03
vfp, neon cycle  (0) 2022.01.23
cortex-a9 neon  (0) 2021.06.21
EIM (external interface module)  (0) 2021.06.21
Posted by 구차니
embeded/raspberry pi2022. 8. 17. 15:54

SPI 통신시

2MHz 클럭에 3200Hz / 1600Hz 사용 가능

 

I2C 통신시

400kHz(고속 i2c)일 경우 800 Hz

100kHz(표준 i2c) 200 Hz에

SPI
The maximum SPI clock speed is 5 MHz with 100 pF maximum loading, and the timing scheme follows clock polarity (CPOL) = 1 and clock phase (CPHA) = 1.

Use of the 3200 Hz and 1600 Hz output data rates is only recommended with SPI communication rates greater than or equal to 2 MHz. The 800 Hz output data rate is recommended only for communication speeds greater than or equal to 400 kHz, and the remaining data rates scale proportionally. For example, the minimum recommended communication speed for a 200 Hz output data rate is 100 kHz

I2C
Due to communication speed limitations, the maximum output data rate when using 400 kHz I2C is 800 Hz and scales linearly with a change in the I2C communication speed. For example, using I2C at 100 kHz would limit the maximum ODR to 200 Hz

 

4 wire는 CS / SCLK / SDI / SDO를 쓴다면

3 wire는 CS / SCLK / SDIO 로 쓰는 듯.

(SDIO Serial Data Input Output의 약자 Secure Digital I/O의 약자이기도 하니.. 주의!)

[링크 : https://www.analog.com/media/en/technical-documentation/data-sheets/ADXL345.pdf]

Posted by 구차니
embeded/raspberry pi2022. 8. 17. 12:46

핀 피치가 2.54mm가 아닌 2.00mm 인데다가 구멍이 반이 없어서 어떻게 땜을 해야하나 고민하다 전문가에게 토스~

역시 전문가의 손은 다르구만

 

VCC 는 3.3V 라는데

[링크 : https://os.mbed.com/users/edodm85/notebook/radio-fm-tea5767/]

 

TEA5767 칩 자체는 3.0 Typical, 5.0 Max 라서 5V를 넣어도 되지 않나 싶긴 한데.. 그래도 Max 니까.. 참아야겠...지?

AMS1117-3.3을 투입할 시간이 되겠군...

MPXO는 MPX 가 있냐 없냐를 출력해주려나?

[링크 : https://www.sparkfun.com/datasheets/Wireless/General/TEA5767.pdf]

'embeded > raspberry pi' 카테고리의 다른 글

라즈베리 파이4 apm 설치시 php 작동 안될 경우  (0) 2022.08.30
adxl345 spi  (0) 2022.08.17
rpi3b에서 wayvnc 빌드 + 실행하기  (0) 2022.08.10
raspberrypi wayland compositor 설정  (0) 2022.08.10
linux iio adc + rpi  (0) 2022.06.20
Posted by 구차니
embeded/raspberry pi2022. 8. 10. 18:03

패키지 설치

$ sudo apt install cmake ninja meson libpixman-1-0 libpixman-1-dev libdrm-dev libdrm-common libdrm2 libxkbcommon-dev libwayland-dev

[링크 : https://github.com/ammen99/wf-recorder/issues/74]

 

ninja 설치

$ git clone https://github.com/ninja-build/ninja.git
$ cd ninja
$ ./configure.py --bootstrap

[링크 : https://ninja-build.org/]

 

git clone https://github.com/any1/wayvnc.git
git clone https://github.com/any1/neatvnc.git
git clone https://github.com/any1/aml.git

mkdir wayvnc/subprojects
cd wayvnc/subprojects
ln -s ../../neatvnc .
ln -s ../../aml .
cd -

mkdir neatvnc/subprojects
cd neatvnc/subprojects
ln -s ../../aml .
cd -

meson build
ninja -C build

[링크 : https://github.com/any1/wayvnc]

 

+

sway를 실행하고

 

sway에서 터미널을 연 다음, wayvnc를 실행

 

tightVNC로 접속 확인.

 

어익 후 라즈베리 3b에서 cpu가 죽어나네

 

rpi3 같은 메모리 대역폭 후달리는 애도 잘 쓰도록 만들었다는데 머.. 3.3%면 양호한건가..

sway가 문제인가?

The OpenGL ES 2.0 based renderer has now been replaced with a pixman based renderer. The new renderer is both simpler and performs better on devices with poor memory bandwidth such as the Raspberry Pi 3.

[링크 : https://github.com/any1/wayvnc/releases]

 

+

22.08.11

rpi 4 에서 실행하니 cpu가 착해진다. openGL ES 성능 차이인가..

'embeded > raspberry pi' 카테고리의 다른 글

adxl345 spi  (0) 2022.08.17
tea5767 모듈 땜질  (0) 2022.08.17
raspberrypi wayland compositor 설정  (0) 2022.08.10
linux iio adc + rpi  (0) 2022.06.20
PI 400 써봄  (0) 2022.05.25
Posted by 구차니
embeded/raspberry pi2022. 8. 10. 10:32

2022년 4월 4일자 bullseye 배포판에 wayland가 들어있다는데

raspi-config를 통해 wayland로 변경이 가능한 듯.

순수(?) wayland는 아니고 X11-wayland 인 것 같긴한데 어떻게 바꾸려나?

[링크 : https://blog.desdelinux.net/en/raspberry-pi-os-2022-04-04-arrives-with-initial-wayland-support-improvements-in-the-configuration-assistant-and-more/]

[링크 : https://www.phoronix.com/news/Raspberry-Pi-OS-Wayland]

[링크 : https://www.linuxadictos.com/ko/raspberry-pi-os-empieza-a-experimentar-con-wayland.html]

 

라즈베리 파이 3, 64bit 버전, raspi-config에서 Advanced로 들어가니 A9 Wayland가 존재한다.

 

Yes 해주고

 

리부팅 요청하는데 그건 귀찮으니 패스

 

라즈베리 파이 3라서 안되는건가.. 아니면 64bit 버전이라 그런가?

$ ps -ef | grep way
pi           843     702  3 11:21 ?        00:00:03 /usr/bin/Xwayland :0 -rootless -noreset -accessx -core -auth /run/user/1000/.mutter-Xwaylandauth.AFF5Q1 -listen 4 -listen 5 -displayfd 6 -listen 7

$ sudo apt install wayvnc
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package wayvnc

 

32bit rpi-OS 해도 안되는건 매한가지 -_-

$ ps -ef | grep way
pi        1481  1462  0 12:09 pts/1    00:00:00 grep --color=auto way

$ uname -a
Linux raspberrypi 5.15.32-v7+ #1538 SMP Thu Mar 31 19:38:48 BST 2022 armv7l GNU/Linux

$ sudo apt-get install wayvnc
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package wayvnc

 

우분투 22.04 LTS 설치(x86) 실행은 안되네?

$ uname -a
Linux victor-770Z5E-780Z5E 5.15.0-43-generic #46-Ubuntu SMP Tue Jul 12 10:30:17 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

$ sudo apt-get install wayvnc
패키지 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다... 완료
상태 정보를 읽는 중입니다... 완료
다음의 추가 패키지가 설치될 것입니다 :
  libaml0 libneatvnc0 libturbojpeg
다음 새 패키지를 설치할 것입니다:
  libaml0 libneatvnc0 libturbojpeg wayvnc
0개 업그레이드, 4개 새로 설치, 0개 제거 및 4개 업그레이드 안 함.
235 k바이트 아카이브를 받아야 합니다.
이 작업 후 839 k바이트의 디스크 공간을 더 사용하게 됩니다.
계속 하시겠습니까? [Y/n]

$ wayvnc
wl_registry@2: error 0: invalid version for global wl_output (4): have 2, wanted 3
ERROR: Virtual Pointer protocol not supported by compositor.
ERROR: Failed to initialise wayland

 

혹시나 해서 해보는데 영 진척이 없다.

$ sudo nano /etc/gdm3/custom.conf
WaylandEnable=true

[링크 : https://linuxconfig.org/how-to-enable-disable-wayland-on-ubuntu-22-04-desktop]

 

초기값(true도 false도 아닌 WaylandEnable 자체가 comment)

$ ps -ef | grep way
root         853       1  0 11:41 ?        00:00:00 /usr/bin/python3 /usr/bin/waydroid -w container start
minimonk 20264   20253  0 12:38 tty2     00:00:00 /usr/libexec/gdm-wayland-session env GNOME_SHELL_SESSION_MODE=ubuntu /usr/bin/gnome-session --session=ubuntu


$ wayvnc
wl_registry@2: error 0: invalid version for global wl_output (4): have 2, wanted 3
ERROR: Virtual Pointer protocol not supported by compositor.
ERROR: Failed to initialise wayland

 

false 일때

$ ps -ef | grep way
root         853       1  0 11:41 ?        00:00:00 /usr/bin/python3 /usr/bin/waydroid -w container start

$ wayvnc
ERROR: Failed to initialise wayland

 

true 일때

$ ps -ef | grep way
root         853       1  0 11:41 ?        00:00:00 /usr/bin/python3 /usr/bin/waydroid -w container start
minimonk 18392   18381  0 12:32 tty2     00:00:00 /usr/libexec/gdm-wayland-session env GNOME_SHELL_SESSION_MODE=ubuntu /usr/bin/gnome-session --session=ubuntu

$ wayvnc
wl_registry@2: error 0: invalid version for global wl_output (4): have 2, wanted 3
ERROR: Virtual Pointer protocol not supported by compositor.
ERROR: Failed to initialise wayland

 

'embeded > raspberry pi' 카테고리의 다른 글

tea5767 모듈 땜질  (0) 2022.08.17
rpi3b에서 wayvnc 빌드 + 실행하기  (0) 2022.08.10
linux iio adc + rpi  (0) 2022.06.20
PI 400 써봄  (0) 2022.05.25
라즈베리 파이2 / 마인크래프트  (0) 2022.03.18
Posted by 구차니
embeded/raspberry pi2022. 6. 20. 14:42

industrial io(iio)

The mcp320x driver interface is through sysfs.
The first device will be found here /sys/bus/iio/devices/iio:device0

# ls /sys/bus/iio/devices/iio\:device0
dev                       in_voltage2-voltage3_raw  in_voltage5_raw           name
in_voltage-voltage_scale  in_voltage2_raw           in_voltage6-voltage7_raw  of_node
in_voltage0-voltage1_raw  in_voltage3_raw           in_voltage6_raw           power
in_voltage0_raw           in_voltage4-voltage5_raw  in_voltage7_raw           subsystem
in_voltage1_raw           in_voltage4_raw           in_voltage_scale          uevent

# cat /sys/bus/iio/devices/iio\:device0/in_voltage0_raw
514

[링크 : https://jumpnowtek.com/rpi/Using-mcp3008-ADCs-with-Raspberry-Pis.html]


[링크 :
https://github.com/scottellis/mcp3008-poll/blob/master/mcp3008-poll.c]

[링크 : https://github.com/scottellis/mcp3008-poll]

'embeded > raspberry pi' 카테고리의 다른 글

rpi3b에서 wayvnc 빌드 + 실행하기  (0) 2022.08.10
raspberrypi wayland compositor 설정  (0) 2022.08.10
PI 400 써봄  (0) 2022.05.25
라즈베리 파이2 / 마인크래프트  (0) 2022.03.18
rpi opencv python pid servo  (0) 2022.03.08
Posted by 구차니
embeded/raspberry pi2022. 5. 25. 12:25

음.. 10만원 근처인데 개인적인 취향은 아니라 패스~ 하는걸로

 

사이즈는 텐키리스

 

Raspberry Pi 400 이라는 모델. 영국내 제조인 듯.

 

LAN도 넣어두고는 저 놈의 USB는 왜 일렬로 해서 -_-

차라리 USB 3.0은 세로로 두개 하고 한개는 full size HDMI 해주지! 라는 아쉬움이 드는 설계 -_ㅠ

 

 

귀찮아서(!) 라즈베리 4 64bit OS 설치해 놓은걸로 두세번 부팅하니 켜지긴 한데

그게 HDMI 0번에 연결하지 않아 발생한 문제인진 모르겠다.

'embeded > raspberry pi' 카테고리의 다른 글

raspberrypi wayland compositor 설정  (0) 2022.08.10
linux iio adc + rpi  (0) 2022.06.20
라즈베리 파이2 / 마인크래프트  (0) 2022.03.18
rpi opencv python pid servo  (0) 2022.03.08
rpi i2c oled  (0) 2022.02.10
Posted by 구차니
embeded/jetson2022. 4. 22. 15:34

deepstream 6.0 부터 NHWC 네트워크 입력을 지원한다고 한다.

그런데 이 NHWC가 먼지 몰라서 헤매는 중...

그러니까.. 이전에는 NHWC는 지원하지 않았으니 NCHW만 지원했던건가?

Support for NHWC network input DS 6.0

 

nvinfer 모듈에서 NCHW가 언급되는 항목은 아래와 같은데

입력 레이어, 출력 레이어의 순서 그리고 uff 관련 입력 차원/순서에 대한 내용인데..

UFF 안쓰면 network-input-order와 segmentation-output-order만 보면 될 것 같긴하다.

network-input-order Order of the network input layer (ignored if input-tensor-meta enabled) Integer 0:NCHW 1:NHWC network-input-order=1 All
Both
segmentation-output-order Segmentation network output layer order Integer 0: NCHW 1: NHWC segmentation-output-order=1 Segmentation
Both
uff-input-dims DEPRECATED. Use infer-dims and uff-input-order instead.
Dimensions of the UFF model
channel; height; width; input-order All integers, ≥0 input-dims=3;224;224;0
Possible values for input-order are:
0: NCHW
1: NHWC
All
Both

 

uff-input-order UFF input layer order Integer 0: NCHW 1: NHWC 2: NC uff-input-order=1 All
Both

[링크 : https://docs.nvidia.com/metropolis/deepstream/dev-guide/text/DS_plugin_gst-nvinfer.html]

 

conv 연산시 nhwc가 nchw에 비해서 빠르다고 하는데 데이터 순서에 따른 인접성 때문에 그런가?

[링크 : https://moon-walker.medium.com/train-faster-텐서플로우-성능-최적화-기법-d67d3faee959]

 

약어는 아래와 같다고.

N: number of images in the batch
H: height of the image
W: width of the image
C: number of channels of the image (ex: 3 for RGB, 1 for grayscale...)

[링크 : https://stackoverflow.com/questions/37689423/convert-between-nhwc-and-nchw-in-tensorflow]

[링크 : https://code-examples.net/ko/q/23f184f]

 

일단.. deepstream 에서 받아들이는 텐서는 3x320x320 인데

INFO: [Implicit Engine Info]: layers num: 4
0   INPUT  kFLOAT image_tensor    3x320x320
1   OUTPUT kHALF  detected_boxes  256x4
2   OUTPUT kINT32 detected_classes 256
3   OUTPUT kHALF  detected_scores 256

 

NCHW를 NHWC로 바꾸니까

1x3x320x320 으로 들어올 것이

1x320x320x3 으로 들어오는지 범위를 벗어났다고 경고를 띄운다.

WARNING: Backend context bufferIdx(0) request dims:1x320x320x3 is out of range, [min: 1x3x320x320, max: 1x3x320x320]
ERROR: [TRT]: 4: [network.cpp::validate::2959] Error Code 4: Internal Error (image_tensor: for dimension number 1 in profile 0 does not match network definition (got min=320, opt=320, max=320), expected min=opt=max=3).)
ERROR: Build engine failed from config file
ERROR: failed to build trt engine.
0:00:05.708555452 30995     0x2a01fa70 ERROR                nvinfer gstnvinfer.cpp:632:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Error in NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1934> [UID = 1]: build engine file failed
0:00:05.713238769 30995     0x2a01fa70 ERROR                nvinfer gstnvinfer.cpp:632:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Error in NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:2020> [UID = 1]: build backend context failed
0:00:05.713377574 30995     0x2a01fa70 ERROR                nvinfer gstnvinfer.cpp:632:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Error in NvDsInferContextImpl::initialize() <nvdsinfer_context_impl.cpp:1257> [UID = 1]: generate backend failed, check config file settings
** ERROR: <main:707>: Failed to set pipeline to PAUSED
Quitting
ERROR from primary_gie: Failed to create NvDsInferContext instance
Debug info: /dvs/git/dirty/git-master_linux/deepstream/sdk/src/gst-plugins/gst-nvinfer/gstnvinfer.cpp(841): gst_nvinfer_start (): /GstPipeline:pipeline/GstBin:primary_gie_bin/GstNvInfer:primary_gie:
Config file path: /opt/nvidia/deepstream/deepstream-6.0/sources/objectDetector_SSD/config_infer_primary_ssd.txt, NvDsInfer Error: NVDSINFER_CONFIG_FAILED

 

'embeded > jetson' 카테고리의 다른 글

젯슨 레이서 조립 2  (0) 2023.01.21
젯슨 레이서 조립 1  (0) 2023.01.20
FLIR ETS320 / v4l  (0) 2022.04.21
deepstream 구조, gstreamer module 설명  (2) 2022.04.19
deepstream nvinfer  (0) 2022.04.18
Posted by 구차니
embeded/jetson2022. 4. 21. 11:54

ETS320 장비를 jetson nano에 연결하니 스토리지와 v4l/uvc 장비로 인식이 되는 것 같다.

$ dmesg
[264102.798221] usb 1-2.3: new high-speed USB device number 5 using tegra-xusb
[264102.825756] usb 1-2.3: New USB device found, idVendor=09cb, idProduct=1007
[264102.825770] usb 1-2.3: New USB device strings: Mfr=7, Product=8, SerialNumber=0
[264102.825780] usb 1-2.3: Product: FLIR Ex-Series
[264102.825790] usb 1-2.3: Manufacturer: FLIR Systems
[264102.852306] uvcvideo: Unknown video format 304d3746-0000-0010-8000-00aa00389b71
[264102.852439] uvcvideo: Found UVC 1.00 device FLIR Ex-Series (09cb:1007)
[264108.030765] uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enabling workaround.
[264108.034120] uvcvideo 1-2.3:1.0: Entity type for entity Extension 6 was not initialized!
[264108.042461] uvcvideo 1-2.3:1.0: Entity type for entity Processing 5 was not initialized!
[264108.050726] uvcvideo 1-2.3:1.0: Entity type for entity Selector 4 was not initialized!
[264108.058830] uvcvideo 1-2.3:1.0: Entity type for entity Camera 1 was not initialized!
[264108.067201] input: FLIR Ex-Series as /devices/70090000.xusb/usb1/1-2/1-2.3/1-2.3:1.0/input/input4
[264108.067689] usb-storage 1-2.3:1.2: USB Mass Storage device detected
[264108.067964] scsi host0: usb-storage 1-2.3:1.2
[264109.087991] scsi 0:0:0:0: Direct-Access     FLIR     Removable        1.00 PQ: 0 ANSI: 0
[264109.100246] sd 0:0:0:0: [sda] 89664 2048-byte logical blocks: (184 MB/175 MiB)
[264109.110068] sd 0:0:0:0: [sda] Write Protect is off
[264109.115117] sd 0:0:0:0: [sda] Mode Sense: 00 06 00 00
[264109.116447] sd 0:0:0:0: [sda] Asking for cache data failed
[264109.122082] sd 0:0:0:0: [sda] Assuming drive cache: write through
[264109.151779]  sda:
[264109.170721] sd 0:0:0:0: [sda] Attached SCSI removable disk

 

젯슨 나노 하나 전체를 찍을 만큼의 배율과 촛점 거리는 안되는 듯..

[링크 : https://www.flirkorea.com/products/ets320]

 

사용자 설명서를 보니 FOV 고정, 촛점거리 7cm 로 고정 -_ㅠ

영상은 초당 9프레임

 

하지만 UVC 상에서는 15프레임으로 프레임이 변경되는 듯.

$ v4l2-ctl -d /dev/video1 --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
        Index       : 0
        Type        : Video Capture
        Pixel Format: 'YUYV'
        Name        : YUYV 4:2:2
                Size: Discrete 320x240
                        Interval: Discrete 0.067s (15.000 fps)
                        Interval: Discrete 0.133s (7.500 fps)
                        Interval: Discrete 0.267s (3.750 fps)

        Index       : 1
        Type        : Video Capture
        Pixel Format: ''
        Name        : 304d3746-0000-0010-8000-00aa003
                Size: Discrete 320x246
                        Interval: Discrete 0.067s (15.000 fps)
                        Interval: Discrete 0.133s (7.500 fps)
                        Interval: Discrete 0.267s (3.750 fps)

 

와.. 가격 미친.. 예상보다 2배.. ㄷㄷ

[링크 : http://prod.danawa.com/info/?pcode=5595571]

'embeded > jetson' 카테고리의 다른 글

젯슨 레이서 조립 1  (0) 2023.01.20
deepstream NCHW, NHWC  (0) 2022.04.22
deepstream 구조, gstreamer module 설명  (2) 2022.04.19
deepstream nvinfer  (0) 2022.04.18
deepstream SSD  (0) 2022.04.15
Posted by 구차니