Replies: 1 comment 2 replies
-
|
Hello Forty, Sorry for the very late reply. Porting to the ESP32 is not an easy task. Interrupt handling is very different, and the SPI drivers don’t behave the same between the Teensy and ESP32 implementations. It took me quite some time to get a working version of MicroNav. I’ve ported MicronetToNMEA to a uPesy Wroom DevKitC (based on the ESP32-WROOM-32 module). It seems to be working fine so far — only the LSM303 hasn’t been tested yet. You can find it in the I’m also preparing a dedicated MTN hardware PCB, which you’ll find in the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I try use MicronetToNMEA on ESP32. I know exist other solution as Micronav(not working) or esp32Micronet(to old and compile error).
I like MicronetToNMEA, it's full featured and up to date.
I try to use basic function in MenucalibrateXtal, by change MicronetToNMEA CC1101Driver and RfDriver. For now remove timerHandler function (It is only for trasmit).
ESP32 give trouble in capture interrupt
original ISR function is
void RfIsr(){gRfReceiver.RfIsr();}even though the function is activated it does not activate gRfReceiver.RfIsr()
I can currently work around the issue using a FreeRTOS task that call gRfReceiver.RfIsr();
my code is
void RfIsr(){dt = true;}void BlinkTask(void *parameter) {for (;;) {if (dt = true){gRfReceiver.RfIsr();dt=false;}vTaskDelay(1000 / portTICK_PERIOD_MS);}}I inspected the Micronav code to understand how interrupts are handled, but they moved ISR management from RfDRiver to SX1276MnetDriver, so I would have to significantly modify CC1101Driver.
Can anyone advise me on how to call gRfReceiver.RfIsr(); directly from void RfIsr() ?
Beta Was this translation helpful? Give feedback.
All reactions