Search Project: *:*

 
<< < 1 .. 413 414 415 416 417 .. 3647 > >> (Page 415 of 3647)

Post by wayne on Discussion for Home page I2C MCP7941x home (Post)
Hello aliazzz, I want to use the Eeprom AT24C (4096x8) on a DS3231. What do I've to change in the code? The i2c-adress is also 16#57, At the moment, after a power failure, the retain data is "0"... Thx, wayne
Last updated: 2020-03-31

Post by ingo on Discussion for Home page I2C MCP7941x home (Post)
AFAIK the driver doesn't change the retain strategy, but it stores and restores the data additionally into the external chip. @aliazzz what is the interval in which the data is stored?
Last updated: 2020-02-11

Post by wayne on Discussion for Home page I2C MCP7941x home (Post)
Hello, now I've opened a thread in the forum: https://forge.codesys.com/forge/talk/Deutsch/thread/a73b9e4a96/ Perhaps, you can look in in my new code? Maybe you can discover a mistake... :-) Thx, wayne
Last updated: 2020-04-03

Post by wayne on Discussion for Home page I2C MCP7941x home (Post)
Ahh... I've looked into the data sheets (that was a good hint ;-) and there was the first problem. The adressing is different (2 bytes for the adress) Yes, i'll run it on a rpi and the i2c detects the 24c32. OK, i will study the data sheet a little bit longer and then create a new CForge project. Thx, wayne
Last updated: 2020-04-02

Post by aliazzz on Discussion for Home page I2C MCP7941x home (Post)
Hi, Surely you can use this library as a basis for your needs. It would be even better if you would start a new CForge project for it. If you do, we can help even better you with implementation for it. You wote *The i2c-adress is also 16#57, At the moment, after a power failure, the retain data is "0"... * The AT24C is a dedicated EEPROM, while the MCP7941x is a multipurpose package (RTC, Calendar and EEPROM) made by a different brand, so if it works out of the box, that would be sheer luck. I think you should download and study the data sheets for your AT24C and the MCP7941x. After studying both data sheets and the library for the MCP7941x you can rewrite it to suit your specific needs. PS, I assume you run it on a Raspberry pi. Have you checked if the i2c master detects it? When your runtime sees the ic, then you can start debugging. Good luck!
Last updated: 2020-03-31

Post by aliazzz on Discussion for Home page I2C MCP7941x home (Post)
Some advice: Never try to use a library for hardware it is not written for (!) In the most negative scenario your hardware could brick or short circuit.
Last updated: 2020-04-02

Post by giuliano on Discussion for Home page I2C MCP7941x home (Post)
Very happy to read this post. But I can't find where you set the runtime to use sram for retain variables instead of file (that is the default setting I think). Thanks
Last updated: 2020-02-11

Post by aliazzz on Discussion for Home page I2C MCP7941x home (Post)
Hi, Thank you! Retain data is normally not supported by the raspberry pi runtime by design of the hardware. Raspberry Pi has to my knowledge never been released with built in SRAM or battery backed up ram or similar. This library focuses purely on realisation of retain data with an mcp7941x RTC Chip with built in SRAM. If you wish to implement a workaround via a textfile, you are free to do so yourself as it is not part of the mcp7941x RTC Chip. With kind regards
Last updated: 2020-02-11

Post by aliazzz on Discussion for Home page I2C MCP7941x home (Post)
Ehm, to rephrase it: the Retain mechanism in Codesys will compile but will not work in the standard raspberry pi hardware. This package enables the user to leverage battery backed up hardware sram support in a raspberry pi via the retain mechanisme which will work in combination with this library. The smallest working stable interval for me is T#1msec (see table) Your mileage may vary!
Last updated: 2020-02-11

Home (version 36) discussion I2C MCP7941x home (Thread)
Home (version 36) discussion
Last updated: 2019-04-10

Home (version 10) discussion I2C MCP7941x home (Thread)
Home (version 10) discussion
Last updated: 2019-04-05

Home (version 35) discussion I2C MCP7941x home (Thread)
Home (version 35) discussion
Last updated: 2019-04-08

Home (version 45) discussion I2C MCP7941x home (Thread)
Home (version 45) discussion
Last updated: 2019-05-08

Home (version 7) discussion I2C MCP7941x home (Thread)
Home (version 7) discussion
Last updated: 2019-04-08

Home (version 39) discussion I2C MCP7941x home (Thread)
Home (version 39) discussion
Last updated: 2019-04-11

Home (version 38) discussion I2C MCP7941x home (Thread)
Home (version 38) discussion
Last updated: 2019-04-10

Home (version 46) discussion I2C MCP7941x home (Thread)
Home (version 46) discussion
Last updated: 2019-05-16

Home (version 44) discussion I2C MCP7941x home (Thread)
Home (version 44) discussion
Last updated: 2019-05-07

Home (version 28) discussion I2C MCP7941x home (Thread)
Home (version 28) discussion
Last updated: 2019-04-08

Home (version 51) discussion I2C MCP7941x home (Thread)
Home (version 51) discussion
Last updated: 2019-12-08

Home (version 29) discussion I2C MCP7941x home (Thread)
Home (version 29) discussion
Last updated: 2019-04-08

Home (version 50) discussion I2C MCP7941x home (Thread)
Home (version 50) discussion
Last updated: 2019-12-08

<< < 1 .. 413 414 415 416 417 .. 3647 > >> (Page 415 of 3647)

Showing results of 91169

Sort by relevance or date