한 시간 만에 5~10cm는 온듯
지하철 타고 지나가는 구마다 대설주의보 문자가 오질 않나 난리가 났는데
내일도 걱정이네
'개소리 왈왈 > 직딩의 비애' 카테고리의 다른 글
| 송년회 (0) | 2025.12.08 |
|---|---|
| 이게 번아웃인가 (0) | 2025.12.05 |
| 소소한 지름(?) part 2 (0) | 2025.11.25 |
| 피곤 (0) | 2025.11.21 |
| 오늘따...라 엄청 피곤하고 추움 (0) | 2025.11.17 |
한 시간 만에 5~10cm는 온듯
지하철 타고 지나가는 구마다 대설주의보 문자가 오질 않나 난리가 났는데
내일도 걱정이네
| 송년회 (0) | 2025.12.08 |
|---|---|
| 이게 번아웃인가 (0) | 2025.12.05 |
| 소소한 지름(?) part 2 (0) | 2025.11.25 |
| 피곤 (0) | 2025.11.21 |
| 오늘따...라 엄청 피곤하고 추움 (0) | 2025.11.17 |
RFID 변경가능 스티커라고 해서 사봤는데 안드로이드에서 MIFARE classic tool로 시도하는데 안되길래
질문하려고 보니 전용 RFID 복제기가 필요하다고..
판매자의 다른글을 보는데 복제기 금액이 궁금해서 보려는데 없다 -_ㅠ

