Git Product home page Git Product logo

f1c100s_projects's People

Contributors

nminaylov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

f1c100s_projects's Issues

undefined function touch_init_lvgl();

hello dear sir
i made a project with this awesome repasitory of yours.
everything is working perofect but the important toch screen have error.
touch_init_lvgl(); not defined !
can you please help me with this.
thanks alot sir.

gpio interrupt

Hi there,
Sorry again today i was struggling with gpio interrupt which does not seems to be working at the moment. I am not sure if i am doing something wrong or may be its not done yet. I saw comment in gpio driver TODO_EINT.
Let me know if you tested it before, i was trying it as follows :

eint_pin_init(GPIOE_INT,8,EINT_TRG_RISING);
eint_pin_enable(GPIOE_INT,8);

intc_set_irq_handler(IRQ_GPIOE, gpio_porte_irq_handler);
intc_enable_irq(IRQ_GPIOE);

But it never reaches ISR function.

void gpio_porte_irq_handler(void)
{
uint8_t s = eint_pin_get_status(GPIOE_INT,8);
printf("in gpio_porte_irq_handler...staus=%d\n",s);
eint_pin_clear_status(GPIOE_INT,8);
}

Thanks, Rishi

I2C library

There is no I2C library or implementation. can you help me how I can activate it ?

Jumping to FEL mode from bootloader

Hi there,
I am trying to jump to FEL mode from my code which is not working, i am wondering if you can help in this.

Basically what i am trying to do is in your Simple bootloader sample lets says if valid application is not found then i want to jump to FEL mode. I am trying by jumping to 0xffff0020 address.
I tried :
asm volatile("ldr r0, =0xffff0020");
asm volatile("mov pc,r0");

Seems like it jumps i can see on my dmesg :
[57460.002932] usb 1-11.3.2: new full-speed USB device number 63 using xhci_hcd
[57475.418870] usb 1-11.3.2: device descriptor read/64, error -110
[57491.034767] usb 1-11.3.2: device descriptor read/64, error -110

But eventually it fails to setup the usb device.
May be SP also needs to be adjusted, i do not have much deeper understanding in assembly.

Is there any other way where we can programatically jump to FEL mode.
Please let me know once you have some time.

Thanks, Rishi

** I am sorry i accidentally posted it as comment on my last gpio interrupt issue which is closed now.**

simple loader make problem and solution

New version xpack-arm-none-eabi-gcc-11.3.1-1.1 needs an edit in f1c100s_sram.ld file like below

SECTIONS
{
.text :
{
PROVIDE(__image_start = .);
PROVIDE(__text_start = .);
build/start.o (.text)
(.text)
*(.init.text)
*(.exit.text)
(.glue)
*(.note.gnu.build-id)

PROVIDE(__text_end = .);
} > sram

simpleloader boot issue

Hi there ,
I am trying to use F1C100s simpleloader app.
Everything links perfect then i fix eGON.BT0 header and finally writes it at spi flash address 0. When i re-boot F1C100 seems like it never enters main function or can not finish sys_clk_init() as i don't see any output on uart0.

I was wondering if you can give any ideas....

Thanks,Rishi

GPIO Interrupt not working

void gpioe_irq_handler(void)
{
printf(",");
uint8_t a = eint_pin_get_status(GPIOE, 11);
printf("status = %d , %d\r\n",a);

}

int main(void)
{

.............................................................
gpio_pin_init(GPIOE, 11, GPIO_MODE_AF5, GPIO_PULL_NONE, GPIO_DRV_3);
eint_pin_init(GPIOE, 11, EINT_TRG_RISING);
eint_pin_enable(GPIOE,11);

f1c100s_intc_set_isr(F1C100S_IRQ_GPIOE, gpioe_irq_handler,0);
f1c100s_intc_set_priority(F1C100S_IRQ_GPIOE,1);
f1c100s_intc_enable_irq(F1C100S_IRQ_GPIOE);

.............................................

}

why this code not woking, interrupt not trigered. anybody help me please

Using TV in and TV out

Hi
i`m trying to use tv out first
but when i run the code , i have a blank page
when checked the signal with oscilloscope , the base signal generated but haven't any picture data
in this video a wire is connected to the PA3. its connected to where? its important ?!

uart flow control

Hi there,
I wanted to add flow control support to my uart port. Current driver disables the flow control by default.
I want to use RTS/CTS flow control, to achieve this, i just have to set MCR[5] =ON (AFCE bit) or is it more than this.

And sorry for asking this question now as i haven' tried anything yet, but i thought may be you can throw some more light on how and what needs to be done to achieve this.

Thanks, Rishi

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.