Hi,
I don't get the exact use from that SPI_PIN_READY. Alot of times I run into a loop where SPI_PIN_READY goes HIGH end never returns to low (except I powercycle my Freematics).
Any way to work around this? (Using SPI - Can bus only)
thanks
NO READ SIGNAL - SPI_PIN_READY doesn't return to low
Re: NO READ SIGNAL - SPI_PIN_READY doesn't return to low
Are you using the latest library?
Re: NO READ SIGNAL - SPI_PIN_READY doesn't return to low
No I'm not because I modified mine quite a bit to make it working with electic vehicles.
Are there a lot of changes recently or known bugs with SPI? Which section should I have a detailed look at?
Are there a lot of changes recently or known bugs with SPI? Which section should I have a detailed look at?
Re: NO READ SIGNAL - SPI_PIN_READY doesn't return to low
Well seems not to be SPI related to be honest.
Did more research and found out that the STM32F103C8T6 seems to enter some kind of standby? LED goes off - Meaning OBD_IND changing state after some time. Once that happens I'm "offline" . A AT command bring the LED back up - menaing the STM32 reacts to my input, but I cant get any respnse to my AT commands.
A reset of the ESP32 ia watchdog or power cycle brigns it back to life
Did more research and found out that the STM32F103C8T6 seems to enter some kind of standby? LED goes off - Meaning OBD_IND changing state after some time. Once that happens I'm "offline" . A AT command bring the LED back up - menaing the STM32 reacts to my input, but I cant get any respnse to my AT commands.
A reset of the ESP32 ia watchdog or power cycle brigns it back to life
Re: NO READ SIGNAL - SPI_PIN_READY doesn't return to low
Does the STM Pin expect to be connected to 12V Batt Power and goes into poer save mode because it has no power on 12V?
I'm developing on the bench for obvious reasons.
I'm developing on the bench for obvious reasons.
Re: NO READ SIGNAL - SPI_PIN_READY doesn't return to low
can someone explain why file = SD.open("/log.txt", FILE_APPEND);
brings my SPI bus back to life?
brings my SPI bus back to life?
Re: NO READ SIGNAL - SPI_PIN_READY doesn't return to low
Ok - more research and an answer.
For all guys googling and finding this:
As I use OBD AND SD.h via SPI, those 2 are interferring. Making sure they are not interfering (talking same time) fixed the problem for me. Still not sure why this is happening as obd and sd card are using different SPI pins.
Will find out
For all guys googling and finding this:
As I use OBD AND SD.h via SPI, those 2 are interferring. Making sure they are not interfering (talking same time) fixed the problem for me. Still not sure why this is happening as obd and sd card are using different SPI pins.
Will find out
Re: NO READ SIGNAL - SPI_PIN_READY doesn't return to low
Is this a followup to your earlier post?
viewtopic.php?f=14&t=3102&p=43691#p43691
viewtopic.php?f=14&t=3102&p=43691#p43691