Git Product home page Git Product logo

nrf-rv-3028-c7's Introduction

nrf-rv-3028-c7's People

Contributors

kampi avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

nrf-rv-3028-c7's Issues

Alarm not working

I am implementing a driver for zephyr with your code. Getting and setting the time work.

However, I am not able to make the interrupt pin go Low after using RV3028_EnableAlarm

Example Code:

rv3028_alarm_t alarm={
        .EnableInterrupts  = true,
        .EnableMinutesAlarm = true,
        .EnableHoursAlarm = false,
        .EnableDayAlarm = false,
        .PM = false,
        .UseDateAlarm = false,
        .Minutes = 1,
        .Hours = 0,
        .Day = 0
    };
    rc = RV3028_EnableAlarm(my_instance,&alarm);`

I set the unix time to 0, and expect that after 60 seconds the interrupt is triggered. If I find a solution I will update this issue. So far I am not sure that this is really setting the AE bit

https://github.com/Kampi/RV-3028-C7/blob/ca11937075232cdb53133656c5c592bd7a96cce0/external/RV3028/RV3028.c#L1095

It should be as follows (right?)

ErrorCode = RV3028_ModifyRegister(RV3028_REG_CONTROL2, 0x01 << RV3028_BIT_AIE, 0x01 << RV3028_BIT_AIE, p_Device);

Adresse I2C

Hello

I try to use your lib with Zephyr.

Adresse I2C for RV-3028-C7 is A4h and A5h for read and write
So why did you put #define RV3028_ADDRESS 0x52

Thank you !
Thanks for you work !

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.