Good evening,
I use the lambda Shield with an official Arduino Mega.
I use 12V 2A on the arduino DC input and connect lambda Shield using X7 connector.
When i start the sample code I have only CJ125 Error 0xFFFFFF.
Any Idea what's happening?
Thanks for your help.
CJ125 error with SD-card
- Christian_Bylund
- Posts: 270
- Joined: 07 Mar 2015 18:09
Re: CJ125 Error 0xFFFFFF
Hi EBSolution, are you using the original Lambda Shield or the Lambda Shield 2?EBSolution wrote: ↑26 Jul 2021 22:36Good evening,
I use the lambda Shield with an official Arduino Mega.
I use 12V 2A on the arduino DC input and connect lambda Shield using X7 connector.
When i start the sample code I have only CJ125 Error 0xFFFFFF.
Any Idea what's happening?
Thanks for your help.
Thank you.
Best Regards,
Christian Bylund
Bylund Automotive AB
Christian Bylund
Bylund Automotive AB
-
- Posts: 3
- Joined: 26 Jul 2021 22:24
Re: CJ125 Error 0xFFFFFF
It is the lambda Shield 2
- Christian_Bylund
- Posts: 270
- Joined: 07 Mar 2015 18:09
Re: CJ125 Error 0xFFFFFF
This indicates that there is a problem with SPI communication.
1. Can you please share a picture of your set up?
2. Are you using the example code without modifications?
Thank you.
Best Regards,
Christian Bylund
Bylund Automotive AB
Christian Bylund
Bylund Automotive AB
-
- Posts: 3
- Joined: 26 Jul 2021 22:24
Re: CJ125 Error 0xFFFFFF
Hi,
I've found the reason: i have an sd Card reader connected to the SPI BUS using pins 50 to 52 and Chip Select pin 53.
If I disconnect this SD card Reader, everything works fine.
I see that CJ125 SPI communication uses pin 10.
The SD SPI communication don't specify any chip select so it should be pin 53 for arduino Mega.
How can I use both Lambda shield2 and sd card reader on a Mega board?
Thanks for your quick replies and have a good day.
EBS
I've found the reason: i have an sd Card reader connected to the SPI BUS using pins 50 to 52 and Chip Select pin 53.
If I disconnect this SD card Reader, everything works fine.
I see that CJ125 SPI communication uses pin 10.
The SD SPI communication don't specify any chip select so it should be pin 53 for arduino Mega.
How can I use both Lambda shield2 and sd card reader on a Mega board?
Thanks for your quick replies and have a good day.
EBS
- Christian_Bylund
- Posts: 270
- Joined: 07 Mar 2015 18:09
Re: CJ125 Error 0xFFFFFF
Excellent, then I can tell you that you may also have a problem with the SD-card adapter.
Have a look at this video for more information on how to use a SD-card sharing the SPI bus with the CJ125.
Thank you.
Have a look at this video for more information on how to use a SD-card sharing the SPI bus with the CJ125.
Thank you.
Best Regards,
Christian Bylund
Bylund Automotive AB
Christian Bylund
Bylund Automotive AB