[링크 : https://itempage3.auction.co.kr/DetailView.aspx?ItemNo=C913905797]
이전에 샀던 카드 타입은 잘되는데
[링크 : https://itempage3.auction.co.kr/DetailView.aspx?ItemNo=C555653752]
여기서도 위의 제품과 동일한걸 파는데, "UID의 변경이 불가능한 제품"이라고 명시되어있다. 크흡..
저번에도 이분에게 샀었는데 믿고 이분에게 샀어야 했는데!!!
[링크 : https://itempage3.auction.co.kr/DetailView.aspx?itemno=C402942299]
에잇.. 이걸로 사서 다시해봐야지 머..
[링크 : https://itempage3.auction.co.kr/DetailView.aspx?itemno=C712600160]
| 출입카드 복제 (CUID) (0) | 2025.03.20 |
|---|---|
| libpcsclite on cpp (0) | 2025.03.18 |
| NDEF 데이터 읽기 (0) | 2025.03.17 |
| ntag 213, 215 그리고 13.25MHz CUID 카드 (0) | 2025.03.17 |
| SCardListReadersA 함수(winscard.h) (0) | 2025.03.17 |
장인어른께서 컴퓨터 안된다고 해서 들고 오셨는데
SSD 날아가면 예비부품이 없어서 어떡하나.. 내 노트북 배 갈라야 하나 고민하고 있었는데
다행히 케이블이나 커넥터 문제로 인식이 잘 안되던것 같아서
DVD 에서 사용하던 SATA 케이블로 교체하고 0번 커넥터에서1번으로 바꾸니 정상작동
휴..
그 와중에 사진이랑 백업한다고 옮기고 있는데
다했냐~
이제 사진 옮기고 있어요~
다했냐~
음악 옮기고 있어요~
후...
| 다이소 키보드 분해 (0) | 2025.12.14 |
|---|---|
| 키보드 버려야지 (0) | 2025.12.13 |
| 중고 TV 구매 43인치 (0) | 2025.11.26 |
| 기사 / "HBM 속도경쟁만 하지 마라" 10년 뒤 보라는 HBM 설계자 (0) | 2025.11.18 |
| 아 몰라 질러 (0) | 2025.11.04 |
대충 25khz?
[링크 : https://blog.naver.com/divenire_am/220489050085]
ATX 규격은 아니고 intel 팬에 대한 규격으로 있다고 ai 님께서 이야기 하신다.
| 4-Wire Pulse Width Modulation (PWM) Controlled Fans 2.3.1 PWM Output Signal The Hardware Monitor Devise is required to provide an open-drain or open-collector type output for the PWM signal on pin 4 (see Table 1 and Figure 8) with the following properties: Frequency: 25kHz nominal, 21-28kHz is acceptable Current sink capability: 5mA required, 8mA recommended Maximum voltage capability: 5.25V Maximum VOL: 0.8V Signal is not inverted, 100% PWM results in Max fan speed |
[링크 : https://glkinst.com/cables/cable_pics/4_Wire_PWM_Spec.pdf]
| bit banging (0) | 2025.05.08 |
|---|---|
| numa 와 smp (0) | 2025.05.07 |
| USB BOS - Binary Object Store (0) | 2024.07.14 |
| DDR3 pinout과 ECC (0) | 2024.04.01 |
| uefi dxe pei (0) | 2024.04.01 |
요즘 블프 할인이 시원찮다던데
갖고 싶은게 아니라 하고 싶은거 위주로 80% 이상 할인으로 지름! (아내몰래)

| 에픽 무료게임 (0) | 2025.11.14 |
|---|---|
| 윈도우 11에서 JASF 실행 실패 (0) | 2025.11.02 |
| 스팀 단상 (0) | 2025.10.05 |
| 스팀 여름 할인 - 오랫만에 구매 (2) | 2025.07.03 |
| 리눅스 스팀 proton (호환성 설정) (0) | 2025.06.28 |
대충 21페이지에서 발견
| 3.8 CORDIC The CORDIC provides hardware acceleration of certain mathematical functions, notably trigonometric, commonly used in motor control, metering, signal processing and many other applications. It speeds up the calculation of these functions compared to a software implementation, allowing a lower operating frequency, or freeing up processor cycles in order to perform other tasks. Cordic features • 24-bit CORDIC rotation engine • Circular and Hyperbolic modes • Rotation and Vectoring modes • Functions: Sine, Cosine, Sinh, Cosh, Atan, Atan2, Atanh, Modulus, Square root, Natural logarithm • Programmable precision up to 20-bit • Fast convergence: 4 bits per clock cycle • Supports 16-bit and 32-bit fixed point input and output formats • Low latency AHB slave interface • Results can be read as soon as ready without polling or interrupt • DMA read and write channels |
| 3.9 Filter mathematical accelerator (FMAC) The filter mathematical accelerator unit performs arithmetic operations on vectors. It comprises a multiplier/accumulator (MAC) unit, together with address generation logic, which allows it to index vector elements held in local memory. The unit includes support for circular buffers on input and output, which allows digital filters to be implemented. Both finite and infinite impulse response filters can be realized. The unit allows frequent or lengthy filtering operations to be offloaded from the CPU, freeing up the processor for other tasks. In many cases it can accelerate such calculations compared to a software implementation, resulting in a speed-up of time critical tasks. FMAC features • 16 x 16-bit multiplier • 24+2-bit accumulator with addition and subtraction • 16-bit input and output data • 256 x 16-bit local memory • Up to three areas can be defined in memory for data buffers (two input, one output), defined by programmable base address pointers and associated size registers • Input and output sample buffers can be circular • Buffer “watermark” feature reduces overhead in interrupt mode • Filter functions: FIR, IIR (direct form 1) • AHB slave interface • DMA read and write data channels |
[링크 : https://www.st.com/resource/en/datasheet/stm32g473cb.pdf]
함수 3회 호출할 만큼 부하를 상쇄할 만큼 하드웨어 계산이 빠른거겠지?
| 1. Configure the CORDIC: LL_CORDIC_Config( CORDIC, LL_CORDIC_FUNCTION_COSINE, /* cosine function */ LL_CORDIC_PRECISION_6CYCLES, /* max precision for q1.31 cosine */ LL_CORDIC_SCALE_0, /* no scale */ LL_CORDIC_NBWRITE_1, /* One input data: angle. Second input data (modulus) is 1 af ter cordic reset */ LL_CORDIC_NBREAD_2, /* Two output data: cosine, then sine */ LL_CORDIC_INSIZE_32BITS, /* q1.31 format for input data */ LL_CORDIC_OUTSIZE_32BITS ); /* q1.31 format for output data */ If only this configuration is used, this step is done once at initialization. Otherwise, it must be repeated each time one of the above parameters changes. 2. Write the input argument(s): /* Write angle */ LL_CORDIC_WriteData(CORDIC, ANGLE_CORDIC); In this case, there is only one argument, the angle (defined as a constant value π/8). The other argument is the default modulus of 1, so does not need to be written. As soon as the expected number of arguments is written, the calculation starts. 3. Read the result(s): /* Read cosine */ cosOutput = (int32_t)LL_CORDIC_ReadData(CORDIC); /* Read sine */ sinOutput = (int32_t)LL_CORDIC_ReadData(CORDIC); |
| FMAC configuration The FMAC can be configured using the HAL driver from the STM32CubeG4 MCU Package. Before accessing any FMAC registers, the FMAC clock must be enabled: __HAL_RCC_FMAC_CLK_ENABLE(); An area of system memory must be reserved for the coefficients: /* Declare an array to hold the filter coefficients */ static int16_t aFilterCoeffB[51]; We must also declare a structure to contain the FMAC parameters: FMAC_HandleTypeDef hfmac; Now we can configure the FMAC using the HAL_FMAC_FilterConfig() function: FMAC_FilterConfigTypeDef sFmacConfig; /* declare a filter configuration structure */ sFmacConfig.CoeffBaseAddress = 0; /* Set the coefficient buffer base address */ sFmacConfig.CoeffBufferSize = 51; /* Set the coefficient buffer size to the number of coeffs */ sFmacConfig.InputBaseAddress = 51; /* Set the Input buffer base address to the next free address */ sFmacConfig.InputBufferSize = 100; /* Set the input buffer size greater than the number of coeffs */ sFmacConfig.InputThreshold = 0; /* Set the input watermark to zero since we are using DMA */ sFmacConfig.OutputBaseAddress = 151; /* Set the Output buffer base address to the next free address */ sFmacConfig.OutputBufferSize = 100; /* Set the output buffer size */ sFmacConfig.OutputThreshold = 0; /* Set the output watermark to zero since we are using DMA */ /* No A coefficients since FIR */ sFmacConfig.pCoeffA = NULL; sFmacConfig.CoeffASize = 0; sFmacConfig.pCoeffB = aFilterCoeffB; /* Pointer to the coefficients in memory */ sFmacConfig.CoeffBSize = 51; /* Number of coefficients */ sFmacConfig.Filter = FMAC_FUNC_CONVO_FIR; /* Select FIR filter function */ sFmacConfig.InputAccess = FMAC_BUFFER_ACCESS_DMA; /* Enable DMA input transfer */ sFmacConfig.OutputAccess = FMAC_BUFFER_ACCESS_DMA; /* Enable DMA output transfer */ sFmacConfig.Clip = FMAC_CLIP_ENABLED; /* Enable clipping of the output at 0x7FFF and 0x8000 */ sFmacConfig.P = 51; /* P parameter contains number of coefficients */ sFmacConfig.Q = FILTER_PARAM_Q_NOT_USED; /* Q parameter is not used */ sFmacConfig.R = 0; /* R parameter contains the post-shift value (none) */ if (HAL_FMAC_FilterConfig(&hfmac, &sFmacConfig) != HAL_OK) /* Configure the FMAC */ Error_Handler(); /* Configuration Error */ The HAL_FMAC_FilterConfig() function programs the configuration and control registers, and loads the coefficients into the FMAC local memory (X2 buffer). |
| STM32CubeProgrammer / uart / parity (0) | 2025.11.28 |
|---|---|
| stm32flash 0.5 0.7 버전과 stm32g473 (0) | 2025.11.28 |
| stm32g473 ADC calibration (0) | 2025.11.28 |
| stm32f411 black fill board (0) | 2025.11.22 |
| stm32g473 adc (0) | 2025.11.03 |
아무생각없이 57600-None 으로 했더니 정체 불명의(?) NACK가 뜬다.

57600-Even 로 해주니 잘된다.

| stm32g4 cordic fmac (0) | 2025.11.28 |
|---|---|
| stm32flash 0.5 0.7 버전과 stm32g473 (0) | 2025.11.28 |
| stm32g473 ADC calibration (0) | 2025.11.28 |
| stm32f411 black fill board (0) | 2025.11.22 |
| stm32g473 adc (0) | 2025.11.03 |
ubuntu 22.04 패키지로 설치된 건 0.5 버전인데
stm32g473을 boot0 핀을 이용해서 내장 부트로더로 올려보려고 하니 이런 에러가 발생한다.
0x469 장치 아이디 미지원.. 쩝..
| $ stm32flash /dev/ttyUSB0 stm32flash 0.5 http://stm32flash.sourceforge.net/ Interface serial_posix: 57600 8E1 Unknown/unsupported device (Device ID: 0x469) |
소스가 0.7 인데 받아서 빌드하고 해보니 잘된다.
| $ ./stm32flash /dev/ttyUSB0 stm32flash 0.7 http://stm32flash.sourceforge.net/ Interface serial_posix: 57600 8E1 Version : 0x31 Option 1 : 0x00 Option 2 : 0x00 Device ID : 0x0469 (STM32G47xxx/48xxx) - RAM : Up to 96KiB (16384b reserved by bootloader) - Flash : Up to 512KiB (size first sector: 1x2048) - Option RAM : 48b - System RAM : 28KiB |
| stm32g4 cordic fmac (0) | 2025.11.28 |
|---|---|
| STM32CubeProgrammer / uart / parity (0) | 2025.11.28 |
| stm32g473 ADC calibration (0) | 2025.11.28 |
| stm32f411 black fill board (0) | 2025.11.22 |
| stm32g473 adc (0) | 2025.11.03 |
전압이 이상하게(?) 낮게 나와서 찾아 보는데 (대충 0.3v 정도?) gpt도 캘리브레이션 하라고 한다.
cubeide에 의해서 생성된 코드로 adc 가 초기화되고 나서
캘리브레이션 한 다음 약 2usec 이후에 HAL_ADC_GetValue(&hadc1); 하면 된다고 한다.
| MX_ADC1_Init(); /* USER CODE BEGIN 2 */ extern ADC_HandleTypeDef hadc1; HAL_ADCEx_Calibration_Start(&hadc1, ADC_SINGLE_ENDED); HAL_Delay(2); /* USER CODE END 2 */ /* Infinite loop */ /* USER CODE BEGIN WHILE */ while (1) { } |
stm32g4 인데 캘리브레이션 하지 않으면 0.924 V가 나왔고
1148
0.924902 * 24 = 22.197655
캘리브레이션 이후에는 0.979 V가 나왔다.
1216
0.979688 * 24 = 23.512501
| stm32g4 cordic fmac (0) | 2025.11.28 |
|---|---|
| STM32CubeProgrammer / uart / parity (0) | 2025.11.28 |
| stm32flash 0.5 0.7 버전과 stm32g473 (0) | 2025.11.28 |
| stm32f411 black fill board (0) | 2025.11.22 |
| stm32g473 adc (0) | 2025.11.03 |