Forum Post: RE: S7G2 - Query On USBFS
Hello Ria, Our low-level USBX driver does not implement functionality associated with the over-current pins. In your application, you can connect them to the IRQ pins to be "notified" when the device...
View ArticleForum Post: RE: Changing the edge sensitivity of Input capture driver
A possible solution of your problem might be using two timers. Timer1 with Input Capture Driver set to detect falling edge and Timer2. Timer1 will measure the time period from falling to rising edge....
View ArticleForum Post: RE: DK-S7G2 v 3.0 GUIX Demo for ssp 1.2.0-b1
Hi Karol, Thanks for the link. I downloaded and ran it successfully on the DK. Regards
View ArticleForum Post: RE: CDC USB example
Hi rjl, Sorry, here's correct project: renesasrulz.com/.../0523.S3_5F00_DK_5F00_USB_5F00_CDC_5F00_1_5F00_2_5F00_0.zip It uses USB CDC and prints out "Hello world!" and the counter value incremented...
View ArticleForum Post: RE: Problem getting USBX to start
Hi Alan, You can look at p_instance and p_data as it provides more information about the error. Do you have necessary ADC pins configured properly? Could you share the configuration for ADC? Regards,...
View ArticleForum Post: RE: Problem getting USBX to start
And make sure you have necessary interrupts enabled in lower level drivers (Properties of these blocks): - Scan End Interrupt Priority in ADC Driver on r_adc - Interrupt Priority in Timer Driver on...
View ArticleForum Post: RE: S7G2 - Query On USBFS
Okay. But the USB_OVRCURA,USB_OVRCURB signals were specified under USBFS. May I know the significance of these signals.
View ArticleForum Post: RE: S7G2 - Query On USBFS
Hello Ria, USB_OVRCURA and USB_OVRCURB are both input pins in the Synergy device. They're used for receiving overcurrent detection signals from the VBUS controller. You can see them under USBFS because...
View ArticleForum Post: RE: SPI Byte Wide Transfers
OK, I've got one particular command that *must* be exactly 8 bits. No way around it. Can't do it if it isn't 8 bits. So, I deleted the DTC for the SPI driver and are using SPI_BIT_WIDTH_8_BITS in an...
View ArticleForum Post: RE: Problem getting USBX to start
Hi adboc, Sorry that I took some time to answer back, couldn't get to my pc earlier. I didn't have those interrupts enabled. I enabled them, but it still won't work. It's highly probable that it has to...
View ArticleForum Post: RE: UART Tx and Rx in RTOS project
can anyone help me with the code for reading from uart ..program
View ArticleForum Post: RE: Problem getting USBX to start
Hi Alan, Pins for ADC can be configured by using Pins tabs and selecting Peripherals > Analog:ADC (and > ADC0 for unit 0). For Sk-S7G2, by default Operation Mode is selected to Custom and pins...
View ArticleForum Post: RE: SPI Byte Wide Transfers
Hello rjl, Did you generate the project content after applying these changes? SSP_ERR_UNSUPPORTED is returned in 4 places in this case: in Read, Write and WriteRead as well as when device bitrate is...
View ArticleForum Post: RE: Problem getting USBX to start
Hi adboc, You were right! PINs were configured correctly, and I wasn't missing a start call, but I was missing an open call. This corrected the issue, and ADC is working now. I created two threads, one...
View ArticleForum Post: RE: Problem getting USBX to start
Are you sure the open API isn't called in the generated synergy_gen/adc_thread.c file? I think it should be there, so in adc_thread_entry.c you don't have to call it. Before building the project, click...
View ArticleForum Post: RE: GCC Optimizer not working
Hello Karol, you were right, but it's not because the code style, it's because an error in my program. I had a memory corruption problem that was only manifested when the optimization was turned on and...
View ArticleForum Post: RE: SPI Byte Wide Transfers
is it plugged in? Yah, I generated it twice because I thought it odd. But now that I'm thinking of it, is this configuration change a part of the .c file or is it part of the .h config files? I have to...
View Article