Hi Sunish,

I had a look at the datasheet of the SSD1306, it supports 2 types of serial 
interfaces (see below) and none of them use a RES input. The chip has a RES as 
reset but you always need to have a CS, see below. So the only option would be 
that 'RES' is 'CS' but I assume you already tried that (or RES is an inverted 
version of CS, just thinking out loud here).

If you can find any other information on this type of interface I may be able 
to adapt the library but currently I have no clue how the interface of your SPI 
version should work based on the information in the datasheet.

Kind regards,

Rob


[cid:2d06b76f-b022-4e54-9615-25ebfc3f05f1]


[cid:552e5ef0-b8b7-4246-b0a1-7ffc7a41cb6b]
________________________________
Van: [email protected] <[email protected]> namens Sunish Issac 
<[email protected]>
Verzonden: maandag 3 augustus 2020 09:01
Aan: [email protected] <[email protected]>
Onderwerp: Re: [jallib] JAL Library for SSD1306 graphic display module.

See the pin naming for the 2 versions I have. Yes it's surprising how they call 
it SPI.

Rear view indicates jumpers for SPI.

Kind regards,
Sunish

On Sun, 2 Aug 2020, 11:24 pm Rob CJ, 
<[email protected]<mailto:[email protected]>> wrote:
Hi Sunish,

Hmm for that I need to study the hardware IIC JAL Library.

You said you had no csn pin which is a bit strange for using SPI since I have 
often seen SPI in combination with some kind of chip select. The csn pin only 
goes low at the start of a SPI message and goes high when it ends. The library 
itself does not care about the csn pin, it just makes it low and high as just 
mentioned.

Can you tell me which pins your device does have? I thought there where only 2 
versions and those I used to test the library with.

Thanks.

Kind regards,

Rob

________________________________
Van: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>> namens Sunish Issac 
<[email protected]<mailto:[email protected]>>
Verzonden: zondag 2 augustus 2020 19:10
Aan: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>>
Onderwerp: Re: [jallib] JAL Library for SSD1306 graphic display module.

Hi Rob,
I was using hardware i2c. By interchanging I meant is there is no timeout 
happening if there is no reply from i2c device.

Any hints on what to check with SPI version to get it working ?

Sunish



On Sun, 2 Aug 2020, 9:04 pm Rob CJ, 
<[email protected]<mailto:[email protected]>> wrote:
Hi Sunish,

Thanks for the feedback.

For IIC I include the standard IIC software or IIC hardware JAL library so the 
problem may then be in one of these libraries.

Did the problem occur when using software IIC or hardware IIC? Also, can you 
explain what you mean with SDA/SCL being interchanged?

Thanks

Kind regards,

Rob

________________________________
Van: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>> namens Sunish Issac 
<[email protected]<mailto:[email protected]>>
Verzonden: zondag 2 augustus 2020 16:11
Aan: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>>
Onderwerp: Re: [jallib] JAL Library for SSD1306 graphic display module.

Hello Rob,

I could test your SSD1306 library today. Nice work Rob.

The i2c version works perfectly. Tested with Jaluino2 board and 18f4550.

But I couldn't get the SPI version to work. The module which I used had no 
CS/csn pin.

One thing I noticed while using the library was, i2c version gets locked in the 
init function if SDA/SCL pins are interchanged,ie. if there is no i2c 
communication. But SPI version was continuing with the init function.

Kind regards,
Sunish


On Sat, Jul 18, 2020 at 8:13 PM RobJ 
<[email protected]<mailto:[email protected]>> wrote:
Hi all,

I created a library for the graphic display module using the SSD1306 display 
controller.

For more info (with video) see: http://justanotherlanguage.org/node/321

The library will be available in the next bee package.

Kind regards,

Rob

--
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/f78e7935-eb7a-4432-8803-dbb2926de832o%40googlegroups.com<https://groups.google.com/d/msgid/jallib/f78e7935-eb7a-4432-8803-dbb2926de832o%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/CAFGw2pFYo%3DRhQrV1WQjeyYS3N6CtDpKt5cqibFqoEkeKCxWyCg%40mail.gmail.com<https://groups.google.com/d/msgid/jallib/CAFGw2pFYo%3DRhQrV1WQjeyYS3N6CtDpKt5cqibFqoEkeKCxWyCg%40mail.gmail.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/AM0PR07MB62416278C4F21F22CB75250DE64C0%40AM0PR07MB6241.eurprd07.prod.outlook.com<https://groups.google.com/d/msgid/jallib/AM0PR07MB62416278C4F21F22CB75250DE64C0%40AM0PR07MB6241.eurprd07.prod.outlook.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/CAFGw2pHxPNA5bfBDDmuNQFtgjeg54jnv18W%2ByEAD5bWCkNfXWA%40mail.gmail.com<https://groups.google.com/d/msgid/jallib/CAFGw2pHxPNA5bfBDDmuNQFtgjeg54jnv18W%2ByEAD5bWCkNfXWA%40mail.gmail.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/AM0PR07MB6241C8A8DB7358FBFEDF3B9CE64C0%40AM0PR07MB6241.eurprd07.prod.outlook.com<https://groups.google.com/d/msgid/jallib/AM0PR07MB6241C8A8DB7358FBFEDF3B9CE64C0%40AM0PR07MB6241.eurprd07.prod.outlook.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/CAFGw2pGLamQwYAgqtCjuAmaUC9Lwf9HvFcHZ2xZwNnboqg8eyw%40mail.gmail.com<https://groups.google.com/d/msgid/jallib/CAFGw2pGLamQwYAgqtCjuAmaUC9Lwf9HvFcHZ2xZwNnboqg8eyw%40mail.gmail.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/AM0PR07MB6241F26E384278AEBF85FA52E64D0%40AM0PR07MB6241.eurprd07.prod.outlook.com.

Reply via email to