ESP Main.c missing and cummins info #15
Replies: 2 comments
-
Downloaded the commit from last june that seemed complete. Looks like your using external GPIO expander via I2C? May I ask what your timings are like? Are you able to keep strict control? I found the freertos overhead extremely challenging on getting timings correct with the internal RMT peripheral, let alone freertos I2C talking to external hardware. |
Beta Was this translation helpful? Give feedback.
-
Hi @Decryptortuning , that main.c is long obsolete. Things have changed in recent years and I stopped sharing source code. VPW is handled by hardware timers and GPIO interrupts; RMT is not used at all. The I2C port expander is not causing any trouble. I have yet to test active BLE communication if it has any effect. Cummins docs: maybe some other time, thanks for offering! |
Beta Was this translation helpful? Give feedback.
-
Hello,
![image](https://private-user-images.githubusercontent.com/19156562/295674532-52534007-3c0a-457a-97d7-7e4fd223e4fb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxODkzNzMsIm5iZiI6MTczOTE4OTA3MywicGF0aCI6Ii8xOTE1NjU2Mi8yOTU2NzQ1MzItNTI1MzQwMDctM2MwYS00NTdhLTk3ZDctN2U0ZmQyMjNlNGZiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDEyMDQzM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWI0MDE0MzQ5MTBmNTNiOTRlNDMwYTRmZmM4ZWQ4NzE5NzJmODRjZjBmM2NjOWQ5ODQ4YzQwYzM5MjM2NjAxYWEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Restyfz2TZDWoK4AgO_BoTlVZreDp4UPXVuQ4pz7uRM)
@laszlodaniel
Stumbled upon your project. I saw links to source via tindie, came here, and found bins. Is this repo only for releases? I dug around and found main.c for the ESP as expected but in some later commit it goes away.
Backround: Built esp32 based generic datalink tool for random one-off needs. I am implementing VPW via the RMT driver and wanted to look at your implementation and ask how your timings ended up working out with freertos's interrupt overheads.
Fun fact, I come from a long time background of reverse engineering ECM's and vehicle technology. I stumbled upon some of your Cummins support. I have some documentation that would make your life a lot easier and give some major help. Hoping I can collaborate with you some.
Beta Was this translation helpful? Give feedback.
All reactions