Search found 55 matches

by yhcheng3
11 Apr 2024, 15:27
Forum: FAQ
Topic: FAQ_MA35_Family How to set SPI
Replies: 0
Views: 132

FAQ_MA35_Family How to set SPI

Question : MA35D1 How to use SPI ? Answer. Modify ma35d1-iot-512m.dts and add the configuration of spidev0 . &spi2 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_spi2>; spidev2: spi@0 { compatible = "adi,adxl345"; reg = <0>; spi-max-frequency = <5000000>; }; }; Enable " User mo...
by yhcheng3
11 Apr 2024, 15:23
Forum: FAQ
Topic: FAQ_MA35_Family SWriter Program NAND FLASH
Replies: 0
Views: 35

FAQ_MA35_Family SWriter Program NAND FLASH

Question : MA35D1 SWriter program NAND FLASH Answer. Because the DDR initial file in the new version of NuWriter is larger, users need to modify the pack.json file. Modify otp_writer.bin and sd_writer.bin : { "offset": "0x3000", "file": "sd_writer/otp_writer.bin", "type": 0 }, { "offset": "0x4000",...
by yhcheng3
11 Apr 2024, 15:17
Forum: FAQ
Topic: FAQ_MA35_Family NonOS_BSP_Modify_FrameRate(CCAP)
Replies: 0
Views: 35

FAQ_MA35_Family NonOS_BSP_Modify_FrameRate(CCAP)

Question : MA35D1 NonOS BSP Modify Frame Rate(CCAP_SensorToDisplay) Answer. The sample of the HM1055 sensor in the MA35D1_NonOS_BSP has an output frame rate of only 10FPS at 720P. The frame rate of the 720P output in the HM1055 sensor sample( ~\SampleCode\StdDriver\CCAP_SensorToDisplay ) is only 10...
by yhcheng3
11 Apr 2024, 15:13
Forum: FAQ
Topic: FAQ_MA35_Family DTS SPI_Clock Setting
Replies: 0
Views: 32

FAQ_MA35_Family DTS SPI_Clock Setting

Question : MA35D1 DTS SPI Clock Setting Answer. The default clock configuration of SPI2 is 10MHz. If users want to modify this frequency, how to do in DTS (device tree)? spi2: spi@40620000 { compatible = "nuvoton,ma35d1-spi"; reg = <0x0 0x40620000 0x0 0x10000>; interrupts = <GIC_SPI 116 IRQ_TYPE_LE...
by yhcheng3
11 Apr 2024, 15:04
Forum: FAQ
Topic: FAQ_MA35_Family Cyclictest
Replies: 0
Views: 35

FAQ_MA35_Family Cyclictest

Question : MA35D1 Cyclictest of RT-tests Answer. cyclictest is a tool used in Linux systems to test real-time performance and response time. It reads the counter through a loop and tests the number of loops that can be executed within a certain period of time. This reflects the system's real-time r...
by yhcheng3
11 Apr 2024, 14:56
Forum: FAQ
Topic: FAQ_MA35_Family Adjust Volume Noise Problem
Replies: 0
Views: 33

FAQ_MA35_Family Adjust Volume Noise Problem

Question : MA35D1 Adjust Volume Noise Problem Answer. Turn on the NAU88L24 DAC Zero Crossing function. See nau8824 registers below: voice.PNG . . Use amixer to enable the Headphone Zero Crossing function of the audio codec. The command: $ amixer cset numid=xx 1 * xx is the number id of Headphone ZC...
by yhcheng3
11 Apr 2024, 14:52
Forum: FAQ
Topic: FAQ_MA35_Family How to Use Precision Time Protocol(PTP)
Replies: 0
Views: 31

FAQ_MA35_Family How to Use Precision Time Protocol(PTP)

Question : How to use Precision Time Protocol (PTP) ? Answer. MA35D1 test process is as follows: Buildroot setting: $ make menuconfig Target packages --> System tools --> util-linux --> [*] hwclock Networking applications --> [*] ethtool [*] linuxptp Kernel setting: $ make linux-menuconfig Device D...
by yhcheng3
11 Apr 2024, 14:46
Forum: FAQ
Topic: FAQ_MA35_Family External 2G DDR EVB Settings
Replies: 0
Views: 28

FAQ_MA35_Family External 2G DDR EVB Settings

Question : MA35D1 external 2G DDR EVB Settings Answer. Modify the kernelmem parameter in ~MA35D1_Buildroot\board\nuvoton\ma35d1\uboot-env.txt to 2048M Buildroot’s config select numaker_som_ma35d16ab1a_defconfig Download the latest version of Nuwriter and select DDR MA35D1_NuWriter/ddrimg/MA35D16A08...
by yhcheng3
11 Apr 2024, 14:39
Forum: FAQ
Topic: FAQ_MA35_Family M4 RAM Resize
Replies: 0
Views: 33

FAQ_MA35_Family M4 RAM Resize

Question : How to adjust the memory allocation of M4? Answer. Using the latest BSP , you can modify the usage space of M4 as follows: Buildroot can modify the usage space of M4 (maximum 4MB ). Users can modify it according to their needs. 1. Modify Kernel of device tree: ma35d1-som-512m.dts reserve...
by yhcheng3
11 Apr 2024, 14:34
Forum: FAQ
Topic: FAQ_MA35_Family How to Modify Uboot Parameters
Replies: 0
Views: 27

FAQ_MA35_Family How to Modify Uboot Parameters

Question : How to modify uboot environment parameters ? Answer. Modify the following files in buildroot: Configuration in buildroot/board/nuvoton/ma35d1/uboot-env.txt And compile : $ make uboot-rebuild $ make arm-trusted-firmware-rebuild $ make #MA35 , #uboot #u-boot #buildroot .