Questions tagged [nxp-microcontroller]
219 questions
8
votes
1 answer
Using an Apple Wallet NFC Pass as an NFC tag
Although many topics have already talked about the impossibility for an iPhone to emulate an NFC tag, I found this document that talks about card emulation based on the PassKit (on page 6).
By imagining that I have completed the steps to obtain an…

Martin Denion
- 352
- 1
- 3
- 22
8
votes
2 answers
NFC Offhost routing to the UICC on the Nexus 5X and the Nexus 6P
I am trying to configure the NFC chipset on the Nexus 5X (bullhead) or Nexus 6P (angler) to use the UICC as NFC offhost route for AIDs I declare in my OffHostApduService.
Edit Jan 17, 2016: I've updated this question and also included the Nexus 6P…

Johannes Zweng
- 133
- 1
- 9
4
votes
6 answers
How Can I save some data before hardware reset of microcontroller?
I'm working on one of Freesacle micro controller. This microcontroller has several reset sources (e.g. clock monitor reset, watchdog reset and ...).
Suppose that because of watchdog, my micro controller is reset. How can I save some data just before…

Anmk
- 193
- 1
- 9
3
votes
1 answer
SPI with NXP CLRC663 : read only 0xFF
I am currently working on an SPI communication between an NXP LPC55S06 processor (from the LPC55S06-EVK demoboard) and an NXP CLRC663.
I integrated the NXP NFC library to initialize the CLRC663 and configured the SPI pinouts in the .mex file.
I have…

Martin Denion
- 352
- 1
- 3
- 22
3
votes
0 answers
Zephyr RTOS and i.MX RT1020 eval board accessing Arduino header pins via Device Tree
I'm thinking about doing a project using an NXP eval board with the RT 1020 processor. I want to experiment with and get familiar with Zephyr RTOS.
How, in code, would I access the various Arduino header PINS with the given Device Tree snippet?
…

Chimera
- 5,884
- 7
- 49
- 81
3
votes
1 answer
Setting __attribute__((used)) to C variable/constant has no effect
On ARM GCC (plain C code), when I declare a constant as in
__attribute__((used,section(".rodata.$AppID")))
const uint8_t ApplicationID[16] = {
0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00,
…

LuC
- 347
- 2
- 10
3
votes
2 answers
How can I auto load kernel module on boot in Yocto? (like "insmod /xxx/oo.ko")
Our system is NXP fsl-image-auto and build with Yocto project.
Now we have a 3rd party ko "apex.ko", rootfs Path is /s32v/apex.ko
This module need load on linux boot, so we add "insmod /s32v/apex.ko" line into rcS.d to do this job.
Can this function…

Eric Fan
- 31
- 1
- 3
3
votes
3 answers
How can I duplicate the Interrupt Vector Table using the linker script on a Cortex M0+?
First of all, I hope I'm not asking something that has already been asked before. I've searched as much as I can but I haven't found an answer to my specific problem or something useful.
I'm working on a FRDM-KL82Z board which runs a Cortex M0+…

MAF
- 41
- 5
3
votes
1 answer
Is there a way to send data directly to the JTAG port from application? (Cortex-M3)
I'm using an NXP LPC1769, which contains a Cortex-M3. So far, I've only been accessing it from the JTAG interface, but now I have to do it the other way around. An IT routine is supposed to read certain parts of the memory, and immediately send them…

Muller
- 49
- 4
3
votes
1 answer
How to access the NTAG213 NFC interaction counter?
I'm working on an android app where I need to find the number of times an NFC tag was read. I've gone through the docs on the NFC forum and for NTAG213** there is a field called the MIRROR_CONF using which one can determine whether the interaction…

Roehit Kadam
- 101
- 1
- 11
3
votes
1 answer
Initialing MFRC522 RFID chip in UART interface
I'm using this arduino library to initial & communicate with my MFRC522 chip,library initially used SPI interface for communicating between MCU & RC522.When I'm using it in the SPI interface every thing is OK & correctly operate. Now I'm trying to…

Mahmoud Hosseinipour
- 293
- 3
- 20
3
votes
1 answer
Different clock cycles values for the same (repeated) code
I'm trying to profile some algorithms on my NXP LPC11U37H board (ARM Cortex-M0), as I want to know how many clock cycles are required to execute specific algorithms.
I wrote these simple macros to do some profiling:
#define START_COUNT clock_cycles…

HBv6
- 3,487
- 4
- 30
- 43
3
votes
2 answers
ARM interrupts from the beginning (Cortex-M4)
I am dealing with a new microcontroller LPC4088 from NXP. I needed 2 weeks to study and write a working examples for peripherals: IOCONFIG, GPIO, TIMERS, PWM and ADC. Please take a look at my repositories here. This is how you will get a feeling for…

71GA
- 1,132
- 6
- 36
- 69
2
votes
2 answers
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 certain address (0x40000100), like this:
uint8_t…

Drake
- 21
- 2
2
votes
0 answers
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 containing all SW files
MCU will run a TFTP client…

lily amazon
- 41
- 2