Quantcast
Channel: Forum - Recent Threads
Browsing all 5781 articles
Browse latest View live

RE: Real Time Clock Demo application code

Hi Tim,Ok, thank you.  Im thinking the rtc_hal_calendarCounterStart, is what I need to execute to start it?  So once power comes back up in a battery backed up rtc scenario, the time before the...

View Article


RE: Real Time Clock Demo application code

Yes.  Don't consider me an expert in the api for the rtc but it seemed that on startup if I just opened and then called calendarTimeGet repeatedly, I always got the same time back.  It wasn't until I...

View Article


RE: Real Time Clock Demo application code

Sorry I should have read your post more carefully.  Yes, the calendarCounterStart call is enough.  I'm not sure why I was getting then setting.  Not as good as your suggestion.  I just tested that and...

View Article

RE: Real Time Clock Demo application code

Ok, cool.  Thank you Tim.  Yeah if we can help each other figure this out then great.  Im thinking that there is a way to keep from loosing time.  What point is a rtc if it cant keep time up over power...

View Article

RE: How do I re-configure an RIIC pin after TX starts

OK.  I figured out how to write to a register !!!I will demo and example of how to write to the ADST bit of ADCSR register to start an adc conversionAll the definitions are in "R7FS7G2x.h"All groups...

View Article


How do I re-configure an RIIC pin after TX starts

My hardware dictates that I must mix the suffix A and Suffix B pins on my RIIC channel 0.I have set up my touch screen using RIIC channel 0, pins are configured as suffix B.After thread X starts up I...

View Article

RE: Fast adc read and control using Synergy

OK.  I figured out how to write to a register !!!I will demo and example of how to write to the ADST bit of ADCSR register to start an adc conversionAll the definitions are in "R7FS7G2x.h"All groups...

View Article

Fast adc read and control using Synergy

I am using Synergy in an industrial controller.  We picked Synergy because the controller is part of a complex system and must communicate via Ethernet to a master controller.  We also liked the CPU...

View Article


Image may be NSFW.
Clik here to view.

RE: Setting MAC Address

Hello Nate,You can find MAC address settings in the properties for sf_el_gx in the configurator:Regards

View Article


RE: How do I re-configure an RIIC pin after TX starts

Hello Steve,Great stuff! Even though we discourage direct register access, it is still there for everyone to use in cases such as yours. Registers can either be accessed with their name, or as a group...

View Article

Image may be NSFW.
Clik here to view.

RE: nx_packet_release returns 0x7 (NX_PTR_ERROR)

Hello Nandan,According to the NetX documentation, you shouldn't release this packet manually (I'm assuming it's done automatically):You're seeing pointer error because your send_packet_ptr is reset to...

View Article

RE: nx_packet_release returns 0x7 (NX_PTR_ERROR)

Hi karol,But why is my  nx_packet_allocate is returning the value 0x1(NX_NO_PACKET)?I added the nx_packet_release just because the allocate was returning as NX_NO_PACKET.When does nx_packet_allocate...

View Article

RE: nx_packet_release returns 0x7 (NX_PTR_ERROR)

Hello Nandan,At line: nx_packet_allocate(&pool_0, &send_packet_ptr ,NX_TCP_SOCKET, 500), you misspelt third argument as it should say "NX_TCP_PACKET". Also verify that the IP fragmentation is...

View Article


RE: nx_packet_release returns 0x7 (NX_PTR_ERROR)

Hi karol,"NX_TCP_SOCKET" was a typo here.But it is proper in my code.IP fragmentation is enabled while creating the socket.nx_tcp_create_scoket(&ip_0,&my_socket,(CHAR...

View Article

RE: nx_packet_release returns 0x7 (NX_PTR_ERROR)

Hello Nandan,Please follow the example attached to see how my application handles sending TCP packets to the server. I ran this application for the past 5 minutes against an echo server and the...

View Article


nx_packet_release returns 0x7 (NX_PTR_ERROR)

Hi,I am using nx_packet_release API to release the allocated packet pointer.But always its returning the value 0x7( NX_PTR_ERROR).Same pointer which i have used for nx_packet_allocate, i am passing to...

View Article

HELP ADC issue

I have tried many ways to get my ADC unit 0 to work (also tried on two PCB's):I tried the periodic frameworkI tried the HAL driversNow I have removed all adc set up from the configurator and am trying...

View Article


RE: Setting MAC Address

Perfect, thank you Karol

View Article

RE: How do I re-configure an RIIC pin after TX starts

Solved !!!  Figured out how to stand on my left foot, hold my right hand behind my back, then jump three times and it WORKS !!!Final code:void hmi_thread_entry(void){ // configurator is set up for...

View Article

RE: HELP ADC issue

Here is a version of above using HAL.Set up g_adc0 on ADC Diver on r_adc in the configurator:ICU: ADC0_SCAN_END = Priority 4ADC0_SCAN_END_B = Priority 4Module: Name = g_adc0Unit = 0Resolution =...

View Article
Browsing all 5781 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>