This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Nordic Gazell resources timer

Hi every one,

I'm working on a custom broad and I'm trying to setup a gazell based protocol. I had a solution using soft device and BLE which worked fine but we want to skip connection step and get more data efficiency.

On device part, I want to retrieve information from a smart card, to do so, I must start a timer and use on PPI channel. But when I do, gazell doesn't respond anymore.

I read the documentation and I use different resources but I can't figure out what happen.

I had tried to use both gazell library (with and without soft device) (gzll_gcc.a / gzll_sd_resource_gcc.a) but anyway it seem to use the same resource TIMER 2 PPI 0, 1, 2 SWI 0 whereas soft device should use TIMER 0 PPI 8, 9, 10 SWI 1

I know that the configuration doesn't change cause linker exit on error cause app_timer already use SWI 0. Did I miss configure the library ?

For my smart card, I use TIMER 1 and PPI 3 Did you know if those resources are used by somethings else ?

Parents
  • @A_Caron: I just tested here again with gzll_sd_resources_gcc.a in gcc and reproduced the issue.

    Last time I was tested with Keil (the .lib file). That's why it worked for me.

    I just check and gzll_gcc.a and gzll_sd_resources_gcc.a, they seem to be identical !

    I will report it as a bug and will get back to you when we have the correct library out. Thanks for pointing out.

    In the mean time I guess you can modify the app_timer to use SWI1 (or use app_timer_ble_gzll.c).

    gzll_ack_payload - TIMER1.zip

  • Great ! I'll wait for news about it.

    What about my other problem ? Every things works perfectly fine, I'm able to send packet to host and it respond to device.

    But when I start TIMER1 to access smart card, I'm not longer able to send new packet. They are no error raised by Gazell, nrf_gzll_add_to_tx_fifo() return success but host never receive anything and nrf_gzll_device_tx_success() or nrf_gzll_device_tx_failed() are never call either.

    Thank you for your time and interest !

Reply
  • Great ! I'll wait for news about it.

    What about my other problem ? Every things works perfectly fine, I'm able to send packet to host and it respond to device.

    But when I start TIMER1 to access smart card, I'm not longer able to send new packet. They are no error raised by Gazell, nrf_gzll_add_to_tx_fifo() return success but host never receive anything and nrf_gzll_device_tx_success() or nrf_gzll_device_tx_failed() are never call either.

    Thank you for your time and interest !

Children
No Data
Related