233 questions
0
votes
0
answers
16
views
HarfBuzz + FreeType on bare-metal: GSUB shaping causes hard fault
I’m trying to use HarfBuzz 8.3.0 with FreeType 2.13.2 and lvgl on NXP i.MX RT1064 with bare-metal and I'm encountering hard faults during Indic (GSUB) shaping [which you can see in the image]. I ...
0
votes
0
answers
19
views
GPIO Toggle on imx95evk using Zephyr
I was trying to toggle GPIO_IO16 using M Core of imx95evk. By default the pin is muxed to sai3 therefore I had to use pinmux to remap the pin to gpio_io_bit_16 and deleted sai3 nodes to avoid any ...
2
votes
0
answers
111
views
Zephyr with NXP S32k344 UART DMA [closed]
I struggle with correct settings for LPUART14 DMA.
My current settings in DTS for LPUART14 is:
dmas=<&edma 20 46>, <&edma 21 47>
Where slot 46 is TX, 47 is RX.
Channel 20 means ...
0
votes
0
answers
35
views
How to deploy .keras and .joblib models in FRDM MXCN947 (NXP) Microcontroller?
I have created 3 models (a RF, CNN-LSTM and a MLP) to be deployed in the FRDM MCXN947 microcontroller.
They have sizes of 2.18 GB, 7.75 MB and 0.186 MB respectively. I have saved the RF model as ....
0
votes
0
answers
19
views
Timer interrupt on overflow NXP MXRT1062 chip
I set a timer to be able to catch times between rising edges of an external signal. Those interrupts work fine but I would like to interrupt also the timer on its overflows when the external signals ...
-4
votes
1
answer
200
views
S32 Design Studio: Configuring Chip (S32K144)
I am starting a S32K144 based project with S32 Design Studio. I previously worked with STM32/STM32 Cube IDE and expecting somewhat similar experience here (maybe with less features).
One of the things ...
1
vote
0
answers
46
views
i.MX 8ULP Fusion DSP enable
I am using the i.MX 8ULP microcontroller, and I would like to use TPM3, lpSPI2 from the DSP domain. How could I activate or enable the domain and the PCC2 bus, so I could have full access to the ...
2
votes
1
answer
56
views
Writing a log file to the RW612 Board and retrieving the file on another device
I am currently working on the frdm RW612 board and have the following code that measures the temperature in the room over a few days. My script works fine but I have no way of gathering this data. ...
0
votes
1
answer
84
views
What is the correct procedure for setting a write-protection password on an NXP NTAG213 tag?
I'm working on an NFC tag project where I'm encoding a public ID onto the tags. A key requirement is to protect this ID with a password, preventing unauthorized rewrites. I've built a helper class to ...
0
votes
0
answers
14
views
Will ISR function be automatically generated in MCUXpressoIDE for a custom interrupt-based application on LPCXpresso860-MAX EVK?
I am using the LPCXpresso860-MAX EVK and developing my application in MCUXpressoIDE. I plan to write a custom interrupt-based application. I would like to know if the ISR (Interrupt Service Routine) ...
1
vote
0
answers
88
views
LPC43xx UART configuration using libopencm3
I'm stuck with establishing communication between LPC43xx MCU and ESP32. I have wiring checked (RX to TX and vice versa) ESP32 to ESP32 and everything is OK, but with LPC I feel that missing some ...
1
vote
0
answers
41
views
Continuous ADC-DMA Conversion Support on LPCXpresso860-MAX
I am currently working with the LPCXpresso860-MAX platform, using the LPC ADC driver in combination with DMA to automate the transfer of ADC conversion results. I would like to implement continuous ...
0
votes
0
answers
63
views
LPC55S28 not able to connect to the JLink Debugger
I have an issue with my PCB. The NXP LPC55S28 on my PCB is unable to connect to the Jlink debugger. I don't know what is wrong its my first time with NXP LPC MCU so I have very little idea of what ...
0
votes
0
answers
50
views
Problem Decoding MP3 to PCM with Noise Artifacts on NXP RT1062
I am working on a firmware for the NXP RT1062 where I am successfully playing audio in PCM format. I wanted to add MP3 decoding functionality. To achieve this, I did the following:
Left the PCM ...
0
votes
3
answers
165
views
6D00 error when writing to a Data Group (DG) secured with PACE
I am encountering an issue when trying to write to a Data Group (DG) that I have secured with PACE. Here is the context:
The DG is protected for both reading and writing with PACE.
I am able to read ...
1
vote
0
answers
25
views
No sound from codec LINEOUT on NXP LPC55s36
I'm using LPC55s36 i ran i2s_dma_transfer example, i changed pins like example say.
I'm not getting any sound out of codec LINEOUT jack port.
wm8904_config_t wm8904Config = {
.i2cConfig = {....
1
vote
1
answer
219
views
Slow breakpoint triggering with GDB and LinkServer/MCULink
I'm working on a project involving the NXP i.MX RT1060, and I'm using NXP's MCULink for debugging. I use NXP's LinkServer for running a GDB server, and the Cortex-Debug extension in VSCode for GDB. ...
0
votes
1
answer
95
views
Not getting sound in rt5640 audio codec in imx8mplus
I am working on a custom board which is using imx8mplus SoC and two rt5640 audio codec chips. In both of them, one is working as a master and the other is working as a slave. I need to enable the ...
2
votes
0
answers
38
views
MCUXpresso with MQX 4.2 : Kinetis MK64FN1M0VLQ12
I'm compiling an old Code Warrior v10.6 (Freescale) project with MQX 4.2 in MCUXpressov11.9.1 (NXP). I want to continue to use MQX 4.2 in MCUXpresso. I can't resolve the following error on the MQX ...
0
votes
1
answer
114
views
HITAG2 tag with HTRC110
I am new to HITAG token types, and I am learning how to read them using the HTRC110 ABIC, I have a PCF7936 transponder token, from what I know, The HITAG protocol is reader speak first, so to be able ...
0
votes
0
answers
211
views
Change gpio state for Yocto based project
I am trying to do my first hardware "Hello, world" application, i. e. to blink some LED. Unfortunately, I do not have a success. Program and image are built sucessfully, program is executed ...
1
vote
0
answers
58
views
MKL02Z32xxx4 (FRDM-KL02Z Board) Timer overflow interrupt not firing
I never get into the TPM0_IRQHandler() it's supposed to call. However, all of the register seem to be set, even the Timer Overflow Flag register when the timer actually overflows. So appears it just ...
0
votes
0
answers
137
views
Can't get watchdog to kick on freeRTOS application using S32K mcu
Using the S32K146 MCU with DS for ARM v2.2.
After I initialize my WDOG, I can confirm that it is working to reset the system... but I cannot seem to successfully kick the WDOG. It just keeps resetting ...
0
votes
0
answers
192
views
Is it possible to emulate nfc tag via adb tools?
Is anybody know, if it's possible to "make" my phone think that it has read a specific nfc ntag215 with specific UID? I was testing it on NFC tools pro.
Command I used:
adb shell am ...
0
votes
1
answer
297
views
J-Link script to flash program in S32K144 (allow security)
I want to secure S32K144 using J-Link script but not able to program the security bits and hence verification failed.
So how to specify device S32K144 (allow security) in J-Link script?
I have ...
0
votes
1
answer
154
views
How to write large amount of data to sd card?
I use LPC54616 to write data on SD Card (FATFS library). The data that are written to SD card are generated in timer callback (~100B per 1ms). I use buffer (uint8_t buffer[6000];) to store this data ...
0
votes
1
answer
89
views
How to implement ThreadX's ppp_byte_send for NXP MIMXRT1040-EVK
I'm working on getting PPPoS working in ThreadX on an MIMXRT1040-EVK. However, I'm facing an obstacle related to the sending of PPP data over UART.
In ThreadX's nx_ppp_create function one of the ...
0
votes
1
answer
139
views
FlexNVM Data Corruption When Power Cuts Off During Data Write
I am using the NXP S32K148 Microcontroller.
Imagine in the middle of writing data to the EEPROM (FlexNVM module), power suddenly cuts off exactly in the middle of data transmission.
Is there any way ...
-2
votes
1
answer
111
views
Particular experience with using different MCUs from different vendors [closed]
I've recently had an interview for an embedded C software position where the interviewer asked which type of Microcontrollers I am most familiar with - from TI, NXP, STMicroelectronics etc.?
I ...
0
votes
1
answer
287
views
Error 69 82 when doing APDU verify instruction with biometric
I want to implemente match on card verification on my device.
The first two steps (parameter with Threshold and Rotation ) proceed successfully with a 9000 response, but during the verification step, ...
1
vote
1
answer
271
views
Reasons to enable/disable Icache
I found a piece of watchdog driver code for an i.MX RT 1xxx Arm Cortex-M7, before initializing the WDT, there was an Icache disable, and an enable just after the WDT initialization. Why is that done ...
-1
votes
1
answer
346
views
u-boot environement writing is always enabled regardless of force_ro value
On my platform, the u-boot environment variables can always be modified. Currently, I'm changing the value of force_ro to '1', which sets the permission mode to read-only. This change is reflected in ...
0
votes
1
answer
484
views
Cannot override Linux defconfig for NXP i.MX8 linux-imx package in Yocto Kirkstone
I am using Yocto to produce a build for a SolidRun i.MX8 platform. For this I am using the official NXP Kirkstone release with the Linux kernel 5.15.
# Inialize NXP repositories
RUN .bin/repo init -u ...
1
vote
1
answer
429
views
Is there a way to write to an invalid memory access?
I'm defining memory region to store incoming data, but this regions are not initialized as I'm defining them through pointers (the pointers represent start/end), so when I'm trying to copy data (write)...
0
votes
1
answer
108
views
Unable to find root cause why i am unable to program the LPC54606 microcontroller
LPC54606 Unable to Connect to Target
I am using LPC54606J512BD100 microcontroller and facing a very serious issue.
The issue is that after successful programming and working with it the ...
0
votes
0
answers
4k
views
How to clone a MIFARE classic 1K card on an Android phone
I'm working on a project which purpose is to emulate the classic 1k card on a smartphone (with an NFC chip) via website (eg django) or an android application in order to access university buildings ...
0
votes
0
answers
177
views
How can I create a file on SD card in C using NXP processor?
I can use functions in C that write/read data from SD card, using LPC54616. This functions are able to modifiy each byte in the card. But if I insert card to the computer, I can't view stored data. So ...
1
vote
1
answer
683
views
Identical code compiled in MCUXpresso is 3 times larger than in MDK-ARM … Why?
I ported an old project targeting LPC1788, not even all of the code.
Size summary in Keil says:
Program Size: Code=158,812 RO-data=195,200 RW-data=1,130,632 ZI-data=36424
Adding together:
Code + data =...
0
votes
1
answer
2k
views
Completed memory flashing instead of big latency and errors (using openocd and gdb)
I want to use ST-Link V2 to program and debbug microcontroller LPC1115 through the SWD interface. The problem is that I get multiple warnings and error during sending the commands and flashing takes ...
1
vote
0
answers
624
views
any known issue with ioread64() / iowrite64() on a PCIe bus?
I have a similar issue mentioned here but with a different behavior.
We have an FPGA (from Altera) acts as a 32KB memory on a PCIe bus of IMX8M-Plus CPU (ARM Cortex-A53).
I wrote a simple driver to ...
0
votes
0
answers
165
views
Stack overflow after call to OSStartHighRdy (uC/OS-III)
I'm in the process of getting uC/OS-III working on an NXP MIMXRT1062 using the MCUXpresso ide with gcc compiler. When the OS starts multitasking it calls the OSStartHighRdy function:
.thumb_func
...
-1
votes
1
answer
414
views
i.MX8 problem: why core M4 periodicly slowly?
I try SOM on i.MX8, but has problem: M4 core periodic change performance.
In ours task we programm M4 to generate signal diagramm (by GPIO, inside timer handler).
On power on, all is OK.
But after ...
1
vote
0
answers
342
views
How does the USB Host handle data Tx/Rx when my USB device is a CDC Device with no Data Interface Class
Here's the background of what I am trying to accomplish:
I need my microcontroller (NXP i.MX RT series) to communicate with a
USB device (power meter) which is just a CDC Device that will appear
as a ...
2
votes
2
answers
1k
views
Sharing a variable between bootloader and application in C
I want to share a variable (a boolean is enough) between bootloader and application.
Bootloader should write a boolean instead the application should read it.
I thought I can write 1 or a 0 to a ...
0
votes
1
answer
669
views
Can QT and FreeRTOS work together on MCU?
I may ask a stupid question. I want to use FreeRTOS as the OS on my NXP MCU MIMXRT1062XXXXB. The MCU connects to a display. I want to use QT to development user interface application. I want to know ...
2
votes
0
answers
2k
views
TFTP client error when trying to open the requested file
I have already posted my question on NXP comunity forum but the team says that LWIP is open source and not related to NXP. which I agree.
I have the following scenario :
PC will run a TFTP server ...
2
votes
0
answers
244
views
Running a Quantized UINT8 lstm model generates FlexTensor Error
Facing Error On running lstm model
ERROR: Fallback unsupported op 32 to TfLite
Explicitly applied EXTERNAL delegate, and the model graph will be partially executed by the delegate w/ 13 delegate ...
2
votes
1
answer
2k
views
Linux device driver startup dependencies
I'm working on an embedded Linux device (based on an NXP i.MX8 mini SoC) and it needs to support microphone audio input using the NXP "micfil" driver (sound/soc/fsl/fsl_micfil.c).
As a part ...
1
vote
1
answer
522
views
Porting a project that is written for STM32 (ARM-Cortex M7 to NXP (ARM-Cortex M7)
The STM32 supply is very bad at the moment hence I am considering moving away from the STM32 and going for NXP since the supply is much better.
I would like to ask for advice regarding migrating from ...
0
votes
1
answer
400
views
what does linker script notation "ROM_NOCOPY“ means?
I can't found the specific definition or any explanation about the linker notation "ROM_NOCOPY" shows in the following ld files snippets,
MEMORY
{
CM7_CORE_DTCM : ORIGIN = 0x20000000 , ...