Hi all,
some days ago I asked for a question: basically I had to implement an emulation of two sensors that behave as a SPI slave for testing purposes. Working with Arduino UNO was fine, but Arduino can behave as a single SPI slave, so two...
So basically, if I have three interrupts on three different pins, I can disable just one of them with detachInterrupt()? Cool!
Is there any other difference between calling detachInterrupt or NVIC_DISABLE_IRQ? Maybe one is faster?
Hi all,
let's say I'm attaching an interrupt to a pin
attachInterrupt(digitalPinToInterrupt(pin), isr, FALLING);
and I want, in certain conditions, to disable only this interrupt. Is there a way of doing this? Maybe by calling...
I naively though that since ATMEGA328P supports it, it is something easily supported by others.
My clock is slow enough that an Arduino UNO can reply correctly (see picture below) to all master transactions using interrupts, not sure if I can...
Hi all,
I've configured an SPI peripheral as a slave. I can read correctly the bytes that the master sends me, but I can't reply.
RT1060 manual says it's possible to have a full duplex transfer in slave mode (see manual, p. 2855).
Is it...
This is the solution! Not knowing where the error was, I didn't check those values. Now, I can use SPI1:
This is the trick.
switch (portnum) {
case 0:
iomuxc_base[0] = 0; // IOMUXC_LPSPI4_PCS0_SELECT_INPUT. For LSPCI4: (401F_851Ch)...
Hi all,
I'm using a teensy 4.1 as an SPI slave to sniff SPI transactions. The same master writes to two different slaves in two different moments:
I want to sniff the two transactions from the master. CS1 is connected to SPI CS (pin 10) and it...